Mercurial > libavcodec.hg
comparison mpegvideo.c @ 8855:6ce8ebfc9d86 libavcodec
use ff_xvmc for function names instead of XVMC_
author | iive |
---|---|
date | Sat, 14 Feb 2009 18:25:41 +0000 |
parents | 3eaabd9c4371 |
children | 9cd28fb52745 |
comparison
equal
deleted
inserted
replaced
8854:897a2b1f883e | 8855:6ce8ebfc9d86 |
---|---|
54 static void dct_unquantize_h263_inter_c(MpegEncContext *s, | 54 static void dct_unquantize_h263_inter_c(MpegEncContext *s, |
55 DCTELEM *block, int n, int qscale); | 55 DCTELEM *block, int n, int qscale); |
56 | 56 |
57 int XVMC_field_start(MpegEncContext*s, AVCodecContext *avctx); | 57 int XVMC_field_start(MpegEncContext*s, AVCodecContext *avctx); |
58 void XVMC_field_end(MpegEncContext *s); | 58 void XVMC_field_end(MpegEncContext *s); |
59 void XVMC_decode_mb(MpegEncContext *s); | 59 void ff_xvmc_decode_mb(MpegEncContext *s); |
60 | 60 |
61 | 61 |
62 /* enable all paranoid tests for rounding, overflows, etc... */ | 62 /* enable all paranoid tests for rounding, overflows, etc... */ |
63 //#define PARANOID | 63 //#define PARANOID |
64 | 64 |
1736 { | 1736 { |
1737 int mb_x, mb_y; | 1737 int mb_x, mb_y; |
1738 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; | 1738 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; |
1739 #if CONFIG_MPEG_XVMC_DECODER | 1739 #if CONFIG_MPEG_XVMC_DECODER |
1740 if(s->avctx->xvmc_acceleration){ | 1740 if(s->avctx->xvmc_acceleration){ |
1741 XVMC_decode_mb(s);//xvmc uses pblocks | 1741 ff_xvmc_decode_mb(s);//xvmc uses pblocks |
1742 return; | 1742 return; |
1743 } | 1743 } |
1744 #endif | 1744 #endif |
1745 | 1745 |
1746 mb_x = s->mb_x; | 1746 mb_x = s->mb_x; |