From 822c1743773372b17a0be40779737ceb0d8981b9 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Wed, 26 Aug 2015 10:45:36 +0300 Subject: [PATCH] Set cabac to only count bits --- src/rdo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rdo.c b/src/rdo.c index 452da753..89add59d 100644 --- a/src/rdo.c +++ b/src/rdo.c @@ -947,6 +947,7 @@ uint32_t kvz_get_mvd_coding_cost_cabac(vector2d_t *mvd, cabac_data_t* cabac) { cabac_data_t cabac_copy; memcpy(&cabac_copy, cabac, sizeof(cabac_data_t)); + cabac->only_count = 1; cabac->cur_ctx = &(cabac->ctx.cu_mvd_model[0]); CABAC_BIN(cabac, (mvd_hor != 0), "abs_mvd_greater0_flag_hor");