Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc190 const HistogramBase::Sample sample_max = in TEST_F() local
193 "TestAddTimeMillisecondsGranularity1", 1, sample_max, 100, 0); in TEST_F()
211 EXPECT_EQ(add_count, samples->GetCount(sample_max)); in TEST_F()
216 1, sample_max, 100, 0); in TEST_F()
235 const HistogramBase::Sample sample_max = in TEST_F() local
238 "TestAddTimeMicrosecondsGranularity1", 1, sample_max, 100, 0); in TEST_F()
256 EXPECT_EQ(add_count, samples->GetCount(sample_max)); in TEST_F()
261 1, sample_max, 100, 0); in TEST_F()
/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/
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()
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()
/external/libopus/src/
Dopus_encoder.c843 opus_val32 sample_max = 0; in is_digital_silence() local
847 sample_max = celt_maxabs16(pcm, frame_size*channels); in is_digital_silence()
850 silence = (sample_max == 0); in is_digital_silence()
853 silence = (sample_max <= (opus_val16) 1 / (1 << lsb_depth)); in is_digital_silence()
863 opus_val32 sample_max; in compute_frame_energy() local
870 sample_max = celt_maxabs16(pcm, len); in compute_frame_energy()
874 shift = IMAX(0, (celt_ilog2(sample_max) << 1) + max_shift - 28); in compute_frame_energy()
/external/libopus/celt/
Dcelt_encoder.c1463 opus_val32 sample_max; in celt_encode_with_ec() local
1618 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()
1620 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()
1622 silence = (sample_max==0); in celt_encode_with_ec()
1624 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()
1652 need_clip = st->clip && sample_max>65536.f; in celt_encode_with_ec()