diff options
author | Martin Storsjö <martin@martin.st> | 2016-11-14 13:32:19 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2016-11-15 23:10:03 +0300 |
commit | 6409e9b6ccde39895a93f48212078e6c0872f8e7 (patch) | |
tree | f29f64d67dba14ca745eb1ac46b289aff5cb7852 /libavcodec/vp9dsp.h | |
parent | 2baf36caed98cfdc7f6a2086fbf26f1a172f16cf (diff) |
vp9dsp: Deduplicate the subpel filters
Make them aligned, to allow efficient access to them from simd.
This is an adapted cherry-pick from libav commit
a4cfcddcb0f76e837d5abc06840c2b26c0e8aefc.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/vp9dsp.h')
-rw-r--r-- | libavcodec/vp9dsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vp9dsp.h b/libavcodec/vp9dsp.h index 733f5bfc4d..cb43f5e98f 100644 --- a/libavcodec/vp9dsp.h +++ b/libavcodec/vp9dsp.h @@ -120,6 +120,9 @@ typedef struct VP9DSPContext { vp9_scaled_mc_func smc[5][4][2]; } VP9DSPContext; + +extern const int16_t ff_vp9_subpel_filters[3][16][8]; + void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp, int bitexact); void ff_vp9dsp_init_8(VP9DSPContext *dsp); |