From def4f63b85ff2a56d11f373e802db52e8de12c0b Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 20 Oct 2008 05:58:05 +0000 Subject: 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 --- libavcodec/rv34.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/rv34.h') 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; -- cgit v1.2.3