summaryrefslogtreecommitdiff
path: root/libavcodec/rv34dsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv34dsp.h')
-rw-r--r--libavcodec/rv34dsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/rv34dsp.h b/libavcodec/rv34dsp.h
index 771a6c0f08..e1def7dc26 100644
--- a/libavcodec/rv34dsp.h
+++ b/libavcodec/rv34dsp.h
@@ -29,11 +29,17 @@
#include "dsputil.h"
+typedef void (*rv40_weight_func)(uint8_t *dst/*align width (8 or 16)*/,
+ uint8_t *src1/*align width (8 or 16)*/,
+ uint8_t *src2/*align width (8 or 16)*/,
+ int w1, int w2, int stride);
+
typedef struct RV34DSPContext {
qpel_mc_func put_pixels_tab[4][16];
qpel_mc_func avg_pixels_tab[4][16];
h264_chroma_mc_func put_chroma_pixels_tab[3];
h264_chroma_mc_func avg_chroma_pixels_tab[3];
+ rv40_weight_func rv40_weight_pixels_tab[2];
} RV34DSPContext;
void ff_rv30dsp_init(RV34DSPContext *c, DSPContext* dsp);