]> git.sesse.net Git - ffmpeg/commit
lavc/hevc_cabac: fix cbf_cb and cbf_cr for transform depth 4
authorLinjie Fu <linjie.fu@intel.com>
Wed, 11 Dec 2019 08:47:38 +0000 (16:47 +0800)
committerJames Almer <jamrial@gmail.com>
Tue, 17 Dec 2019 17:12:16 +0000 (14:12 -0300)
commitd31a2902261072f8195a005b78b4e0c4a973bf80
tree042446b4ff30d190c97bc680b946a1cfa843fde3
parent377a095dc37222a373fba00579145e77629a5e81
lavc/hevc_cabac: fix cbf_cb and cbf_cr for transform depth 4

The max transform depth is 5(from 0 to 4), so we need 5 cabac states for
cbf_cb and cbf_cr.

See Table 9-4 for details.

Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/hevc_cabac.c