Home
last modified time | relevance | path

Searched refs:y_max (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dmotion_estimation.c42 if (x >= x_min && x <= x_max && y >= y_min && y <= y_max)\
46 int width, int height, int x_min, int x_max, int y_min, int y_max) in ff_me_init_context() argument
56 me_ctx->y_max = y_max; in ff_me_init_context()
83 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_esa() local
89 for (y = y_min; y <= y_max; y++) in ff_me_search_esa()
102 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_tss() local
133 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_tdls() local
165 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_ntss() local
218 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_fss() local
250 int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); in ff_me_search_ds() local
[all …]
Dmotion_estimation.h54 int y_max; member
65 int width, int height, int x_min, int x_max, int y_min, int y_max);
Dvf_hysteresis.c183 int x_min, x_max, y_min, y_max, yy, xx; in hysteresis8() local
190 y_max = posy < h - 1 ? posy + 1 : posy; in hysteresis8()
192 for (yy = y_min; yy <= y_max; yy++) { in hysteresis8()
232 int x_min, x_max, y_min, y_max, yy, xx; in hysteresis16() local
239 y_max = posy < h - 1 ? posy + 1 : posy; in hysteresis16()
241 for (yy = y_min; yy <= y_max; yy++) { in hysteresis16()
Dvf_minterpolate.c270 y = av_clip(y, me_ctx->y_min, me_ctx->y_max); in get_sbad()
272 …v_clip(y_mv - y, -FFMIN(y - me_ctx->y_min, me_ctx->y_max - y), FFMIN(y - me_ctx->y_min, me_ctx->y_… in get_sbad()
292 int y_max = me_ctx->y_max - me_ctx->mb_size / 2; in get_sbad_ob() local
299 y = av_clip(y, y_min, y_max); in get_sbad_ob()
301 mv_y = av_clip(y_mv - y, -FFMIN(y - y_min, y_max - y), FFMIN(y - y_min, y_max - y)); in get_sbad_ob()
318 int y_max = me_ctx->y_max - me_ctx->mb_size / 2; in get_sad_ob() local
325 y = av_clip(y, y_min, y_max); in get_sad_ob()
327 y_mv = av_clip(y_mv, y_min, y_max); in get_sad_ob()
858 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip((mv_y * alpha) / ALPHA_MAX, y_min, y_max);\
863 …ixel_mvs->mvs[pixel_refs->nb][1] = av_clip(-mv_y * (ALPHA_MAX - alpha) / ALPHA_MAX, y_min, y_max);\
[all …]
Dvf_drawtext.c1298 int y_min = 32000, y_max = -32000; in draw_text() local
1385 y_max = FFMAX(glyph->bbox.yMax, y_max); in draw_text()
1389 s->max_glyph_h = y_max - y_min; in draw_text()
1426 s->positions[i].y = y - glyph->bitmap_top + y_max; in draw_text()
1438 s->var_values[VAR_MAX_GLYPH_A] = s->var_values[VAR_ASCENT ] = y_max; in draw_text()
/third_party/mindspore/mindspore/explainer/explanation/_counterfactual/
Dhierarchical_occlusion.py267 x_max, y_max = cls._get_step_xy_max(step, background.shape[-1], background.shape[-2])
269 if x_max <= step.x or y_max <= step.y:
273 background[..., step.y:y_max, step.x:x_max] = mask[..., step.y:y_max, step.x:x_max]
278 background[..., c, step.y:y_max, step.x:x_max] = mask[c]
334 x_max, y_max = cls._get_step_xy_max(step, background.shape[-1], background.shape[-2])
336 if x_max <= step.x or y_max <= step.y:
339 background[..., step.y:y_max, step.x:x_max] = image[..., step.y:y_max, step.x:x_max]
373 y_max = step.y + step.height
378 if y_max > y_limit:
379 y_max = y_limit
[all …]
/third_party/boost/boost/numeric/conversion/detail/
Dold_numeric_cast.hpp194 static inline bool check(X x, Y y_max) in check()
195 { return x > y_max; } in check()
212 static inline bool check(X x, Y y_max) in check()
213 { return x > y_max; } in check()
/third_party/boost/libs/numeric/odeint/examples/
Dmolecular_dynamics_cells.cpp119 double x_max , y_max , cell_size; member
192 if( cell_index[1] >= m_p.n_cell_y ) x2[1] += m_p.y_max; in operator ()()
193 if( cell_index[1] < 0 ) x2[1] -= m_p.y_max; in operator ()()
214 m_p.y_max = ymax; in md_system_bs()
281 x[i][1] = periodic_bc( x[ i ][1] , m_p.y_max ); in bc()
294 return point_type( periodic_bc( x[0] , p.x_max ) , periodic_bc( x[1] , p.y_max ) ); in periodic_bc()
372 … std::cout << "p [0:" << sys.m_p.x_max << "][0:" << sys.m_p.y_max << "] '-' pt 7 ps 0.5" << "\n"; in main()
/third_party/freetype/src/sfnt/
Dttcolr.c308 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local
317 y_max = FT_MAX( dstSlot->bitmap_top, srcSlot->bitmap_top ); in tt_face_colr_blend_layer()
322 y_max != dstSlot->bitmap_top ) in tt_face_colr_blend_layer()
327 FT_UInt rows = (FT_UInt)( y_max - y_min ); in tt_face_colr_blend_layer()
341 (int)pitch * ( y_max - dstSlot->bitmap_top ) + in tt_face_colr_blend_layer()
354 dstSlot->bitmap_top = y_max; in tt_face_colr_blend_layer()
Dsfwoff2.c676 FT_Int y_max = 0; in compute_bbox() local
689 y_max = points[0].y; in compute_bbox()
701 y_max = FT_MAX( y, y_max ); in compute_bbox()
711 WRITE_SHORT( pointer, y_max ); in compute_bbox()
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c309 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local
318 y_max = FT_MAX( dstSlot->bitmap_top, srcSlot->bitmap_top ); in tt_face_colr_blend_layer()
323 y_max != dstSlot->bitmap_top ) in tt_face_colr_blend_layer()
328 FT_UInt rows = (FT_UInt)( y_max - y_min ); in tt_face_colr_blend_layer()
342 (int)pitch * ( y_max - dstSlot->bitmap_top ) + in tt_face_colr_blend_layer()
355 dstSlot->bitmap_top = y_max; in tt_face_colr_blend_layer()
/third_party/mindspore/mindspore/nn/layer/
Dmath.py717 y_max = self.select(comp_less, y, x)
729 log_gamma_correction_y = _log_gamma_correction(y_max, self.minimax_coeff)
733 log_beta_two_large = self.const(0.5 * self.log_2pi, x_dtype) - 0.5 * self.log(y_max) \
735 … + (x_min - 0.5) * self.log(x_min / (x_min + y_max)) - y_max * self.log1p(x_min / y_max)
737 …cancelled_stirling = -1 * (x_min + y_max - 0.5) * self.log1p(x_min / y_max) - x_min * self.log(y_m…
745 log_beta_small = self.lgamma(x_min) + self.lgamma(y_max) - self.lgamma(x_min + y_max)
747 comp_yless8 = self.less(y_max, 8)
/third_party/mesa3d/src/intel/vulkan/
Dgfx7_cmd_buffer.c84 uint32_t y_max = s->offset.y + s->extent.height - 1; in gfx7_cmd_buffer_emit_scissor() local
93 y_max = clamp_int64((uint64_t) y_max, 0, in gfx7_cmd_buffer_emit_scissor()
102 y_max = clamp_int64((uint64_t) y_max, 0, fb->height - 1); in gfx7_cmd_buffer_emit_scissor()
109 .ScissorRectangleYMax = y_max, in gfx7_cmd_buffer_emit_scissor()
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pynative/
Dops_test.py44 y_max = y + stride[2] * out_h
47 col[:, :, y, x, :, :] = img[:, :, y:y_max:stride[2], x:x_max:stride[2]]
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_mouse.c251 int x_max = 0, y_max = 0; local
254 SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
256 --y_max;
265 if (mouse->y > y_max) {
266 mouse->y = y_max;
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c1155 FT_Int x_min, x_max, y_min, y_max; in tt_face_colr_blend_layer() local
1164 y_max = FT_MAX( dstSlot->bitmap_top, srcSlot->bitmap_top ); in tt_face_colr_blend_layer()
1169 y_max != dstSlot->bitmap_top ) in tt_face_colr_blend_layer()
1174 FT_UInt rows = (FT_UInt)( y_max - y_min ); in tt_face_colr_blend_layer()
1188 (int)pitch * ( y_max - dstSlot->bitmap_top ) + in tt_face_colr_blend_layer()
1201 dstSlot->bitmap_top = y_max; in tt_face_colr_blend_layer()
Dsfwoff2.c665 FT_Int y_max = 0; in compute_bbox() local
678 y_max = points[0].y; in compute_bbox()
690 y_max = FT_MAX( y, y_max ); in compute_bbox()
700 WRITE_SHORT( pointer, y_max ); in compute_bbox()
/third_party/mindspore/tests/vm_impl/
Dvm_me.py198 y_max = y + stride_h * out_h
201 img[:, :, y:y_max:stride_h, x:x_max:stride_h] += col[:, :, y, x, :, :]
395 y_max = y + stride_h * out_h
398 col[:, :, y, x, :, :] = img[:, :, y:y_max:stride_h, x:x_max:stride_h]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dresize_cubic_op.cc189 int y_max = regions[yy * 2 + 1]; in ImagingVerticalInterp() local
192 for (int y = 0; y < y_max; y++) { in ImagingVerticalInterp()
/third_party/gstreamer/gstplugins_bad/gst/librfb/
Drfbdecoder.c1015 gint32 y, y_count G_GNUC_UNUSED, y_end, y_max, y_max_16; in rfb_decoder_hextile_encoding() local
1025 y_max = start_y + rect_h; in rfb_decoder_hextile_encoding()
1027 y_max_16 = y_max - 16; in rfb_decoder_hextile_encoding()
1029 for (y = start_y; y < y_max; y += 16) { in rfb_decoder_hextile_encoding()
/third_party/freetype/src/raster/
Dftraster.c383 Short y_max; /* band's maximum */ member
3049 ras.maxY = (Long)ras.band_stack[ras.band_top].y_max * ras.precision; in Render_Single_Pass()
3070 j = ras.band_stack[ras.band_top].y_max; in Render_Single_Pass()
3083 ras.band_stack[ras.band_top + 1].y_max = j; in Render_Single_Pass()
3085 ras.band_stack[ras.band_top].y_max = (Short)( k - 1 ); in Render_Single_Pass()
3148 ras.band_stack[0].y_max = (Short)( ras.target.rows - 1 ); in Render_Glyph()
3171 ras.band_stack[0].y_max = (Short)( ras.target.width - 1 ); in Render_Glyph()
/third_party/flutter/skia/third_party/externals/freetype/src/raster/
Dftraster.c384 Short y_max; /* band's maximum */ member
3026 ras.maxY = (Long)ras.band_stack[ras.band_top].y_max * ras.precision; in Render_Single_Pass()
3047 j = ras.band_stack[ras.band_top].y_max; in Render_Single_Pass()
3060 ras.band_stack[ras.band_top + 1].y_max = j; in Render_Single_Pass()
3062 ras.band_stack[ras.band_top].y_max = (Short)( k - 1 ); in Render_Single_Pass()
3125 ras.band_stack[0].y_max = (Short)( ras.target.rows - 1 ); in Render_Glyph()
3148 ras.band_stack[0].y_max = (Short)( ras.target.width - 1 ); in Render_Glyph()
/third_party/ffmpeg/libavcodec/
Dnotchlc.c249 unsigned y_max = (item >> 12) & 4095; in decode_blocks() local
250 unsigned y_diff = y_max - y_min; in decode_blocks()
/third_party/skia/third_party/externals/freetype/src/raster/
Dftraster.c3017 Int y_max ) in Render_Single_Pass() argument
3027 ras.maxY = (Long)y_max * ras.precision; in Render_Single_Pass()
3040 if ( y_min == y_max ) in Render_Single_Pass()
3043 y_mid = ( y_min + y_max ) >> 1; in Render_Single_Pass()
3057 y_max = y_min - 1; in Render_Single_Pass()
/third_party/boost/boost/math/quadrature/detail/
Dsinh_sinh_detail.hpp155 K y_max = f(boost::math::tools::max_value<Real>()); in integrate() local
156 if(abs(y_max) > boost::math::tools::epsilon<Real>()) in integrate()
159 …ing to integrate does not go to zero at infinity, and instead evaluates to %1%", y_max, Policy())); in integrate()
166 …ng to integrate does not go to zero at -infinity, and instead evaluates to %1%", y_max, Policy())); in integrate()

12