diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-08-24 12:30:15 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-08-26 11:50:22 +0200 |
commit | 721d57e608dc4fd6c86f27c5ae76ef559d646220 (patch) | |
tree | c1b7f4ac6bf50265acdd652499489f148a612b88 /libavcodec/vp56dsp.h | |
parent | 3fd22538bc0e0de84b31335266b4b1577d3d609e (diff) |
vp56: Separate VP5 and VP6 dsp initialization
VP5 has no arch-specific optimizations (nor will it get some in the
future), so it makes no sense to try to share dsp init code with VP6.
Diffstat (limited to 'libavcodec/vp56dsp.h')
-rw-r--r-- | libavcodec/vp56dsp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vp56dsp.h b/libavcodec/vp56dsp.h index d52ee660db..8bf7a46556 100644 --- a/libavcodec/vp56dsp.h +++ b/libavcodec/vp56dsp.h @@ -24,8 +24,6 @@ #include <stddef.h> #include <stdint.h> -#include "avcodec.h" - typedef struct VP56DSPContext { void (*edge_filter_hor)(uint8_t *yuv, ptrdiff_t stride, int t); void (*edge_filter_ver)(uint8_t *yuv, ptrdiff_t stride, int t); @@ -37,8 +35,10 @@ typedef struct VP56DSPContext { void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride, const int16_t *h_weights, const int16_t *v_weights); -void ff_vp56dsp_init(VP56DSPContext *s, enum AVCodecID codec); -void ff_vp6dsp_init_arm(VP56DSPContext *s, enum AVCodecID codec); -void ff_vp6dsp_init_x86(VP56DSPContext* c, enum AVCodecID codec); +void ff_vp5dsp_init(VP56DSPContext *s); +void ff_vp6dsp_init(VP56DSPContext *s); + +void ff_vp6dsp_init_arm(VP56DSPContext *s); +void ff_vp6dsp_init_x86(VP56DSPContext *s); #endif /* AVCODEC_VP56DSP_H */ |