ref: d928b34efec30d216515ed5e300023efd3900ff3
parent: a7ecad59b6fa5c68b354322a755397077e4b81ac
author: Yaowu Xu <[email protected]>
date: Mon Apr 21 08:04:59 EDT 2014
Allow full RD TX size search for GF/ALT at speed 2 For speed 3 and above, such search is only allowed at speed 3. The change helped cif and stdhd set by 1.2% and .7% in compression, but increased the encoding time by around 5%. Change-Id: Ifa4832327f1c1bef3decb032ceb769cbf50e059f
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -80,9 +80,6 @@
}
if (speed >= 2) {
- sf->tx_size_search_method = frame_is_intra_only(cm) ? USE_FULL_RD
- : USE_LARGESTALL;
-
if (MIN(cm->width, cm->height) >= 720)
sf->disable_split_mask = cm->show_frame ? DISABLE_ALL_SPLIT
: DISABLE_ALL_INTER_SPLIT;
@@ -104,6 +101,8 @@
}
if (speed >= 3) {
+ sf->tx_size_search_method = frame_is_intra_only(cm) ? USE_FULL_RD
+ : USE_LARGESTALL;
if (MIN(cm->width, cm->height) >= 720)
sf->disable_split_mask = DISABLE_ALL_SPLIT;
else