diff rv34.h @ 8037:b6d93bef844a libavcodec

RV3 and RV4 decoders set some deblocking coefs for each macroblock, so store them in the context and register a function to calculate them.
author kostya
date Mon, 20 Oct 2008 05:58:05 +0000
parents 582e4aae5d16
children 2d01559f824c
line wrap: on
line diff
--- a/rv34.h	Mon Oct 20 05:54:31 2008 +0000
+++ b/rv34.h	Mon Oct 20 05:58:05 2008 +0000
@@ -107,6 +107,7 @@
 
     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 @@
     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;