Home
last modified time | relevance | path

Searched refs:max_x (Results 1 - 25 of 47) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-cff2-table.cc44 max_x.set_int (INT_MIN); in init()
55 if (pt.x > max_x) max_x = pt.x; in update_bounds()
63 number_t max_x; member
122 if (param.min_x >= param.max_x) in get_extents()
130 extents->width = font->em_scalef_x (param.max_x.to_real ()) - extents->x_bearing; in get_extents()
H A Dhb-ot-glyf-table.hh980 contour_bounds_t () { min_x = min_y = FLT_MAX; max_x = max_y = -FLT_MAX; } in contour_bounds_t()
986 max_x = hb_max (max_x, p.x); in add()
990 bool empty () const { return (min_x >= max_x) || (min_y >= max_y); } in empty()
1003 extents->width = font->em_scalef_x (max_x) - extents->x_bearing; in get_extents()
1009 float min_x, min_y, max_x, max_y; member
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpredictor_enc.c311 const int max_x = GetMin(tile_size, width - start_x); in GetBestPredictorForTile() local
318 const int context_width = max_x + have_left + (max_x < width - start_x); in GetBestPredictorForTile()
343 assert(max_x <= (1 << MAX_TRANSFORM_BITS)); in GetBestPredictorForTile()
356 sizeof(*argb) * (max_x + have_left + 1)); in GetBestPredictorForTile()
370 sizeof(*argb) * (max_x + have_left + (y + 1 < height))); in GetBestPredictorForTile()
379 start_x, start_x + max_x, y, max_quantization, exact, in GetBestPredictorForTile()
381 for (relative_x = 0; relative_x < max_x; ++relative_x) { in GetBestPredictorForTile()
/third_party/ffmpeg/libavfilter/
H A Dvf_rotate.c82 int x, int y, int max_x, int max_y);
227 int x, int y, int max_x, int max_y) in interpolate_bilinear8()
229 int int_x = av_clip(x>>16, 0, max_x); in interpolate_bilinear8()
234 int int_x1 = FFMIN(int_x+1, max_x); in interpolate_bilinear8()
257 int x, int y, int max_x, int max_y) in interpolate_bilinear16()
259 int int_x = av_clip(x>>16, 0, max_x); in interpolate_bilinear16()
264 int int_x1 = FFMIN(int_x+1, max_x); in interpolate_bilinear16()
225 interpolate_bilinear8(uint8_t *dst_color, const uint8_t *src, int src_linesize, int src_linestep, int x, int y, int max_x, int max_y) interpolate_bilinear8() argument
255 interpolate_bilinear16(uint8_t *dst_color, const uint8_t *src, int src_linesize, int src_linestep, int x, int y, int max_x, int max_y) interpolate_bilinear16() argument
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_blit.c63 * \param max_x The clipping region's right coordinate
74 float min_x, float min_y, float max_x, float max_y, in compute_pixels_clipped()
79 if (!(min_x <= max_x && in compute_pixels_clipped()
81 x0 <= max_x && in compute_pixels_clipped()
94 if (max_x < x1) in compute_pixels_clipped()
95 *clipped_x1 = x1 - max_x; in compute_pixels_clipped()
73 compute_pixels_clipped(float x0, float y0, float x1, float y1, float min_x, float min_y, float max_x, float max_y, float *clipped_x0, float *clipped_y0, float *clipped_x1, float *clipped_y1) compute_pixels_clipped() argument
/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxedit.c434 int max_x = 0, max_y = 0; in GetAdjustedCanvasSize() local
448 if (max_x_pos > max_x) max_x = max_x_pos; in GetAdjustedCanvasSize()
451 *width = max_x; in GetAdjustedCanvasSize()
/third_party/skia/tests/
H A DWangsFormulaTest.cpp49 float min_x = P[0].fX, max_x = min_x, in wangs_formula_conic_reference_impl() local
53 max_x = std::max(max_x, P[i].fX); in wangs_formula_conic_reference_impl()
57 const SkPoint C = SkPoint::Make(0.5f * (min_x + max_x), 0.5f * (min_y + max_y)); in wangs_formula_conic_reference_impl()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blit.c101 * \param max_x The clipping region's right coordinate
112 float min_x, float min_y, float max_x, float max_y, in compute_pixels_clipped()
117 if (!(min_x <= max_x && in compute_pixels_clipped()
119 x0 <= max_x && in compute_pixels_clipped()
132 if (max_x < x1) in compute_pixels_clipped()
133 *clipped_x1 = x1 - max_x; in compute_pixels_clipped()
111 compute_pixels_clipped(float x0, float y0, float x1, float y1, float min_x, float min_y, float max_x, float max_y, float *clipped_x0, float *clipped_y0, float *clipped_x1, float *clipped_y1) compute_pixels_clipped() argument
/third_party/backends/backend/
H A Dplustek.h28 * - 0.37 - added max_x to struct Plustek_Device
348 SANE_Int max_x; /* max XY-extension of the scan-*/ member
H A Du12.h227 SANE_Int max_x; /* max XY-extension of the scan-*/ member
H A Du12-if.c422 /* FIXME: set dpi_range.max, max_x & max_y on a per model base */ in u12if_getCaps()
427 dev->max_x = 8.5 * (double)_MM_PER_INCH; in u12if_getCaps()
435 dev->x_range.max = SANE_FIX(dev->max_x); in u12if_getCaps()
H A Dmustek_usb.c129 SANE_Int max_x, max_y; in calc_parameters() local
176 max_x = s->hw->max_width * SANE_UNFIX (s->val[OPT_RESOLUTION].w) / 300; in calc_parameters()
184 if (s->width_dots > max_x) in calc_parameters()
185 s->width_dots = max_x; in calc_parameters()
198 if (s->tl_x_dots + s->width_dots > max_x) in calc_parameters()
199 s->tl_x_dots = max_x - s->width_dots; in calc_parameters()
H A Dmicrotek.h154 SANE_Int max_x; /* pixels */ member
H A Dmicrotek.c1597 /* Our max_x,y is in pixels. `Some scanners think in 1/8", though.' */ in parse_inquiry()
1601 mi->max_x = 8.5 * mi->base_resolution - 1; in parse_inquiry()
1605 mi->max_x = 8.5 * mi->base_resolution - 1; in parse_inquiry()
1609 mi->max_x = 8.5 * mi->base_resolution - 1; in parse_inquiry()
1613 mi->max_x = 8.5 * mi->base_resolution - 1; in parse_inquiry()
1617 mi->max_x = 8.0 * mi->base_resolution - 1; in parse_inquiry()
1621 mi->max_x = 8.3 * mi->base_resolution - 1; in parse_inquiry()
1625 mi->max_x = 8.3 * mi->base_resolution - 1; in parse_inquiry()
1629 mi->max_x = 8.0 * mi->base_resolution - 1; in parse_inquiry()
1634 mi->max_x in parse_inquiry()
[all...]
H A Depson.c1479 check_ext_status (Epson_Scanner * s, int *max_x, int *max_y) in check_ext_status() argument
1487 *max_x = 0; in check_ext_status()
1521 *max_x = buf[3] << 8 | buf[2]; in check_ext_status()
1576 *max_x = buf[8] << 8 | buf[7]; in check_ext_status()
1585 *max_x = (int) (w * s->hw->dpi_range.max); in check_ext_status()
4403 int max_x, max_y; in sane_start() local
4424 status = check_ext_status (s, &max_x, &max_y); in sane_start()
4442 check_ext_status (s, &max_x, &max_y); in sane_start()
4443 s->hw->adf_max_x = max_x; in sane_start()
4474 int max_x, max_ in sane_start() local
[all...]
H A Depjitsu.h116 int max_x; member
H A Dsharp.h395 SANE_Byte max_x[4]; member
H A Dnec.h368 SANE_Byte max_x[4]; member
H A Dplustek-pp.h550 SANE_Int max_x; /* max XY-extension of the scan-*/ member
H A Depjitsu.c1225 s->paper_x_range.max = SCANNER_UNIT_TO_FIXED_MM(s->max_x); in sane_get_option_descriptor()
1803 int max_x; member
2012 s->max_x = PIX_TO_SCANNER_UNIT( settings[i].max_x, settings[i].x_res ); in change_params()
2070 s->page_width = MIN(s->page_width, s->max_x); in change_params()
2073 s->tl_x = (s->max_x - s->page_width)/2; in change_params()
2074 s->br_x = (s->max_x + s->page_width)/2; in change_params()
2156 width = (settings[i].max_x * s->resolution / settings[i].x_res); in change_params()
5018 return s->max_x; in get_page_width()
H A Dcanon_dr.h195 int max_x; member
H A Dfujitsu.h314 int max_x; member
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c1039 int new_x, new_y, max_x; in get_texel_cube_seamless() local
1041 max_x = (int) u_minify(texture->width0, level); in get_texel_cube_seamless()
1059 if (y < 0 || y >= max_x) { in get_texel_cube_seamless()
1060 y = CLAMP(y, 0, max_x - 1); in get_texel_cube_seamless()
1062 new_x = get_next_xcoord(face, 0, max_x -1, x, y); in get_texel_cube_seamless()
1063 new_y = get_next_ycoord(face, 0, max_x -1, x, y); in get_texel_cube_seamless()
1065 } else if (x >= max_x) { in get_texel_cube_seamless()
1066 if (y < 0 || y >= max_x) { in get_texel_cube_seamless()
1067 y = CLAMP(y, 0, max_x - 1); in get_texel_cube_seamless()
1069 new_x = get_next_xcoord(face, 1, max_x in get_texel_cube_seamless()
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_rcl.c546 const uint32_t max_x = min_x + w - 1; in supertile_in_job_scissors() local
552 const uint32_t max_s_x = job->scissor.rects[i].max_x; in supertile_in_job_scissors()
555 if (max_x < min_s_x || min_x > max_s_x || in supertile_in_job_scissors()
/third_party/ffmpeg/libavcodec/
H A Derror_resilience.c561 int max_x, max_y, min_x, min_y, max_r, min_r; in guess_mv() local
579 max_y = max_x = max_r = -99999; in guess_mv()
581 min_x = min_y = max_x = max_y = min_r = max_r = 0; in guess_mv()
584 max_x = FFMAX(max_x, mv_predictor[j][0]); in guess_mv()
591 mv_predictor[pred_count + 1][0] = sum_x - max_x - min_x; in guess_mv()

Completed in 46 milliseconds

12