00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 #ifndef AVCODEC_VP56DSP_H
00022 #define AVCODEC_VP56DSP_H
00023 
00024 #include <stdint.h>
00025 #include "avcodec.h"
00026 
00027 typedef struct VP56DSPContext {
00028     void (*edge_filter_hor)(uint8_t *yuv, int stride, int t);
00029     void (*edge_filter_ver)(uint8_t *yuv, int stride, int t);
00030 
00031     void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, int stride,
00032                              const int16_t *h_weights,const int16_t *v_weights);
00033 } VP56DSPContext;
00034 
00035 void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, int stride,
00036                            const int16_t *h_weights, const int16_t *v_weights);
00037 
00038 void ff_vp56dsp_init(VP56DSPContext *s, enum AVCodecID codec);
00039 void ff_vp56dsp_init_arm(VP56DSPContext *s, enum AVCodecID codec);
00040 void ff_vp56dsp_init_x86(VP56DSPContext* c, enum AVCodecID codec);
00041 
00042 #endif