comparison 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
comparison
equal deleted inserted replaced
8036:9b98b2261938 8037:b6d93bef844a
105 105
106 int cur_pts, last_pts, next_pts; 106 int cur_pts, last_pts, next_pts;
107 107
108 uint16_t *cbp_luma; ///< CBP values for luma subblocks 108 uint16_t *cbp_luma; ///< CBP values for luma subblocks
109 uint8_t *cbp_chroma; ///< CBP values for chroma subblocks 109 uint8_t *cbp_chroma; ///< CBP values for chroma subblocks
110 int *deblock_coefs; ///< deblock coefficients for each macroblock
110 111
111 /** 8x8 block available flags (for MV prediction) */ 112 /** 8x8 block available flags (for MV prediction) */
112 DECLARE_ALIGNED_8(uint32_t, avail_cache[3*4]); 113 DECLARE_ALIGNED_8(uint32_t, avail_cache[3*4]);
113 114
114 int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si); 115 int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si);
115 int (*decode_mb_info)(struct RV34DecContext *r); 116 int (*decode_mb_info)(struct RV34DecContext *r);
116 int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst); 117 int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst);
118 int (*set_deblock_coef)(struct RV34DecContext *r);
117 void (*loop_filter)(struct RV34DecContext *r); 119 void (*loop_filter)(struct RV34DecContext *r);
118 }RV34DecContext; 120 }RV34DecContext;
119 121
120 /** 122 /**
121 * common decoding functions 123 * common decoding functions