Lines Matching refs:nratio
916 INTFLOAT nratio, sblend, nblend;
921 nratio = (int)(accu >> 32);
922 nratio -= spx_blend << 18;
924 if (nratio < 0) {
927 } else if (nratio > 0x7fffff) {
931 nblend = fixed_sqrt(nratio, 23);
934 sblend = fixed_sqrt(0x800000 - nratio, 23);
940 nratio = ((float)((bin + (bandsize >> 1))) / s->spx_dst_end_freq) - spx_blend;
941 nratio = av_clipf(nratio, 0.0f, 1.0f);
942 nblend = sqrtf(3.0f * nratio); // noise is scaled by sqrt(3)
944 sblend = sqrtf(1.0f - nratio);