aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34dsp.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-10-05 09:29:38 +0200
committerMans Rullgard <mans@mansr.com>2011-11-30 20:54:59 +0000
commitbb8a6e03cc641035b3fd4dc7c8c77f2dc92b41d5 (patch)
tree5d8346a0fc81094148d85efeba351daf3662fb5c /libavcodec/rv34dsp.h
parentc3f9ebf74371b63fba0e7491e61904bbd165cd0f (diff)
downloadffmpeg-bb8a6e03cc641035b3fd4dc7c8c77f2dc92b41d5.tar.gz
rv40: move loop filter to rv34dsp context
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/rv34dsp.h')
-rw-r--r--libavcodec/rv34dsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/rv34dsp.h b/libavcodec/rv34dsp.h
index a2ab5f232b..4ade05060f 100644
--- a/libavcodec/rv34dsp.h
+++ b/libavcodec/rv34dsp.h
@@ -36,6 +36,11 @@ typedef void (*rv40_weight_func)(uint8_t *dst/*align width (8 or 16)*/,
typedef void (*rv34_inv_transform_func)(DCTELEM *block);
+typedef void (*rv40_loop_filter_func)(uint8_t *src, int stride, int dmode,
+ int lim_q1, int lim_p1, int alpha,
+ int beta, int beta2, int chroma,
+ int edge);
+
typedef struct RV34DSPContext {
qpel_mc_func put_pixels_tab[4][16];
qpel_mc_func avg_pixels_tab[4][16];
@@ -43,6 +48,8 @@ typedef struct RV34DSPContext {
h264_chroma_mc_func avg_chroma_pixels_tab[3];
rv40_weight_func rv40_weight_pixels_tab[2];
rv34_inv_transform_func rv34_inv_transform_tab[2];
+ rv40_loop_filter_func rv40_h_loop_filter;
+ rv40_loop_filter_func rv40_v_loop_filter;
} RV34DSPContext;
void ff_rv30dsp_init(RV34DSPContext *c, DSPContext* dsp);