H.264: Partially inline CABAC residual decoding
authordarkshikari <darkshikari@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 15 Jan 2011 17:52:48 +0000 (17:52 +0000)
committerdarkshikari <darkshikari@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 15 Jan 2011 17:52:48 +0000 (17:52 +0000)
commit41449380e0c8b85f6c587f371efc4344e00edaf7
tree7838ce24203d7339f4238adb8677c0638baaa2f3
parent5180b89dc5ede9846694673e00cb60367dd1accf
H.264: Partially inline CABAC residual decoding
Improves CABAC performance about ~1.2%.

Trick originates from x264 and has also been used in ffvp8.  It's useful because
coded block flags are usually zero, so it helps to have the early termination
inlined into the main function.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@26375 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/h264_cabac.c