Home
last modified time | relevance | path

Searched refs:sample_max (Results 1 – 7 of 7) sorted by relevance

/external/syslinux/com32/lib/libpng/
Dpngset.c863 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local
865 (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()
Dpngtest.c1127 int sample_max = (1 << bit_depth); in test_one_file() local
1130 (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()
/external/pdfium/third_party/libpng16/
Dpngset.c983 int sample_max = (1 << info_ptr->bit_depth) - 1; in png_set_tRNS() local
986 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()
/external/libpng/
Dpngtest.c1371 int sample_max = (1 << bit_depth); in test_one_file() local
1374 (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()
Dpngset.c1031 int sample_max = (1 << info_ptr->bit_depth) - 1; in png_set_tRNS() local
1034 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()
/external/libopus/src/
Dopus_encoder.c850 opus_val32 sample_max = 0; in is_digital_silence() local
854 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() local
877 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()
/external/libopus/celt/
Dcelt_encoder.c1402 opus_val32 sample_max; in celt_encode_with_ec() local
1556 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()