diff h264.h @ 10869:7101061bfa0f libavcodec

Split cabac decoding code out of h264.c. not slower according to benchmarks.
author michael
date Wed, 13 Jan 2010 02:35:36 +0000
parents d26e9b4d2ca1
children 4701b9355d93
line wrap: on
line diff
--- a/h264.h	Wed Jan 13 02:17:16 2010 +0000
+++ b/h264.h	Wed Jan 13 02:35:36 2010 +0000
@@ -651,6 +651,14 @@
  */
 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);