comparison 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
comparison
equal deleted inserted replaced
10868:13a84faba50d 10869:7101061bfa0f
649 * decodes a macroblock 649 * decodes a macroblock
650 * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed 650 * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed
651 */ 651 */
652 int ff_h264_decode_mb_cavlc(H264Context *h); 652 int ff_h264_decode_mb_cavlc(H264Context *h);
653 653
654 /**
655 * decodes a CABAC coded macroblock
656 * @returns 0 if OK, AC_ERROR / DC_ERROR / MV_ERROR if an error is noticed
657 */
658 int ff_h264_decode_mb_cabac(H264Context *h);
659
660 void ff_h264_init_cabac_states(H264Context *h);
661
654 void ff_h264_direct_dist_scale_factor(H264Context * const h); 662 void ff_h264_direct_dist_scale_factor(H264Context * const h);
655 void ff_h264_direct_ref_list_init(H264Context * const h); 663 void ff_h264_direct_ref_list_init(H264Context * const h);
656 void ff_h264_pred_direct_motion(H264Context * const h, int *mb_type); 664 void ff_h264_pred_direct_motion(H264Context * const h, int *mb_type);
657 665
658 void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize); 666 void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize);