diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-16 09:12:27 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-16 21:11:34 -0400 |
commit | 77f359670fdbfcd7ac2a464b3bc000b1ceb54763 (patch) | |
tree | e905721e7d759c126a7514f1dd730ce7a3d526fa /libavcodec/x86/vp9dsp_init.h | |
parent | 6354ff03833b5f64d930c195ae3801cc4061505f (diff) | |
download | ffmpeg-streaming-77f359670fdbfcd7ac2a464b3bc000b1ceb54763.zip ffmpeg-streaming-77f359670fdbfcd7ac2a464b3bc000b1ceb54763.tar.gz |
vp9: add fullpel (avg) MC SIMD for 10/12bpp.
Diffstat (limited to 'libavcodec/x86/vp9dsp_init.h')
-rw-r--r-- | libavcodec/x86/vp9dsp_init.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/x86/vp9dsp_init.h b/libavcodec/x86/vp9dsp_init.h index 8c99c0d..792405e 100644 --- a/libavcodec/x86/vp9dsp_init.h +++ b/libavcodec/x86/vp9dsp_init.h @@ -23,16 +23,16 @@ #ifndef AVCODEC_X86_VP9DSP_INIT_H #define AVCODEC_X86_VP9DSP_INIT_H -#define decl_fpel_func(avg, sz, opt) \ -void ff_vp9_##avg##sz##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ - const uint8_t *src, ptrdiff_t src_stride, \ - int h, int mx, int my) +#define decl_fpel_func(avg, sz, bpp, opt) \ +void ff_vp9_##avg##sz##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \ + const uint8_t *src, ptrdiff_t src_stride, \ + int h, int mx, int my) -#define init_fpel_func(idx1, idx2, sz, type, opt) \ +#define init_fpel_func(idx1, idx2, sz, type, bpp, opt) \ dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \ dsp->mc[idx1][FILTER_8TAP_REGULAR][idx2][0][0] = \ dsp->mc[idx1][FILTER_8TAP_SHARP ][idx2][0][0] = \ - dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##_##opt + dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##bpp##_##opt void ff_vp9dsp_init_16bpp_x86(VP9DSPContext *dsp, int bpp); |