From 6409e9b6ccde39895a93f48212078e6c0872f8e7 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 14 Nov 2016 12:32:19 +0200 Subject: 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 --- libavcodec/vp9dsp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/vp9dsp.h') 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); -- cgit v1.2.3