Lines Matching refs:thr_p

340   glong thr_p = filter->threshold * G_MAXINT16;  in gst_audio_dynamic_transform_hard_knee_compressor_int()  local
351 if (val > thr_p) { in gst_audio_dynamic_transform_hard_knee_compressor_int()
352 val = thr_p + (val - thr_p) * filter->ratio; in gst_audio_dynamic_transform_hard_knee_compressor_int()
389 glong thr_p = filter->threshold * G_MAXINT16; in gst_audio_dynamic_transform_soft_knee_compressor_int() local
412 g_assert (thr_p - G_MAXINT16 != 0); in gst_audio_dynamic_transform_soft_knee_compressor_int()
415 a_p = (1 - filter->ratio) / (2 * (thr_p - G_MAXINT16)); in gst_audio_dynamic_transform_soft_knee_compressor_int()
416 b_p = (filter->ratio * thr_p - G_MAXINT16) / (thr_p - G_MAXINT16); in gst_audio_dynamic_transform_soft_knee_compressor_int()
417 c_p = thr_p * (1 - b_p - a_p * thr_p); in gst_audio_dynamic_transform_soft_knee_compressor_int()
425 if (val > thr_p) { in gst_audio_dynamic_transform_soft_knee_compressor_int()
494 glong thr_p = filter->threshold * G_MAXINT16; in gst_audio_dynamic_transform_hard_knee_expander_int() local
505 zero_p = thr_p - thr_p / filter->ratio; in gst_audio_dynamic_transform_hard_knee_expander_int()
519 if (val < thr_p && val > zero_p) { in gst_audio_dynamic_transform_hard_knee_expander_int()
520 val = filter->ratio * val + thr_p * (1 - filter->ratio); in gst_audio_dynamic_transform_hard_knee_expander_int()
569 glong thr_p = filter->threshold * G_MAXINT16; in gst_audio_dynamic_transform_soft_knee_expander_int() local
582 zero_p = (thr_p * (filter->ratio - 1.0)) / (1.0 + filter->ratio); in gst_audio_dynamic_transform_soft_knee_expander_int()
592 g_assert (thr_p != 0); in gst_audio_dynamic_transform_soft_knee_expander_int()
605 a_p = (1.0 - r2) / (4.0 * thr_p); in gst_audio_dynamic_transform_soft_knee_expander_int()
607 c_p = thr_p * (1.0 - b_p - a_p * thr_p); in gst_audio_dynamic_transform_soft_knee_expander_int()
615 if (val < thr_p && val > zero_p) { in gst_audio_dynamic_transform_soft_knee_expander_int()