Reduce rate-distortion optimizations complexity
Skip the transform type search in the dynamic motion vector referencing mode. Always fall back to 2D-DCT setting. Change-Id: Ia483172e13ce0da313855106a194fee48fcc0514
This commit is contained in:
Родитель
06795c59c4
Коммит
d2bfbb6f28
|
@ -674,6 +674,11 @@ static void choose_tx_size_from_rd(AV1_COMP *cpi, MACROBLOCK *x, int *rate,
|
||||||
*psse = INT64_MAX;
|
*psse = INT64_MAX;
|
||||||
|
|
||||||
for (tx_type = DCT_DCT; tx_type < TX_TYPES; ++tx_type) {
|
for (tx_type = DCT_DCT; tx_type < TX_TYPES; ++tx_type) {
|
||||||
|
#if CONFIG_REF_MV
|
||||||
|
if (mbmi->ref_mv_idx > 0 && tx_type != DCT_DCT)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
|
|
||||||
last_rd = INT64_MAX;
|
last_rd = INT64_MAX;
|
||||||
for (n = start_tx; n >= end_tx; --n) {
|
for (n = start_tx; n >= end_tx; --n) {
|
||||||
int r_tx_size = 0;
|
int r_tx_size = 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче