diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-15 15:34:22 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-15 15:34:22 +0000 |
commit | 13bd2044d3887b7f0008168c5173a274b5247488 (patch) | |
tree | 28efb00200745da115d578ef8d9743eb32872cfd /libavcodec/mlp.h | |
parent | 42e64bf874ee7dae7cf78773e12fbb35571948e3 (diff) | |
download | ffmpeg-13bd2044d3887b7f0008168c5173a274b5247488.tar.gz |
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
Diffstat (limited to 'libavcodec/mlp.h')
-rw-r--r-- | libavcodec/mlp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |