Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/libwebp/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()
251 const int max_pos = width & ~31; in VerticalUnfilter_SSE2() local
253 for (i = 0; i < max_pos; i += 32) { in VerticalUnfilter_SSE2()
272 const int max_pos = length & ~7; in GradientPredictInverse_SSE2() local
275 for (i = 0; i < max_pos; i += 8) { in GradientPredictInverse_SSE2()
/third_party/flutter/skia/third_party/externals/libwebp/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()
251 const int max_pos = width & ~31; in VerticalUnfilter_SSE2() local
253 for (i = 0; i < max_pos; i += 32) { in VerticalUnfilter_SSE2()
272 const int max_pos = length & ~7; in GradientPredictInverse_SSE2() local
275 for (i = 0; i < max_pos; i += 8) { in GradientPredictInverse_SSE2()
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c1594 FT_Pos max_pos = -32000; in af_latin_hints_compute_segments() local
1607 FT_Pos prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1649 if ( u > max_pos ) in af_latin_hints_compute_segments()
1650 max_pos = u; in af_latin_hints_compute_segments()
1687 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1688 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1703 prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1728 if ( prev_max_pos > max_pos ) in af_latin_hints_compute_segments()
1729 max_pos = prev_max_pos; in af_latin_hints_compute_segments()
1749 max_pos ) >> 1 ); in af_latin_hints_compute_segments()
[all …]
/third_party/freetype/src/autofit/
Daflatin.c1599 FT_Pos max_pos = -32000; in af_latin_hints_compute_segments() local
1612 FT_Pos prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1654 if ( u > max_pos ) in af_latin_hints_compute_segments()
1655 max_pos = u; in af_latin_hints_compute_segments()
1692 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1693 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1708 prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1733 if ( prev_max_pos > max_pos ) in af_latin_hints_compute_segments()
1734 max_pos = prev_max_pos; in af_latin_hints_compute_segments()
1754 max_pos ) >> 1 ); in af_latin_hints_compute_segments()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Daflatin.c1600 FT_Pos max_pos = -32000; in af_latin_hints_compute_segments() local
1613 FT_Pos prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1655 if ( u > max_pos ) in af_latin_hints_compute_segments()
1656 max_pos = u; in af_latin_hints_compute_segments()
1693 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
1694 segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 ); in af_latin_hints_compute_segments()
1709 prev_max_pos = max_pos; in af_latin_hints_compute_segments()
1734 if ( prev_max_pos > max_pos ) in af_latin_hints_compute_segments()
1735 max_pos = prev_max_pos; in af_latin_hints_compute_segments()
1755 max_pos ) >> 1 ); in af_latin_hints_compute_segments()
[all …]
/third_party/ffmpeg/libavformat/
Dflvdec.c405 static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, int64_t max_pos) in parse_keyframes_index() argument
425 while (avio_tell(ioc) < max_pos - 2 && in parse_keyframes_index()
455 for (i = 0; i < arraylen && avio_tell(ioc) < max_pos - 1; i++) { in parse_keyframes_index()
472 if (timeslen == fileposlen && fileposlen>1 && max_pos <= filepositions[0]) { in parse_keyframes_index()
497 int64_t max_pos, int depth) in amf_parse_object() argument
533 if (parse_keyframes_index(s, ioc, max_pos) < 0) in amf_parse_object()
537 while (avio_tell(ioc) < max_pos - 2 && in amf_parse_object()
539 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
555 while (avio_tell(ioc) < max_pos - 2 && in amf_parse_object()
559 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgsttemplatematch.cpp293 cv::Point min_pos, max_pos; in gst_template_match_match() local
295 minMaxLoc (dist_image, &dist_min, &dist_max, &min_pos, &max_pos); in gst_template_match_match()
304 *best_pos = max_pos; in gst_template_match_match()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dstridedslice_cpu_kernel.cc36 int max_pos = pos_type == kBegin ? dim_len - 1 : dim_len; in NormalizePos() local
37 return std::min(pos, max_pos); in NormalizePos()
/third_party/gettext/gettext-tools/src/
Dmsgl-check.c297 const message_ty *max_pos; in check_plural() local
307 max_pos = NULL; in check_plural()
341 max_pos = mp; in check_plural()
500 max_pos, NULL, 0, 0, false, msg2); in check_plural()
DChangeLog.15310 max_pos. Use po_xerror2 instead of error_at_line pairs. Use po_xerror
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dregcomp.c1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() argument
1753 if (pos > *max_pos) in tre_copy_ast()
1754 *max_pos = pos; in tre_copy_ast()
1842 int max_pos = 0; in tre_expand_ast() local
1868 if (lit->position > max_pos) in tre_expand_ast()
1869 max_pos = lit->position; in tre_expand_ast()
1935 &max_pos); in tre_expand_ast()
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1965 &pos_add, NULL, &copy, &max_pos); in tre_expand_ast()
2013 if (max_pos > *position) in tre_expand_ast()
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dregcomp.c1690 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() argument
1754 if (pos > *max_pos) in tre_copy_ast()
1755 *max_pos = pos; in tre_copy_ast()
1843 int max_pos = 0; in tre_expand_ast() local
1869 if (lit->position > max_pos) in tre_expand_ast()
1870 max_pos = lit->position; in tre_expand_ast()
1936 &max_pos); in tre_expand_ast()
1952 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1966 &pos_add, NULL, &copy, &max_pos); in tre_expand_ast()
2014 if (max_pos > *position) in tre_expand_ast()
[all …]
/third_party/musl/porting/uniproton/kernel/src/regex/
Dregcomp.c1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() argument
1753 if (pos > *max_pos) in tre_copy_ast()
1754 *max_pos = pos; in tre_copy_ast()
1842 int max_pos = 0; in tre_expand_ast() local
1868 if (lit->position > max_pos) in tre_expand_ast()
1869 max_pos = lit->position; in tre_expand_ast()
1935 &max_pos); in tre_expand_ast()
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1965 &pos_add, NULL, &copy, &max_pos); in tre_expand_ast()
2013 if (max_pos > *position) in tre_expand_ast()
[all …]
/third_party/musl/src/regex/
Dregcomp.c1689 tre_ast_node_t **copy, int *max_pos) in tre_copy_ast() argument
1753 if (pos > *max_pos) in tre_copy_ast()
1754 *max_pos = pos; in tre_copy_ast()
1842 int max_pos = 0; in tre_expand_ast() local
1868 if (lit->position > max_pos) in tre_expand_ast()
1869 max_pos = lit->position; in tre_expand_ast()
1935 &max_pos); in tre_expand_ast()
1951 &pos_add, NULL, &seq2, &max_pos); in tre_expand_ast()
1965 &pos_add, NULL, &copy, &max_pos); in tre_expand_ast()
2013 if (max_pos > *position) in tre_expand_ast()
[all …]
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisdec.c207 gint i, max_pos = MAX (vd->vi.channels, 64); in vorbis_handle_identification_packet() local
211 for (i = 0; i < max_pos; i++) in vorbis_handle_identification_packet()
/third_party/python/Tools/clinic/
Dclinic.py647 pos_only = min_pos = max_pos = min_kw_only = 0
652 min_kw_only = i - max_pos
654 max_pos = i
859 """ % (nargs, min_pos, max_pos), indent=4)]
915 """ % (min_pos, max_pos, min_kw_only), indent=4)]
935 """ % (min_pos, max_pos, min_kw_only), indent=4)]
948 if add_label and (i == pos_only or i == max_pos):
966 if i < max_pos:
971 first_opt = max_pos + min_kw_only
/third_party/ffmpeg/libavcodec/
Dg723_1dec.c97 static const int32_t max_pos[4] = {593775, 142506, 593775, 142506}; variable
289 if (subfrm->pulse_pos >= max_pos[index]) in gen_fcb_excitation()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.272028 `max_pos' is always larger than `min_pos' so `FT_ABS' is not needed.
/third_party/freetype/
DChangeLog.272028 `max_pos' is always larger than `min_pos' so `FT_ABS' is not needed.
/third_party/flutter/skia/third_party/externals/freetype/
DChangeLog.272028 `max_pos' is always larger than `min_pos' so `FT_ABS' is not needed.