Lines Matching refs:levlCoeffBuf
71 int levlCoeffBuf[BANDS]; member
375 static void imc_decode_level_coefficients(IMCContext *q, int *levlCoeffBuf, in imc_decode_level_coefficients() argument
382 flcoeffs1[0] = 20000.0 / exp2 (levlCoeffBuf[0] * 0.18945); // 0.18945 = log2(10) * 0.05703125 in imc_decode_level_coefficients()
388 level = levlCoeffBuf[i]; in imc_decode_level_coefficients()
409 static void imc_decode_level_coefficients2(IMCContext *q, int *levlCoeffBuf, in imc_decode_level_coefficients2() argument
420 if (levlCoeffBuf[i] < 16) { in imc_decode_level_coefficients2()
421 flcoeffs1[i] = imc_exp_tab2[levlCoeffBuf[i]] * old_floor[i]; in imc_decode_level_coefficients2()
422 … flcoeffs2[i] = (levlCoeffBuf[i] - 7) * 0.83048 + flcoeffs2[i]; // 0.83048 = log2(10) * 0.25 in imc_decode_level_coefficients2()
429 static void imc_decode_level_coefficients_raw(IMCContext *q, int *levlCoeffBuf, in imc_decode_level_coefficients_raw() argument
436 … flcoeffs1[pos] = 20000.0 / pow (2, levlCoeffBuf[0] * 0.18945); // 0.18945 = log2(10) * 0.05703125 in imc_decode_level_coefficients_raw()
441 levlCoeffBuf++; in imc_decode_level_coefficients_raw()
445 level = *levlCoeffBuf++; in imc_decode_level_coefficients_raw()
905 imc_read_level_coeffs_raw(q, stream_format_code, chctx->levlCoeffBuf); in imc_decode_block()
907 imc_read_level_coeffs(q, stream_format_code, chctx->levlCoeffBuf); in imc_decode_block()
910 imc_decode_level_coefficients_raw(q, chctx->levlCoeffBuf, in imc_decode_block()
913 imc_decode_level_coefficients(q, chctx->levlCoeffBuf, in imc_decode_block()
916 imc_decode_level_coefficients2(q, chctx->levlCoeffBuf, chctx->old_floor, in imc_decode_block()
938 if (chctx->levlCoeffBuf[i] == 16) { in imc_decode_block()
968 bits = (chctx->levlCoeffBuf[i] == 16) ? 0 : 5; in imc_decode_block()