Skip to content

Fix for remining bins and rice parameter handling at EOS in DQ

Based on findings from VVenC development and a recent paper I wrote.

At the end of sub-block, the remaining regular bins are just copied, without accounting for the current coefficient. Also, the contexts for the next subblock are derived assuming there are still remaining regular bins left.

Also, the extended rice flag is not used EOS for context derivation.

The issues are fixed with this MR.

For the record, the corrected context derivation will change the context for the first coefficient in the next subblock.

Provided results for the CTC and low-QP. For CTC, there is barely any difference, but for low-QP small gains can be observed. Probably because in normal CTC the remaining regular bins are almost never spent.

CTC (QP 22-37): PSNR____vtm_ecm_master_c4d8ef48_ip1s_t0_vs_vtm_ecm_master_fix_dq_eos_e70e0e71_ip1s_t0.xlsm

low-QP (12-27): PSNR____vtm_ecm_master_c4d8ef48_ip1s_t0_lqp_vs_vtm_ecm_master_fix_dq_eos_e70e0e71_ip1s_t0_lqp.xlsm

Edited by Adam Wieckowski

Merge request reports

Loading