|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include "main.h"Macros | |
| #define | OFFSET ( ( MIN_QGAIN_DB * 128 ) / 6 + 16 * 128 ) |
| #define | SCALE_Q16 ( ( 65536 * ( N_LEVELS_QGAIN - 1 ) ) / ( ( ( MAX_QGAIN_DB - MIN_QGAIN_DB ) * 128 ) / 6 ) ) |
| #define | INV_SCALE_Q16 ( ( 65536 * ( ( ( MAX_QGAIN_DB - MIN_QGAIN_DB ) * 128 ) / 6 ) ) / ( N_LEVELS_QGAIN - 1 ) ) |
Functions | |
| void | silk_gains_quant (opus_int8 ind[MAX_NB_SUBFR], opus_int32 gain_Q16[MAX_NB_SUBFR], opus_int8 *prev_ind, const opus_int conditional, const opus_int nb_subfr) |
| void | silk_gains_dequant (opus_int32 gain_Q16[MAX_NB_SUBFR], const opus_int8 ind[MAX_NB_SUBFR], opus_int8 *prev_ind, const opus_int conditional, const opus_int nb_subfr) |
| opus_int32 | silk_gains_ID (const opus_int8 ind[MAX_NB_SUBFR], const opus_int nb_subfr) |
| #define INV_SCALE_Q16 ( ( 65536 * ( ( ( MAX_QGAIN_DB - MIN_QGAIN_DB ) * 128 ) / 6 ) ) / ( N_LEVELS_QGAIN - 1 ) ) |
| #define OFFSET ( ( MIN_QGAIN_DB * 128 ) / 6 + 16 * 128 ) |
| #define SCALE_Q16 ( ( 65536 * ( N_LEVELS_QGAIN - 1 ) ) / ( ( ( MAX_QGAIN_DB - MIN_QGAIN_DB ) * 128 ) / 6 ) ) |
| void silk_gains_dequant | ( | opus_int32 | gain_Q16[MAX_NB_SUBFR], |
| const opus_int8 | ind[MAX_NB_SUBFR], | ||
| opus_int8 * | prev_ind, | ||
| const opus_int | conditional, | ||
| const opus_int | nb_subfr | ||
| ) |
| opus_int32 silk_gains_ID | ( | const opus_int8 | ind[MAX_NB_SUBFR], |
| const opus_int | nb_subfr | ||
| ) |
1.8.13