Searched refs:sample_max (Results 1 – 4 of 4) sorted by relevance
943 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local946 trans_color->gray > sample_max) || in png_set_tRNS()948 (trans_color->red > sample_max || in png_set_tRNS()949 trans_color->green > sample_max || in png_set_tRNS()950 trans_color->blue > sample_max))) in png_set_tRNS()
1304 int sample_max = (1 << bit_depth); in test_one_file() local1307 (int)trans_color->gray > sample_max) || in test_one_file()1309 ((int)trans_color->red > sample_max || in test_one_file()1310 (int)trans_color->green > sample_max || in test_one_file()1311 (int)trans_color->blue > sample_max)))) in test_one_file()
942 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local945 trans_color->gray > sample_max) || in png_set_tRNS()947 (trans_color->red > sample_max || in png_set_tRNS()948 trans_color->green > sample_max || in png_set_tRNS()949 trans_color->blue > sample_max))) in png_set_tRNS()
1299 opus_val32 sample_max; in celt_encode_with_ec() local1445 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()1447 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()1449 silence = (sample_max==0); in celt_encode_with_ec()1451 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()