Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Daacenc_is.c58 float maxval, dist_spec_err = 0.0f; in ff_aac_is_encoding_err() local
81 dist_spec_err += (L34[i] - I34[i])*(L34[i] - I34[i]); in ff_aac_is_encoding_err()
82 dist_spec_err += (R34[i] - I34[i]*e01_34)*(R34[i] - I34[i]*e01_34); in ff_aac_is_encoding_err()
84 dist_spec_err *= s->lambda / minthr; in ff_aac_is_encoding_err()
85 dist2 += dist_spec_err; in ff_aac_is_encoding_err()
Daacenc_pred.c259 float dist1, dist2, dist_spec_err = 0.0f; in ff_aac_search_for_pred() local
303 dist_spec_err += (O34[i] - P34[i])*(O34[i] - P34[i]); in ff_aac_search_for_pred()
304 dist_spec_err *= s->lambda / band->threshold; in ff_aac_search_for_pred()
305 dist2 += dist_spec_err; in ff_aac_search_for_pred()