Home
last modified time | relevance | path

Searched refs:max_x (Results 1 – 25 of 43) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-ot-cff2-table.cc39 max_x.set_int (-0x80000000); in init()
50 if (pt.x > max_x) max_x = pt.x; in update_bounds()
58 Number max_x; member
114 if (param.min_x >= param.max_x) in get_extents()
122 extents->width = (int32_t)param.max_x.ceil () - extents->x_bearing; in get_extents()
/external/tensorflow/tensorflow/core/kernels/
Dquantized_add_op.cc160 float max_x, const T* y_data, float min_y, float max_y, in VectorAddition() argument
165 x_data[i], min_x, max_x, output_min, output_max); in VectorAddition()
176 float max_x, const quint8* y_data, float min_y, float max_y, in VectorAddition() argument
179 const float x_0_float = QuantizedToFloat<quint8>(0, min_x, max_x); in VectorAddition()
180 const float x_1_float = QuantizedToFloat<quint8>(1, min_x, max_x); in VectorAddition()
245 float max_x, const quint8* y_data, float min_y, float max_y, in VectorAddition() argument
248 const float x_0_float = QuantizedToFloat<quint8>(0, min_x, max_x); in VectorAddition()
249 const float x_1_float = QuantizedToFloat<quint8>(1, min_x, max_x); in VectorAddition()
461 const float max_x = context->input(3).flat<float>()(0); in Compute() local
479 OP_REQUIRES(context, (max_x > min_x), in Compute()
[all …]
Dquantized_mul_op.cc288 const float max_x = context->input(3).flat<float>()(0); in Compute() local
306 OP_REQUIRES(context, (max_x > min_x), in Compute()
310 const int32 offset_x = FloatToQuantizedUnclamped<T>(0.0f, min_x, max_x); in Compute()
374 min_x, max_x, min_y, max_y, &min_z_value, &max_z_value); in Compute()
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp203 float max_x = -10000 * 1.0f; in CalcPositionData() local
233 max_x = std::max(max_x, std::max(char_left, char_right)); in CalcPositionData()
246 max_x = std::max( in CalcPositionData()
247 max_x, static_cast<float>(std::max(char_rect.left, char_rect.right))); in CalcPositionData()
265 max_x = max_x * fontsize / 1000; in CalcPositionData()
272 GetTextMatrix().TransformRect(min_x, max_x, max_y, min_y); in CalcPositionData()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dimage-inl.h417 const int max_x = Clip(orig_x + 1, ZERO, original.width_less_one_); in DownsampleSmoothed3x3() local
423 pixel_sum += (original[orig_y][max_x] + in DownsampleSmoothed3x3()
429 pixel_sum += (original[min_y][max_x] + in DownsampleSmoothed3x3()
431 original[max_y][max_x] + in DownsampleSmoothed3x3()
441 const int max_x = original.width_less_one_; in DownsampleSmoothed5x5() local
462 const int start_x = Clip((x << 1) - window_radius, ZERO, max_x); in DownsampleSmoothed5x5()
488 const int max_x = Clip(center_x + 1, ZERO, original.width_less_one_); in ScharrPixelX() local
493 return (3 * (original[min_y][max_x] in ScharrPixelX()
494 + original[max_y][max_x] in ScharrPixelX()
497 + 10 * (original[center_y][max_x] in ScharrPixelX()
[all …]
Dsprite.h70 const float max_x = float_width / texture_width_; in Draw() local
75 max_x, 0, in Draw()
76 max_x, max_y, in Draw()
Dimage_utils.h74 const int max_x = MIN(x + d_x, img->width_less_one_); in MarkImage() local
80 const int x_width = max_x - min_x + 1; in MarkImage()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c69 float min_x, float min_y, float max_x, float max_y, in compute_pixels_clipped() argument
73 if (!(min_x <= max_x && in compute_pixels_clipped()
75 x0 <= max_x && in compute_pixels_clipped()
88 if (max_x < x1) in compute_pixels_clipped()
89 *clipped_x1 = x1 - max_x; in compute_pixels_clipped()
/external/ImageMagick/coders/
Dexr.c71 max_x, member
215 &display_window.max_x,&display_window.max_y); in ReadEXRImage()
216 image->columns=display_window.max_x-display_window.min_x+1UL; in ReadEXRImage()
234 &data_window.max_x,&data_window.max_y); in ReadEXRImage()
235 columns=(ssize_t) data_window.max_x-data_window.min_x+1UL; in ReadEXRImage()
236 if ((display_window.min_x > data_window.max_x) || in ReadEXRImage()
281 if ((xx < 0) || (display_window.min_x+(int) x > data_window.max_x)) in ReadEXRImage()
Dsixel.c240 int max_x, max_y; in sixel_decode() local
254 max_x = max_y = 0; in sixel_decode()
481 if (max_x < posision_x) { in sixel_decode()
482 max_x = posision_x; in sixel_decode()
511 if (max_x < (posision_x + repeat_count - 1)) { in sixel_decode()
512 max_x = posision_x + repeat_count - 1; in sixel_decode()
532 if (++max_x < attributed_ph) { in sixel_decode()
533 max_x = attributed_ph; in sixel_decode()
539 if (imsx > max_x || imsy > max_y) { in sixel_decode()
540 dmsx = max_x; in sixel_decode()
/external/pdfium/third_party/agg23/
Dagg_render_scanlines.h25 sl.reset(ras.min_x(), ras.max_x()); in render_scanlines()
26 ren.prepare(unsigned(ras.max_x() - ras.min_x() + 2)); in render_scanlines()
Dagg_scanline_u.h55 void reset(int min_x, int max_x) in reset() argument
57 unsigned max_len = max_x - min_x + 2; in reset()
Dagg_rasterizer_scanline_aa.h89 int max_x() const in max_x() function
209 int max_x() const in max_x() function
211 return m_outline.max_x(); in max_x()
/external/webp/src/enc/
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()
/external/blktrace/btt/
Dbtt_plot.py161 min_x = max_x = min_y = max_y = None
174 (min_x, max_x, x) = check(min_x, max_x, f[0])
186 db['max_x'] = max_x
/external/libhevc/encoder/
Dihevce_inter_pred.c493 WORD32 min_x, max_x = ps_ref_pic_l0->s_yuv_buf_desc.i4_y_wd; in ihevce_luma_inter_pred_pu() local
501 max_x += ps_inter_pred_ctxt->ai4_tile_xtra_pel[E_RIGHT] in ihevce_luma_inter_pred_pu()
514 if((frm_x_ofst < min_x) || (frm_x_ofst + pu_wd) > max_x) in ihevce_luma_inter_pred_pu()
604 WORD32 min_x, max_x = ps_ref_pic_l1->s_yuv_buf_desc.i4_y_wd; in ihevce_luma_inter_pred_pu() local
612 max_x += ps_inter_pred_ctxt->ai4_tile_xtra_pel[E_RIGHT] in ihevce_luma_inter_pred_pu()
625 if((frm_x_ofst < min_x) || (frm_x_ofst + pu_wd) > max_x) in ihevce_luma_inter_pred_pu()
Dhme_refine.c2911 else if((mvdx < 0) && (ps_cluster_data->max_x < mvx)) in hme_update_cluster_attributes()
2913 ps_cluster_data->max_x = mvx; in hme_update_cluster_attributes()
3077 ? ((ps_cur_cluster->max_x > ps_cluster_data->max_x) ? 0 : 2) in hme_try_cluster_merge()
3105 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3107 mvd_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3163 mvdx_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3168 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3221 mvdx_q8 = (ps_cur_cluster->max_x << 8) - ps_centroid->i4_pos_x_q8; in hme_try_cluster_merge()
3229 ps_cur_cluster->max_x = ps_cluster_data->max_x; in hme_try_cluster_merge()
3331 ps_data->max_x = mvx; in hme_find_and_update_clusters()
[all …]
/external/pdfium/core/fxcrt/
Dfx_coordinates.cpp62 float max_x = pPoints->x; in GetBBox() local
67 max_x = std::max(max_x, pPoints[i].x); in GetBBox()
71 return CFX_FloatRect(min_x, min_y, max_x, max_y); in GetBBox()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dtouch_device.py158 max_x = int(result.group(2))
160 axis_x = AbsAxis(min_x, max_x, resolution_x)
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c111 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
116 max_x = ctx->DrawBuffer->Width - 1; in radeonUpdateScissor()
132 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x); in radeonUpdateScissor()
134 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x); in radeonUpdateScissor()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c111 int min_x, min_y, max_x, max_y; in radeonUpdateScissor() local
116 max_x = ctx->DrawBuffer->Width - 1; in radeonUpdateScissor()
132 rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x); in radeonUpdateScissor()
134 rmesa->state.scissor.rect.x2 = CLAMP(x2, min_x, max_x); in radeonUpdateScissor()
/external/webp/src/mux/
Dmuxedit.c436 int max_x = 0, max_y = 0; in GetAdjustedCanvasSize() local
450 if (max_x_pos > max_x) max_x = max_x_pos; in GetAdjustedCanvasSize()
453 *width = max_x; in GetAdjustedCanvasSize()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QuantizedAdd.pbtxt10 name: "max_x"
Dapi_def_QuantizedMul.pbtxt10 name: "max_x"
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c886 int new_x, new_y, max_x; in get_texel_cube_seamless() local
888 max_x = (int) u_minify(texture->width0, level); in get_texel_cube_seamless()
906 if (y < 0 || y >= max_x) { in get_texel_cube_seamless()
907 y = CLAMP(y, 0, max_x - 1); in get_texel_cube_seamless()
909 new_x = get_next_xcoord(face, 0, max_x -1, x, y); in get_texel_cube_seamless()
910 new_y = get_next_ycoord(face, 0, max_x -1, x, y); in get_texel_cube_seamless()
912 } else if (x >= max_x) { in get_texel_cube_seamless()
913 if (y < 0 || y >= max_x) { in get_texel_cube_seamless()
914 y = CLAMP(y, 0, max_x - 1); in get_texel_cube_seamless()
916 new_x = get_next_xcoord(face, 1, max_x -1, x, y); in get_texel_cube_seamless()
[all …]

12