Home
last modified time | relevance | path

Searched refs:max_pos (Results 1 – 9 of 9) 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/webp/src/dsp/
Dfilters_sse2.c38 const int max_pos = length & ~31; in PredictLineTop_SSE2() local
40 for (i = 0; i < max_pos; i += 32) { in PredictLineTop_SSE2()
56 const int max_pos = length & ~31; in PredictLineLeft_SSE2() local
58 for (i = 0; i < max_pos; i += 32) { in PredictLineLeft_SSE2()
148 const int max_pos = length & ~7; in GradientPredictDirect_SSE2() local
151 for (i = 0; i < max_pos; i += 8) { in GradientPredictDirect_SSE2()
250 const int max_pos = width & ~31; in VerticalUnfilter_SSE2() local
252 for (i = 0; i < max_pos; i += 32) { in VerticalUnfilter_SSE2()
271 const int max_pos = length & ~7; in GradientPredictInverse_SSE2() local
274 for (i = 0; i < max_pos; i += 8) { in GradientPredictInverse_SSE2()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_fax.cpp51 int FindBit(const uint8_t* data_buf, int max_pos, int start_pos, int bit) { in FindBit() argument
53 if (start_pos >= max_pos) in FindBit()
54 return max_pos; in FindBit()
71 int max_byte = (max_pos + 7) / 8; in FindBit()
79 return max_pos; in FindBit()
81 return std::min(leading_pos[data_buf[byte_pos]] + byte_pos * 8, max_pos); in FindBit()
/external/freetype/src/autofit/
Daflatin.c1564 FT_Pos max_pos = -32000; in af_latin_hints_compute_segments() local
1577 FT_Pos prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1619 if ( u > max_pos ) in af_latin_hints_compute_segments()
1620 max_pos = u; in af_latin_hints_compute_segments()
1657 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1658 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1673 prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1698 if ( prev_max_pos > max_pos ) in af_latin_hints_compute_segments()
1699 max_pos = prev_max_pos; in af_latin_hints_compute_segments()
1719 max_pos ) >> 1 ); in af_latin_hints_compute_segments()
[all …]
/external/libxcam/cl_kernel/
Dkernel_fisheye.cl51 float2 max_pos = (float2)(info.center_x + info.radius, info.center_y + info.radius);
52 pos = clamp (pos, min_pos, max_pos);
Dkernel_gauss_lap_pyramid.cl373 int max_pos, int seam_height, int seam_stride)
424 pos = clamp (pos, offset_x, max_pos);
/external/libaom/libaom/test/
Dcdef_test.cc75 const unsigned int max_pos = size * size >> static_cast<int>(depth == 8); in test_cdef() local
129 for (pos = 0; pos < max_pos && !error; pos++) { in test_cdef()
/external/libxcam/modules/ocl/
Dcl_pyramid_blender.cpp1024 int max_pos = (int)(pos_offset_x + pos_valid_width - 1); in prepare_arguments() local
1048 args.push_back (new CLArgumentT<int> (max_pos)); in prepare_arguments()
/external/freetype/
DChangeLog.272028 `max_pos' is always larger than `min_pos' so `FT_ABS' is not needed.