Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Daf_astats.c66 double min_non_zero; member
191 p->min_non_zero = DBL_MAX; in reset_stats()
296 if (d != 0 && FFABS(d) < p->min_non_zero) in update_stat()
297 p->min_non_zero = FFABS(d); in update_stat()
498 … 1, "Dynamic_range", "%f", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); in set_metadata()
747 …FO, "Dynamic range: %f\n", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); in print_stats()
/third_party/ffmpeg/libavcodec/
Dexr.c594 uint16_t maxval, min_non_zero, max_non_zero; in piz_uncompress() local
615 min_non_zero = bytestream2_get_le16(&gb); in piz_uncompress()
621 memset(td->bitmap, 0, FFMIN(min_non_zero, BITMAP_SIZE)); in piz_uncompress()
622 if (min_non_zero <= max_non_zero) in piz_uncompress()
623 bytestream2_get_buffer(&gb, td->bitmap + min_non_zero, in piz_uncompress()
624 max_non_zero - min_non_zero + 1); in piz_uncompress()