Merge "Use small transform size in non-rd real-time mode"
This commit is contained in:
commit
70eb862fd3
@ -2402,6 +2402,8 @@ static TX_MODE select_tx_mode(const VP9_COMP *cpi) {
|
|||||||
return rd_opt->tx_select_threshes[frame_type][ALLOW_32X32] >
|
return rd_opt->tx_select_threshes[frame_type][ALLOW_32X32] >
|
||||||
rd_opt->tx_select_threshes[frame_type][TX_MODE_SELECT] ?
|
rd_opt->tx_select_threshes[frame_type][TX_MODE_SELECT] ?
|
||||||
ALLOW_32X32 : TX_MODE_SELECT;
|
ALLOW_32X32 : TX_MODE_SELECT;
|
||||||
|
} else if (cpi->sf.tx_size_search_method == USE_TX_8X8) {
|
||||||
|
return ALLOW_8X8;
|
||||||
} else {
|
} else {
|
||||||
unsigned int total = 0;
|
unsigned int total = 0;
|
||||||
int i;
|
int i;
|
||||||
|
@ -269,6 +269,8 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf,
|
|||||||
sf->partition_search_type = SOURCE_VAR_BASED_PARTITION;
|
sf->partition_search_type = SOURCE_VAR_BASED_PARTITION;
|
||||||
sf->search_type_check_frequency = 50;
|
sf->search_type_check_frequency = 50;
|
||||||
sf->source_var_thresh = 360;
|
sf->source_var_thresh = 360;
|
||||||
|
|
||||||
|
sf->tx_size_search_method = USE_TX_8X8;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (speed >= 7) {
|
if (speed >= 7) {
|
||||||
|
@ -58,7 +58,8 @@ typedef enum {
|
|||||||
USE_FULL_RD = 0,
|
USE_FULL_RD = 0,
|
||||||
USE_LARGESTINTRA,
|
USE_LARGESTINTRA,
|
||||||
USE_LARGESTINTRA_MODELINTER,
|
USE_LARGESTINTRA_MODELINTER,
|
||||||
USE_LARGESTALL
|
USE_LARGESTALL,
|
||||||
|
USE_TX_8X8
|
||||||
} TX_SIZE_SEARCH_METHOD;
|
} TX_SIZE_SEARCH_METHOD;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user