Lines Matching refs:opus_val16
53 const opus_val16 eMeans[25] = {
63 static const opus_val16 pred_coef[4] = {29440, 26112, 21248, 16384};
64 static const opus_val16 beta_coef[4] = {30147, 22282, 12124, 6554};
65 static const opus_val16 beta_intra = 4915;
67 static const opus_val16 pred_coef[4] = {29440/32768., 26112/32768., 21248/32768., 16384/32768.};
68 static const opus_val16 beta_coef[4] = {30147/32768., 22282/32768., 12124/32768., 6554/32768.};
69 static const opus_val16 beta_intra = 4915/32768.;
142 static opus_val32 loss_distortion(const opus_val16 *eBands, opus_val16 *oldEBands, int start, int e… in loss_distortion()
149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); in loss_distortion()
157 const opus_val16 *eBands, opus_val16 *oldEBands, in quant_coarse_energy_impl()
159 const unsigned char *prob_model, opus_val16 *error, ec_enc *enc, in quant_coarse_energy_impl()
160 int C, int LM, int intra, opus_val16 max_decay, int lfe) in quant_coarse_energy_impl()
165 opus_val16 coef; in quant_coarse_energy_impl()
166 opus_val16 beta; in quant_coarse_energy_impl()
187 opus_val16 x; in quant_coarse_energy_impl()
189 opus_val16 oldE; in quant_coarse_energy_impl()
190 opus_val16 decay_bound; in quant_coarse_energy_impl()
262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, in quant_coarse_energy()
263 opus_val16 *error, ec_enc *enc, int C, int LM, int nbAvailableBytes, in quant_coarse_energy()
267 opus_val16 max_decay; in quant_coarse_energy()
268 VARDECL(opus_val16, oldEBands_intra); in quant_coarse_energy()
269 VARDECL(opus_val16, error_intra); in quant_coarse_energy()
298 ALLOC(oldEBands_intra, C*m->nbEBands, opus_val16); in quant_coarse_energy()
299 ALLOC(error_intra, C*m->nbEBands, opus_val16); in quant_coarse_energy()
361 void quant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16 *er… in quant_fine_energy()
374 opus_val16 offset; in quant_fine_energy()
398 void quant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16… in quant_energy_finalise()
412 opus_val16 offset; in quant_energy_finalise()
427 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra,… in unquant_coarse_energy()
432 opus_val16 coef; in unquant_coarse_energy()
433 opus_val16 beta; in unquant_coarse_energy()
492 void unquant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fine_qu… in unquant_fine_energy()
503 opus_val16 offset; in unquant_fine_energy()
515 void unquant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fin… in unquant_energy_finalise()
529 opus_val16 offset; in unquant_energy_finalise()
544 celt_ener *bandE, opus_val16 *bandLogE, int C) in amp2Log2()
552 - SHL16((opus_val16)eMeans[i],6); in amp2Log2()