diff options
author | David Conrad <lessen42@gmail.com> | 2010-06-22 19:24:09 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-06-22 19:24:09 +0000 |
commit | 3b636f21daa6996e20ef97131a1c3649c3043304 (patch) | |
tree | 8321dd9f0db957b5b61a6cb397693d3102108146 /libavcodec/dsputil.c | |
parent | c6ef6e14cfc472b8077f2d0805c092aeebc1c0f2 (diff) | |
download | ffmpeg-3b636f21daa6996e20ef97131a1c3649c3043304.tar.gz |
Native VP8 decoder.
Patch by David Conrad <lessen42 gmail com> and myself.
Originally committed as revision 23719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index a09d19d750..fdf23f0a50 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -39,6 +39,7 @@ #include "ac3dec.h" #include "vorbis.h" #include "png.h" +#include "vp8dsp.h" uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; uint32_t ff_squareTbl[512] = {0, }; @@ -2656,6 +2657,18 @@ static void avg_rv40_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride){ } #endif /* CONFIG_RV40_DECODER */ +#if CONFIG_VP8_DECODER +void ff_put_vp8_pixels16_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { + put_pixels16_c(dst, src, stride, h); +} +void ff_put_vp8_pixels8_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { + put_pixels8_c(dst, src, stride, h); +} +void ff_put_vp8_pixels4_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { + put_pixels4_c(dst, src, stride, h); +} +#endif + static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; int i; |