summaryrefslogtreecommitdiff
path: root/libavcodec/rv34dsp.h
diff options
context:
space:
mode:
authorChristophe GISQUET <christophe.gisquet@gmail.com>2012-01-03 00:22:11 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-01-16 00:41:51 +0100
commitd78062386e425deafe9a08d109cff70b7a2de22c (patch)
tree273cea0c591a61c47f60e455d4be02da5135f67d /libavcodec/rv34dsp.h
parent3eeb7557637e8e48fbc64e844a94775edb496906 (diff)
downloadffmpeg-d78062386e425deafe9a08d109cff70b7a2de22c.tar.gz
rv34: Intra 16x16 handling
Extract processing of intra 16x16 blocks from intra macroblock processing. Also implement a function performing inverse transform and block reconstruction for DC-only blocks in 1 pass instead of 2.
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 6f53a09928..2e9e58e64a 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 (*rv34_idct_add_func)(uint8_t *dst, int stride,
+ const DCTELEM *block);
+typedef void (*rv34_idct_dc_add_func)(uint8_t *dst, int stride,
+ int dc);
+
typedef void (*rv40_weak_loop_filter_func)(uint8_t *src, int stride,
int filter_p1, int filter_q1,
int alpha, int beta,
@@ -57,6 +62,8 @@ typedef struct RV34DSPContext {
rv40_weight_func rv40_weight_pixels_tab[2];
rv34_inv_transform_func rv34_inv_transform_tab[2];
void (*rv34_inv_transform_dc_tab[2])(DCTELEM *block);
+ rv34_idct_add_func rv34_idct_add;
+ rv34_idct_dc_add_func rv34_idct_dc_add;
rv40_weak_loop_filter_func rv40_weak_loop_filter[2];
rv40_strong_loop_filter_func rv40_strong_loop_filter[2];
rv40_loop_filter_strength_func rv40_loop_filter_strength[2];