From 13bd2044d3887b7f0008168c5173a274b5247488 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Fri, 15 May 2009 15:34:22 +0000 Subject: mlp: Simplify adressing of state and coeffs arrays for both filters by making the arrays sequential. Originally committed as revision 18841 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mlp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mlp.h') diff --git a/libavcodec/mlp.h b/libavcodec/mlp.h index c1c0abd7c2..b83881653c 100644 --- a/libavcodec/mlp.h +++ b/libavcodec/mlp.h @@ -73,13 +73,13 @@ typedef struct { uint8_t order; ///< number of taps in filter uint8_t shift; ///< Right shift to apply to output of filter. - int32_t coeff[MAX_FIR_ORDER]; int32_t state[MAX_FIR_ORDER]; } FilterParams; /** sample data coding information */ typedef struct { FilterParams filter_params[NUM_FILTERS]; + int32_t coeff[NUM_FILTERS][MAX_FIR_ORDER]; int16_t huff_offset; ///< Offset to apply to residual values. int32_t sign_huff_offset; ///< sign/rounding-corrected version of huff_offset -- cgit v1.2.3