Searched refs:sample_max (Results 1 – 7 of 7) sorted by relevance
863 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local865 (int)trans_values->gray > sample_max) || in png_set_tRNS()867 ((int)trans_values->red > sample_max || in png_set_tRNS()868 (int)trans_values->green > sample_max || in png_set_tRNS()869 (int)trans_values->blue > sample_max))) in png_set_tRNS()
1127 int sample_max = (1 << bit_depth); in test_one_file() local1130 (int)trans_values->gray > sample_max) || in test_one_file()1132 ((int)trans_values->red > sample_max || in test_one_file()1133 (int)trans_values->green > sample_max || in test_one_file()1134 (int)trans_values->blue > sample_max)))) in test_one_file()
983 int sample_max = (1 << info_ptr->bit_depth) - 1; in png_set_tRNS() local986 trans_color->gray > sample_max) || in png_set_tRNS()988 (trans_color->red > sample_max || in png_set_tRNS()989 trans_color->green > sample_max || in png_set_tRNS()990 trans_color->blue > sample_max))) in png_set_tRNS()
1371 int sample_max = (1 << bit_depth); in test_one_file() local1374 (int)trans_color->gray > sample_max) || in test_one_file()1376 ((int)trans_color->red > sample_max || in test_one_file()1377 (int)trans_color->green > sample_max || in test_one_file()1378 (int)trans_color->blue > sample_max)))) in test_one_file()
1031 int sample_max = (1 << info_ptr->bit_depth) - 1; in png_set_tRNS() local1034 trans_color->gray > sample_max) || in png_set_tRNS()1036 (trans_color->red > sample_max || in png_set_tRNS()1037 trans_color->green > sample_max || in png_set_tRNS()1038 trans_color->blue > sample_max))) in png_set_tRNS()
850 opus_val32 sample_max = 0; in is_digital_silence() local854 sample_max = celt_maxabs16(pcm, frame_size*channels); in is_digital_silence()857 silence = (sample_max == 0); in is_digital_silence()860 silence = (sample_max <= (opus_val16) 1 / (1 << lsb_depth)); in is_digital_silence()870 opus_val32 sample_max; in compute_frame_energy() local877 sample_max = celt_maxabs16(pcm, len); in compute_frame_energy()881 shift = IMAX(0, (celt_ilog2(sample_max) << 1) + max_shift - 28); in compute_frame_energy()
1402 opus_val32 sample_max; in celt_encode_with_ec() local1556 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()1558 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()1560 silence = (sample_max==0); in celt_encode_with_ec()1562 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()1590 need_clip = st->clip && sample_max>65536.f; in celt_encode_with_ec()