summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-10-20 05:58:05 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-10-20 05:58:05 +0000
commitdef4f63b85ff2a56d11f373e802db52e8de12c0b (patch)
tree864a9a070a920b3982ad017a102b5536238e7cbb /libavcodec/rv34.h
parentc0b821befb4a956eb71b67f56e5992a77cca7bd2 (diff)
RV3 and RV4 decoders set some deblocking coefs for each macroblock,
so store them in the context and register a function to calculate them. Originally committed as revision 15651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h
index b6e576ccb0..e521dbbbf9 100644
--- a/libavcodec/rv34.h
+++ b/libavcodec/rv34.h
@@ -107,6 +107,7 @@ typedef struct RV34DecContext{
uint16_t *cbp_luma; ///< CBP values for luma subblocks
uint8_t *cbp_chroma; ///< CBP values for chroma subblocks
+ int *deblock_coefs; ///< deblock coefficients for each macroblock
/** 8x8 block available flags (for MV prediction) */
DECLARE_ALIGNED_8(uint32_t, avail_cache[3*4]);
@@ -114,6 +115,7 @@ typedef struct RV34DecContext{
int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si);
int (*decode_mb_info)(struct RV34DecContext *r);
int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst);
+ int (*set_deblock_coef)(struct RV34DecContext *r);
void (*loop_filter)(struct RV34DecContext *r);
}RV34DecContext;