Mercurial > libavcodec.hg
diff i386/vc1dsp_mmx.c @ 5948:db875a610973 libavcodec
build vc1dsp_mmx.c in its own compilation unit
author | aurel |
---|---|
date | Tue, 27 Nov 2007 22:42:55 +0000 |
parents | 55251379b5b1 |
children | 151508a72dd7 |
line wrap: on
line diff
--- a/i386/vc1dsp_mmx.c Tue Nov 27 22:36:15 2007 +0000 +++ b/i386/vc1dsp_mmx.c Tue Nov 27 22:42:55 2007 +0000 @@ -444,9 +444,7 @@ vc1_put_shift_8bits[hmode](dst, src, stride, rnd, 1); } -static void put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd) { - put_pixels8_mmx(dst, src, stride, 8); -} +void ff_put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd); /** Macro to ease bicubic filter interpolation functions declarations */ #define DECLARE_FUNCTION(a, b) \ @@ -474,7 +472,7 @@ DECLARE_FUNCTION(3, 3) void ff_vc1dsp_init_mmx(DSPContext* dsp, AVCodecContext *avctx) { - dsp->put_vc1_mspel_pixels_tab[ 0] = put_vc1_mspel_mc00_mmx; + dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_vc1_mspel_mc00_mmx; dsp->put_vc1_mspel_pixels_tab[ 4] = put_vc1_mspel_mc01_mmx; dsp->put_vc1_mspel_pixels_tab[ 8] = put_vc1_mspel_mc02_mmx; dsp->put_vc1_mspel_pixels_tab[12] = put_vc1_mspel_mc03_mmx;