diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-13 02:35:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-13 02:35:36 +0000 |
commit | cc51b28299a0e2e4c79d1c169c3edd0b80282bd8 (patch) | |
tree | 613bed2bd5cda4e0fa5a1f0e2f9912a5964893bf /libavcodec/h264.h | |
parent | 8e71d89a7bec63f26db95aabbe9ca5f8974e2ff1 (diff) | |
download | ffmpeg-cc51b28299a0e2e4c79d1c169c3edd0b80282bd8.tar.gz |
Split cabac decoding code out of h264.c.
not slower according to benchmarks.
Originally committed as revision 21181 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 703cf8f534..68445427ea 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -651,6 +651,14 @@ av_cold void ff_h264_decode_init_vlc(void); */ int ff_h264_decode_mb_cavlc(H264Context *h); +/** + * decodes a CABAC coded macroblock + * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed + */ +int ff_h264_decode_mb_cabac(H264Context *h); + +void ff_h264_init_cabac_states(H264Context *h); + void ff_h264_direct_dist_scale_factor(H264Context * const h); void ff_h264_direct_ref_list_init(H264Context * const h); void ff_h264_pred_direct_motion(H264Context * const h, int *mb_type); |