mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Only count smp extra cbf bits when rd < 2
This commit is contained in:
parent
3ac17ffd95
commit
8cd81e3dcf
|
@ -2351,7 +2351,9 @@ void kvz_search_cu_smp(encoder_state_t * const state,
|
||||||
|
|
||||||
// The transform is split for SMP and AMP blocks so we need more bits for
|
// The transform is split for SMP and AMP blocks so we need more bits for
|
||||||
// coding the CBF.
|
// coding the CBF.
|
||||||
smp_extra_bits += 6;
|
if(state->encoder_control->cfg.rdo < 2) {
|
||||||
|
smp_extra_bits += 6;
|
||||||
|
}
|
||||||
|
|
||||||
*inter_bitcost += smp_extra_bits;
|
*inter_bitcost += smp_extra_bits;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue