Home
last modified time | relevance | path

Searched refs:clip_avoidance_factor (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc.c469 if (sce->ics.clip_avoidance_factor < 1.0f) { in avoid_clipping()
475 swb_coeffs[j] *= sce->ics.clip_avoidance_factor; in avoid_clipping()
592 float clip_avoidance_factor; in aac_encode_frame() local
636 clip_avoidance_factor = 0.0f; in aac_encode_frame()
650 clip_avoidance_factor = FFMAX(clip_avoidance_factor, wi[ch].clipping[w]); in aac_encode_frame()
655 if (clip_avoidance_factor > CLIP_AVOIDANCE_FACTOR) { in aac_encode_frame()
656 ics->clip_avoidance_factor = CLIP_AVOIDANCE_FACTOR / clip_avoidance_factor; in aac_encode_frame()
658 ics->clip_avoidance_factor = 1.0f; in aac_encode_frame()
Daac.h193 …float clip_avoidance_factor; ///< set if any window is near clipping to the necessary atennuation … member