Add entropy bits back to intra luma mode cost

* Makes things better after the entropies were fixed
This commit is contained in:
Marko Viitanen 2021-08-15 07:52:26 +03:00
parent 1e925ec980
commit b5bc981d2a

View file

@ -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;