Home
last modified time | relevance | path

Searched refs:max_pos (Results 1 – 5 of 5) sorted by relevance

/external/brotli/research/
Ddraw_histogram.cc81 int max_pos = FLAGS_size - skip; in BuildHistogram() local
94 if (pos >= max_pos) break; in BuildHistogram()
99 y = 1ul * pos * width / max_pos; in BuildHistogram()
101 printf("pos = %d, max_pos = %d, y = %d\n", pos, max_pos, y); in BuildHistogram()
106 int right = 1ul * (pos + copy - 1) * width / max_pos; in BuildHistogram()
115 int pos2 = static_cast<int>(ceil(1.0 * (y + 1) * max_pos / width)); in BuildHistogram()
118 histo[x][i] += max_pos / width; // Sometimes 1 more, but who cares. in BuildHistogram()
122 pos2 = static_cast<int>(ceil(1.0 * right * max_pos / width)); in BuildHistogram()
/external/aac/libFDK/src/arm/
Dqmf_arm.cpp591 const FIXP_DBL max_pos = (FIXP_DBL) 0x00007FFF << scale; in qmfSynPrototypeFirSlot2() local
595 const FIXP_DBL max_pos = (FIXP_DBL) 0x7FFFFFFF >> scale; in qmfSynPrototypeFirSlot2() local
620 if (result1 > max_pos) result1 = max_pos; in qmfSynPrototypeFirSlot2()
631 if (result2 > max_pos) result2 = max_pos; in qmfSynPrototypeFirSlot2()
645 if (result1 > max_pos) result1 = max_pos; in qmfSynPrototypeFirSlot2()
656 if (result2 > max_pos) result2 = max_pos; in qmfSynPrototypeFirSlot2()
674 if (result1 > max_pos) result1 = max_pos; in qmfSynPrototypeFirSlot2()
684 if (result2 > max_pos) result2 = max_pos; in qmfSynPrototypeFirSlot2()
696 if (result1 > max_pos) result1 = max_pos; in qmfSynPrototypeFirSlot2()
706 if (result2 > max_pos) result2 = max_pos; in qmfSynPrototypeFirSlot2()
/external/webp/src/dsp/
Dfilters_sse2.c38 const int max_pos = length & ~31; in PredictLineTop() local
40 for (i = 0; i < max_pos; i += 32) { in PredictLineTop()
56 const int max_pos = length & ~31; in PredictLineLeft() local
58 for (i = 0; i < max_pos; i += 32) { in PredictLineLeft()
146 const int max_pos = length & ~7; in GradientPredictDirect() local
149 for (i = 0; i < max_pos; i += 8) { in GradientPredictDirect()
247 const int max_pos = width & ~31; in VerticalUnfilter() local
249 for (i = 0; i < max_pos; i += 32) { in VerticalUnfilter()
268 const int max_pos = length & ~7; in GradientPredictInverse() local
271 for (i = 0; i < max_pos; i += 8) { in GradientPredictInverse()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_fax.cpp48 int FindBit(const uint8_t* data_buf, int max_pos, int start_pos, int bit) { in FindBit() argument
50 if (start_pos >= max_pos) in FindBit()
51 return max_pos; in FindBit()
68 int max_byte = (max_pos + 7) / 8; in FindBit()
76 return max_pos; in FindBit()
78 return std::min(leading_pos[data_buf[byte_pos]] + byte_pos * 8, max_pos); in FindBit()
/external/freetype/src/autofit/
Daflatin.c1540 FT_Pos max_pos = -32000; in af_latin_hints_compute_segments() local
1553 FT_Pos prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1595 if ( u > max_pos ) in af_latin_hints_compute_segments()
1596 max_pos = u; in af_latin_hints_compute_segments()
1633 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1634 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1649 prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1674 if ( prev_max_pos > max_pos ) in af_latin_hints_compute_segments()
1675 max_pos = prev_max_pos; in af_latin_hints_compute_segments()
1695 max_pos ) >> 1 ); in af_latin_hints_compute_segments()
[all …]