mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 20:54:07 +00:00
Set cabac to only count bits
This commit is contained in:
parent
1ed0d85020
commit
822c174377
|
@ -947,6 +947,7 @@ uint32_t kvz_get_mvd_coding_cost_cabac(vector2d_t *mvd, cabac_data_t* cabac) {
|
||||||
|
|
||||||
cabac_data_t cabac_copy;
|
cabac_data_t cabac_copy;
|
||||||
memcpy(&cabac_copy, cabac, sizeof(cabac_data_t));
|
memcpy(&cabac_copy, cabac, sizeof(cabac_data_t));
|
||||||
|
cabac->only_count = 1;
|
||||||
|
|
||||||
cabac->cur_ctx = &(cabac->ctx.cu_mvd_model[0]);
|
cabac->cur_ctx = &(cabac->ctx.cu_mvd_model[0]);
|
||||||
CABAC_BIN(cabac, (mvd_hor != 0), "abs_mvd_greater0_flag_hor");
|
CABAC_BIN(cabac, (mvd_hor != 0), "abs_mvd_greater0_flag_hor");
|
||||||
|
|
Loading…
Reference in a new issue