Home
last modified time | relevance | path

Searched refs:gainMult_Q8 (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/float/
Dencode_frame_FLP.c101 opus_int16 gainMult_Q8; in silk_encode_frame_FLP() local
166 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FLP()
270 gainMult_upper = gainMult_Q8; in silk_encode_frame_FLP()
276 gainMult_lower = gainMult_Q8; in silk_encode_frame_FLP()
300 best_gain_mult[i] = gainMult_Q8; in silk_encode_frame_FLP()
309 if (gainMult_Q8 < 16384) { in silk_encode_frame_FLP()
310 gainMult_Q8 *= 2; in silk_encode_frame_FLP()
312 gainMult_Q8 = 32767; in silk_encode_frame_FLP()
317 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FLP()
321gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
[all …]
/external/libopus/silk/fixed/
Dencode_frame_FIX.c101 opus_int16 gainMult_Q8; in silk_encode_frame_FIX() local
169 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FIX()
282 gainMult_upper = gainMult_Q8; in silk_encode_frame_FIX()
288 gainMult_lower = gainMult_Q8; in silk_encode_frame_FIX()
312 best_gain_mult[i] = gainMult_Q8; in silk_encode_frame_FIX()
321 if (gainMult_Q8 < 16384) { in silk_encode_frame_FIX()
322 gainMult_Q8 *= 2; in silk_encode_frame_FIX()
324 gainMult_Q8 = 32767; in silk_encode_frame_FIX()
329 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FIX()
334gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits -… in silk_encode_frame_FIX()
[all …]