Lines Matching defs:PNS
56 * beyond which no PNS is used (since the SFBs contain tone rather than noise) */
59 /* Parameter of f(x) = a*(100/lambda), defines how much PNS is allowed to
548 float *PNS = &s->scoefs[0*128], *PNS34 = &s->scoefs[1*128];
613 /* PNS is acceptable when all of these are true:
615 * 2. near-threshold energy (high PE means the random nature of PNS content will be noticed)
616 * 3. on short window groups, all windows have similar energy (variations in energy would be destroyed by PNS)
647 PNS[i] = s->random_state;
649 band_energy = s->fdsp->scalarproduct_float(PNS, PNS, sce->ics.swb_sizes[g]);
651 s->fdsp->vector_fmul_scalar(PNS, PNS, scale, sce->ics.swb_sizes[g]);
652 pns_senergy = s->fdsp->scalarproduct_float(PNS, PNS, sce->ics.swb_sizes[g]);
655 s->abs_pow34(PNS34, PNS, sce->ics.swb_sizes[g]);
740 /* PNS is acceptable when all of these are true:
742 * 2. near-threshold energy (high PE means the random nature of PNS content will be noticed)
743 * 3. on short window groups, all windows have similar energy (variations in energy would be destroyed by PNS)