Mercurial > libavcodec.hg
diff h264.h @ 10857:b20434143fd5 libavcodec
Split direct mode (macro)block decoding off h264.c.
No speedloss meassured (its slightly faster here but that may be random fluctuations)
author | michael |
---|---|
date | Tue, 12 Jan 2010 14:32:58 +0000 |
parents | f6fc6ace95e3 |
children | 31645cf81fcb |
line wrap: on
line diff
--- a/h264.h Tue Jan 12 13:54:35 2010 +0000 +++ b/h264.h Tue Jan 12 14:32:58 2010 +0000 @@ -610,6 +610,10 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx); av_cold int ff_h264_decode_end(AVCodecContext *avctx); +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); + 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); void ff_h264_filter_mb( 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);