Home
last modified time | relevance | path

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

/external/libpng/
Dpngset.c943 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local
946 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()
Dpngtest.c1304 int sample_max = (1 << bit_depth); in test_one_file() local
1307 (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()
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngset.c942 int sample_max = (1 << info_ptr->bit_depth); in png_set_tRNS() local
945 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()
/external/libopus/celt/
Dcelt_encoder.c1299 opus_val32 sample_max; in celt_encode_with_ec() local
1445 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()