Add buffers to context necessary for reverting cdmls and mclms filter

This commit is contained in:
Mashiat Sarker Shakkhar
2011-11-05 02:22:21 +06:00
committed by Michael Niedermayer
parent 1f273373ec
commit fd9ea0402c

View File

@@ -239,6 +239,8 @@ typedef struct WmallDecodeCtx {
int8_t mclms_scaling; int8_t mclms_scaling;
int16_t mclms_coeffs[128]; int16_t mclms_coeffs[128];
int16_t mclms_coeffs_cur[4]; int16_t mclms_coeffs_cur[4];
int mclms_prevvalues[64]; // FIXME: should be 32-bit / 16-bit depending on bit-depth
int16_t mclms_updates[64];
int movave_scaling; int movave_scaling;
int quant_stepsize; int quant_stepsize;
@@ -249,6 +251,8 @@ typedef struct WmallDecodeCtx {
int coefsend; int coefsend;
int bitsend; int bitsend;
int16_t coefs[256]; int16_t coefs[256];
int lms_prevvalues[512]; // FIXME: see above
int16_t lms_updates[512]; // and here too
} cdlms[2][9]; } cdlms[2][9];