mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Added rdoq-skip to quant-generic.c
This commit is contained in:
parent
d20ac03ca2
commit
1fb4755f31
|
@ -213,7 +213,7 @@ int kvz_quantize_residual_generic(encoder_state_t *const state,
|
|||
}
|
||||
|
||||
// Quantize coeffs. (coeff -> quant_coeff)
|
||||
if (state->encoder_control->rdoq_enable) {
|
||||
if (state->encoder_control->rdoq_enable && !skip_rdoq(state, coeff, quant_coeff, width, width, (color == COLOR_Y ? 0 : 2), scan_order, cur_cu->type)) {
|
||||
int8_t tr_depth = cur_cu->tr_depth - cur_cu->depth;
|
||||
tr_depth += (cur_cu->part_size == SIZE_NxN ? 1 : 0);
|
||||
kvz_rdoq(state, coeff, quant_coeff, width, width, (color == COLOR_Y ? 0 : 2),
|
||||
|
|
Loading…
Reference in a new issue