• Home
  • Raw
  • Download

Lines Matching refs:opus_val16

92    opus_val16 prefilter_gain;
96 opus_val16 prefilter_gain_old;
112 opus_val16 stereo_saving;
114 opus_val16 *energy_mask;
115 opus_val16 spec_avg;
141 …+ 4*channels*mode->nbEBands*sizeof(opus_val16); /* opus_val16 oldBandE[channels*mode->nbEBands]; … in opus_custom_encoder_get_size()
228 opus_val16 *tf_estimate, int *tf_chan, int allow_weak_transients, in transient_analysis()
232 VARDECL(opus_val16, tmp); in transient_analysis()
237 opus_val16 tf_max; in transient_analysis()
243 opus_val16 forward_decay = QCONST16(.0625f,15); in transient_analysis()
257 ALLOC(tmp, len, opus_val16); in transient_analysis()
278 opus_val16 maxE; in transient_analysis()
320 opus_val16 x2 = PSHR32(MULT16_16(tmp[2*i],tmp[2*i]) + MULT16_16(tmp[2*i+1],tmp[2*i+1]),16); in transient_analysis()
412 static int patch_transient_decision(opus_val16 *newE, opus_val16 *oldE, int nbEBands, in patch_transient_decision()
417 opus_val16 spread_old[26]; in patch_transient_decision()
437 opus_val16 x1, x2; in patch_transient_decision()
496 void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RESTRICT inp, in celt_preemphasis()
497 … int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip) in celt_preemphasis()
500 opus_val16 coef0; in celt_preemphasis()
512 opus_val16 x; in celt_preemphasis()
543 opus_val16 coef1 = coef[1]; in celt_preemphasis()
544 opus_val16 coef2 = coef[2]; in celt_preemphasis()
559 opus_val16 x; in celt_preemphasis()
571 static opus_val32 l1_metric(const celt_norm *tmp, int N, int LM, opus_val16 bias) in l1_metric()
586 opus_val16 tf_estimate, int tf_chan, int *importance) in tf_analysis()
599 opus_val16 bias; in tf_analysis()
787 const opus_val16 *bandLogE, int end, int LM, int C, int N0, in alloc_trim_analysis()
788 AnalysisInfo *analysis, opus_val16 *stereo_saving, opus_val16 tf_estimate, in alloc_trim_analysis()
789 int intensity, opus_val16 surround_trim, opus_int32 equiv_rate, int arch) in alloc_trim_analysis()
795 opus_val16 trim = QCONST16(5.f, 8); in alloc_trim_analysis()
796 opus_val16 logXC, logXC2; in alloc_trim_analysis()
807 opus_val16 sum = 0; /* Q10 */ in alloc_trim_analysis()
808 opus_val16 minXC; /* Q10 */ in alloc_trim_analysis()
859 (opus_val16)(QCONST16(2.f, 8)*(analysis->tonality_slope+.05f)))); in alloc_trim_analysis()
910 #define MSWAP(a,b) do {opus_val16 tmp = a;a=b;b=tmp;} while(0)
911 static opus_val16 median_of_5(const opus_val16 *x) in median_of_5()
913 opus_val16 t0, t1, t2, t3, t4; in median_of_5()
950 static opus_val16 median_of_3(const opus_val16 *x) in median_of_3()
952 opus_val16 t0, t1, t2; in median_of_3()
970 static opus_val16 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, in dynalloc_analysis()
973 int effectiveBytes, opus_int32 *tot_boost_, int lfe, opus_val16 *surround_dynalloc, in dynalloc_analysis()
978 opus_val16 maxDepth; in dynalloc_analysis()
979 VARDECL(opus_val16, follower); in dynalloc_analysis()
980 VARDECL(opus_val16, noise_floor); in dynalloc_analysis()
982 ALLOC(follower, C*nbEBands, opus_val16); in dynalloc_analysis()
983 ALLOC(noise_floor, C*nbEBands, opus_val16); in dynalloc_analysis()
1003 VARDECL(opus_val16, mask); in dynalloc_analysis()
1004 VARDECL(opus_val16, sig); in dynalloc_analysis()
1005 ALLOC(mask, nbEBands, opus_val16); in dynalloc_analysis()
1006 ALLOC(sig, nbEBands, opus_val16); in dynalloc_analysis()
1022 opus_val16 smr = sig[i]-MAX16(MAX16(0, maxDepth-QCONST16(12.f, DB_SHIFT)), mask[i]); in dynalloc_analysis()
1042 opus_val16 offset; in dynalloc_analysis()
1043 opus_val16 tmp; in dynalloc_analysis()
1044 opus_val16 *f; in dynalloc_analysis()
1166 …int prefilter_tapset, int *pitch, opus_val16 *gain, int *qgain, int enabled, int nbAvailableBytes,… in run_prefilter()
1173 opus_val16 gain1; in run_prefilter()
1174 opus_val16 pf_threshold; in run_prefilter()
1195 VARDECL(opus_val16, pitch_buf); in run_prefilter()
1196 ALLOC(pitch_buf, (COMBFILTER_MAXPERIOD+N)>>1, opus_val16); in run_prefilter()
1224 gain1 = (opus_val16)(gain1 * analysis->max_pitch_ratio); in run_prefilter()
1299 int constrained_vbr, opus_val16 stereo_saving, int tot_boost, in compute_vbr()
1300 opus_val16 tf_estimate, int pitch_change, opus_val16 maxDepth, in compute_vbr()
1301 int lfe, int has_surround_mask, opus_val16 surround_masking, in compute_vbr()
1302 opus_val16 temporal_vbr) in compute_vbr()
1308 opus_val16 tf_calibration; in compute_vbr()
1332 opus_val16 max_frac; in compute_vbr()
1395 opus_val16 amount; in compute_vbr()
1396 opus_val16 tvbr_factor; in compute_vbr()
1408 int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, uns… in celt_encode_with_ec()
1417 VARDECL(opus_val16, bandLogE); in celt_encode_with_ec()
1418 VARDECL(opus_val16, bandLogE2); in celt_encode_with_ec()
1420 VARDECL(opus_val16, error); in celt_encode_with_ec()
1430 opus_val16 *oldBandE, *oldLogE, *oldLogE2, *energyError; in celt_encode_with_ec()
1444 opus_val16 gain1 = 0; in celt_encode_with_ec()
1460 opus_val16 tf_estimate; in celt_encode_with_ec()
1464 opus_val16 maxDepth; in celt_encode_with_ec()
1472 opus_val16 surround_masking=0; in celt_encode_with_ec()
1473 opus_val16 temporal_vbr=0; in celt_encode_with_ec()
1474 opus_val16 surround_trim = 0; in celt_encode_with_ec()
1479 VARDECL(opus_val16, surround_dynalloc); in celt_encode_with_ec()
1509 oldBandE = (opus_val16*)(st->in_mem+CC*(overlap+COMBFILTER_MAXPERIOD)); in celt_encode_with_ec()
1624 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()
1713 ALLOC(bandLogE,nbEBands*CC, opus_val16); in celt_encode_with_ec()
1716 ALLOC(bandLogE2, C*nbEBands, opus_val16); in celt_encode_with_ec()
1744 ALLOC(surround_dynalloc, C*nbEBands, opus_val16); in celt_encode_with_ec()
1760 opus_val16 mask; in celt_encode_with_ec()
1783 opus_val16 unmask; in celt_encode_with_ec()
1823 opus_val16 follow=-QCONST16(10.0f,DB_SHIFT); in celt_encode_with_ec()
1825 opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0; in celt_encode_with_ec()
1912 ALLOC(error, C*nbEBands, opus_val16); in celt_encode_with_ec()
1960 …static const opus_val16 spread_thresholds[3] = {-QCONST16(.6f, 15), -QCONST16(.2f, 15), -QCONST16(… in celt_encode_with_ec()
1961 …static const opus_val16 spread_histeresis[3] = {QCONST16(.15f, 15), QCONST16(.07f, 15), QCONST16(.… in celt_encode_with_ec()
1962 static const opus_val16 tapset_thresholds[2] = {QCONST16(.0f, 15), QCONST16(.15f, 15)}; in celt_encode_with_ec()
1963 static const opus_val16 tapset_histeresis[2] = {QCONST16(.1f, 15), QCONST16(.05f, 15)}; in celt_encode_with_ec()
2022 static const opus_val16 intensity_thresholds[21]= in celt_encode_with_ec()
2025 static const opus_val16 intensity_histeresis[21]= in celt_encode_with_ec()
2032 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()
2056 opus_val16 alpha; in celt_encode_with_ec()
2270 deemphasis(out_mem, (opus_val16*)pcm, N, CC, st->upsample, mode->preemph, st->preemph_memD); in celt_encode_with_ec()
2523 opus_val16 *oldBandE, *oldLogE, *oldLogE2; in opus_custom_encoder_ctl()
2524 oldBandE = (opus_val16*)(st->in_mem+st->channels*(st->mode->overlap+COMBFILTER_MAXPERIOD)); in opus_custom_encoder_ctl()
2592 opus_val16 *value = va_arg(ap, opus_val16*); in opus_custom_encoder_ctl()