use 32bit for storing dequant coeffs, instead of 16b.

is a tad faster

Change-Id: Ibef8f3b4f3f04a9a647098e5946f616e211a61cd
This commit is contained in:
Pascal Massimino
2012-01-29 17:38:37 -08:00
parent b9600308e8
commit f73947f41d
2 changed files with 3 additions and 2 deletions

View File

@ -460,7 +460,7 @@ typedef const uint8_t (*ProbaArray)[NUM_CTX][NUM_PROBAS]; // for const-casting
// Returns the position of the last non-zero coeff plus one
// (and 0 if there's no coeff at all)
static int GetCoeffs(VP8BitReader* const br, ProbaArray prob,
int ctx, const uint16_t dq[2], int n, int16_t* out) {
int ctx, const quant_t dq, int n, int16_t* out) {
const uint8_t* p = prob[kBands[n]][ctx];
if (!VP8GetBit(br, p[0])) { // first EOB is more a 'CBP' bit.
return 0;