Searched refs:invert_quantize (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | aptx.c | 399 static void aptx_invert_quantization(InvertQuantize *invert_quantize, in aptx_invert_quantization() argument 411 … invert_quantize->reconstructed_difference = MUL64(invert_quantize->quantization_factor, qr) >> 19; in aptx_invert_quantization() 414 factor_select = 32620 * invert_quantize->factor_select; in aptx_invert_quantization() 416 invert_quantize->factor_select = av_clip(factor_select, 0, tables->factor_max); in aptx_invert_quantization() 419 idx = (invert_quantize->factor_select & 0xFF) >> 3; in aptx_invert_quantization() 420 shift = (tables->factor_max - invert_quantize->factor_select) >> 8; in aptx_invert_quantization() 421 invert_quantize->quantization_factor = (quantization_factors[idx] << 11) >> shift; in aptx_invert_quantization() 463 static void aptx_process_subband(InvertQuantize *invert_quantize, in aptx_process_subband() argument 470 aptx_invert_quantization(invert_quantize, quantized_sample, dither, tables); in aptx_process_subband() 472 sign = FFDIFFSIGN(invert_quantize->reconstructed_difference, in aptx_process_subband() [all …]
|
D | aptx.h | 90 InvertQuantize invert_quantize[NB_SUBBANDS]; member
|
D | aptxenc.c | 145 channel->invert_quantize[subband].quantization_factor, in aptx_encode_channel()
|