Lines Matching refs:quant
591 int quant; in nb_encode() local
595 quant = PSHR16(MULT16_16_16(15, ol_pitch_coef),GAIN_SHIFT); in nb_encode()
597 quant = (int)floor(.5+15*ol_pitch_coef*GAIN_SCALING_1); in nb_encode()
599 if (quant>15) in nb_encode()
600 quant=15; in nb_encode()
601 if (quant<0) in nb_encode()
602 quant=0; in nb_encode()
603 speex_bits_pack(bits, quant, 4); in nb_encode()
604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); in nb_encode()
1264 int quant; in nb_decode() local
1265 quant = speex_bits_unpack_unsigned(bits, 4); in nb_decode()
1266 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); in nb_decode()