mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Add entropy bits back to intra luma mode cost
* Makes things better after the entropies were fixed
This commit is contained in:
parent
1e925ec980
commit
b5bc981d2a
|
@ -784,7 +784,7 @@ double kvz_luma_mode_bits(const encoder_state_t *state, int8_t luma_mode, const
|
|||
|
||||
if (mode_in_preds != -1) {
|
||||
ctx = &(state->cabac.ctx.luma_planar_model[0]);
|
||||
//mode_bits += CTX_ENTROPY_FBITS(ctx, mode_in_preds>0);
|
||||
mode_bits += CTX_ENTROPY_FBITS(ctx, mode_in_preds>0);
|
||||
mode_bits += MIN(4.0,mode_in_preds);
|
||||
} else {
|
||||
mode_bits += 6.0;
|
||||
|
|
Loading…
Reference in a new issue