Home
last modified time | relevance | path

Searched refs:ymax (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.h126 bbox.ymax = vMaxY; in calcBoundingBoxIntVertical()
170 scisYmax = _simd_set_epi32(pScissorsInFixedPoint[pViewportIndex[7]].ymax, in GatherScissors()
171 pScissorsInFixedPoint[pViewportIndex[6]].ymax, in GatherScissors()
172 pScissorsInFixedPoint[pViewportIndex[5]].ymax, in GatherScissors()
173 pScissorsInFixedPoint[pViewportIndex[4]].ymax, in GatherScissors()
174 pScissorsInFixedPoint[pViewportIndex[3]].ymax, in GatherScissors()
175 pScissorsInFixedPoint[pViewportIndex[2]].ymax, in GatherScissors()
176 pScissorsInFixedPoint[pViewportIndex[1]].ymax, in GatherScissors()
177 pScissorsInFixedPoint[pViewportIndex[0]].ymax); in GatherScissors()
238 scisYmax = _simd16_set_epi32(pScissorsInFixedPoint[pViewportIndex[15]].ymax, in GatherScissors()
[all …]
Dapi.h50 int32_t ymax; ///< exclusive member
54 return (this->ymin == rhs.ymin && this->ymax == rhs.ymax && this->xmin == rhs.xmin &&
65 this->ymax = std::min(this->ymax, other.ymax); in Intersect()
67 if (xmax - xmin < 0 || ymax - ymin < 0) in Intersect()
70 ymin = ymax = xmin = xmax = 0; in Intersect()
82 this->ymax = std::max(this->ymax, other.ymax); in Union()
94 ymax += y; in Translate()
Dbinner.cpp917 Integer<SIMD_T> ymax = SIMD_T::add_epi32(bbox.ymax, SIMD_T::set1_epi32(128)); in BinTrianglesImpl() local
918 ymax = SIMD_T::and_si(ymax, SIMD_T::set1_epi32(~255)); in BinTrianglesImpl()
920 Integer<SIMD_T> vMaskV = SIMD_T::cmpeq_epi32(ymin, ymax); in BinTrianglesImpl()
957 scisYmax = SIMD_T::set1_epi32(state.scissorsInFixedPoint[0].ymax); in BinTrianglesImpl()
962 bbox.ymax = SIMD_T::sub_epi32(bbox.ymax, SIMD_T::set1_epi32(1)); in BinTrianglesImpl()
967 bbox.ymax = SIMD_T::min_epi32(bbox.ymax, scisYmax); in BinTrianglesImpl()
975 Integer<SIMD_T> topEqualsBottom = SIMD_T::cmpeq_epi32(bbox.ymin, bbox.ymax); in BinTrianglesImpl()
976 bbox.ymax = SIMD_T::blendv_epi32( in BinTrianglesImpl()
977 bbox.ymax, SIMD_T::add_epi32(bbox.ymax, SIMD_T::set1_epi32(1)), topEqualsBottom); in BinTrianglesImpl()
987 Integer<SIMD_T> maskOutsideScissorY = SIMD_T::cmpgt_epi32(bbox.ymin, bbox.ymax); in BinTrianglesImpl()
[all …]
Drasterizer_impl.h661 scissor.ymax = std::min(triBBox.ymax, scissorBBox.ymax);
664 POS bottomLeft{scissor.xmin, scissor.ymax};
666 POS bottomRight{scissor.xmax, scissor.ymax};
677 (rastEdges[4].b * (y - scissor.ymax)));
679 (rastEdges[5].b * (y - scissor.ymax)));
714 POS bottomLeft{scissor.xmin, scissor.ymax};
716 POS bottomRight{scissor.xmax, scissor.ymax};
727 (rastEdges[4].b * (y - scissor.ymax)));
729 (rastEdges[5].b * (y - scissor.ymax)));
1074 bbox.ymax++;
[all …]
Drasterizer.cpp171 bboxA.ymin > macroBoxBottom || bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine()
172 bboxA.ymax - 1 < macroBoxTop || bboxA.ymax - 1 < scissorInFixedPoint.ymin)) in RasterizeLine()
241 bboxA.ymin > macroBoxBottom || bboxA.ymin > scissorInFixedPoint.ymax || in RasterizeLine()
242 bboxA.ymax - 1 < macroBoxTop || bboxA.ymax - 1 < scissorInFixedPoint.ymin)) in RasterizeLine()
Dbackend_clear.cpp106 clearTile.ymax -= 1; in ClearMacroTile()
110 clearTile.ymax >>= (KNOB_TILE_Y_DIM_SHIFT); in ClearMacroTile()
141 for (int32_t y = clearTile.ymin; y <= clearTile.ymax; ++y) in ClearMacroTile()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddetection_post_process_fp32.c24 const float area_a = (a->ymax - a->ymin) * (a->xmax - a->xmin); in IntersectionOverUnion()
25 const float area_b = (b->ymax - b->ymin) * (b->xmax - b->xmin); in IntersectionOverUnion()
31 const float ymax = a->ymax < b->ymax ? a->ymax : b->ymax; in IntersectionOverUnion() local
33 const float h = ymax - ymin > 0.0f ? ymax - ymin : 0.0f; in IntersectionOverUnion()
60 decoded_box->ymax = y_center + h_half; in DecodeBoxes()
162 ((BboxCorner *)(output_boxes) + i)->ymax = 0; in DetectionPostProcessFast()
227 ((BboxCorner *)(output_boxes) + i)->ymax = 0; in DetectionPostProcessRegular()
/third_party/ffmpeg/libavfilter/
Dvf_find_rect.c37 int xmin, ymin, xmax, ymax; member
54 { "ymax", "", OFFSET(ymax), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS },
149 if (foc->ymax <= 0) in config_input()
150 foc->ymax = inlink->h - foc->obj_frame->height; in config_input()
155 static float search(FOCContext *foc, int pass, int maxpass, int xmin, int xmax, int ymin, int ymax,… in search() argument
161 … search(foc, pass+1, maxpass, xmin>>1, (xmax+1)>>1, ymin>>1, (ymax+1)>>1, &sub_x, &sub_y, 2.0); in search()
165 ymax = FFMIN(ymax, 2*sub_y + 4); in search()
168 for (y = ymin; y <= ymax; y++) { in search()
198 FFMIN(foc->ymax, foc->last_y + 8), in filter_frame()
201 best_score = search(foc, 0, foc->mipmaps - 1, foc->xmin, foc->xmax, foc->ymin, foc->ymax, in filter_frame()
/third_party/re2/benchlog/
Dmktable43 $ymax = 0;
52 if($val > $ymax) {
53 $ymax = $val;
69 while(10*$y <= $ymax) {
73 if($i*$y > $ymax) {
/third_party/mesa3d/src/intel/common/
Dintel_guardband.h30 float *ymin, float *ymax) in intel_calculate_guardband_size() argument
77 *ymax = 1.0f; in intel_calculate_guardband_size()
107 *ymax = MAX2(ndc_gb_ymin, ndc_gb_ymax); in intel_calculate_guardband_size()
113 *ymax = 0.0f; in intel_calculate_guardband_size()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DWaveformView.java92 float ymax = mOffsetY; in onDraw() local
97 canvas.drawLine(x0, ymin, x0, ymax, mWavePaint); in onDraw()
100 ymax = mOffsetY; in onDraw()
104 ymax = Math.max(ymax, y1); in onDraw()
/third_party/ffmpeg/libavcodec/
Dmotion_est.c118 … av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)); in cmp_direct_inline()
119 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ in cmp_direct_inline()
421 my > ymin && my < ymax) { in sad_hpel_motion_search()
537 c->ymax = - y + s->height; in get_limits()
543 c->ymax = (y < s->mb_height * 16 - 16) ? 15 : 0; in get_limits()
548 c->ymax = - y + s->mb_height*16 - 16; in get_limits()
556 c->ymax = FFMIN(c->ymax, range); in get_limits()
596 c->ymax = - 16*s->mb_y + s->height - 8*(block>>1); in h263_mv4_search()
613 if (P_TOP[1] > c->ymax * (1 << shift)) P_TOP[1] = c->ymax * (1 << shift); in h263_mv4_search()
616 if (P_TOPRIGHT[1] > c->ymax * (1 << shift)) P_TOPRIGHT[1] = c->ymax * (1 << shift); in h263_mv4_search()
[all …]
Dmotion_est_template.c36 const int av_unused ymax= c->ymax;\
83 my > ymin && my < ymax) { in hpel_motion_search()
146 av_assert2(bx >= xmin*2 && bx <= xmax*2 && by >= ymin*2 && by <= ymax*2); in hpel_motion_search()
245 my > ymin && my < ymax) { in qpel_motion_search()
348 av_assert2(bx >= xmin*4 && bx <= xmax*4 && by >= ymin*4 && by <= ymax*4); in qpel_motion_search()
368 av_assert2((y) <= ymax);\
383 const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\
409 if( (y)>(ymax<<(S)) ) av_log(NULL, AV_LOG_ERROR, "%d %d %d %d %d ymax" #v, ymax, (x), (y), s->mb_x,…
449 if(dir!=1 && y<ymax) CHECK_MV_DIR(x , y+1, 3) in small_diamond_search()
480 || y + dia_size > ymax in funny_diamond_search()
[all …]
Dpcx.c77 int compressed, xmin, ymin, xmax, ymax; in pcx_decode_frame() local
100 ymax = bytestream2_get_le16u(&gb); in pcx_decode_frame()
104 if (xmax < xmin || ymax < ymin) { in pcx_decode_frame()
110 h = ymax - ymin + 1; in pcx_decode_frame()
Dexr.c163 int32_t ymax, ymin; member
1236 if (line < s->ymin || line > s->ymax || in decode_block()
1257 if (line < s->ymin || line > s->ymax) in decode_block()
1264 … td->ysize = FFMIN(s->scan_lines_per_block, s->ymax - line + 1); /* s->ydelta - line ?? */ in decode_block()
1557 s->ymax = ~0; in decode_header()
1792 int xmin, ymin, xmax, ymax; in decode_header() local
1801 ymax = bytestream2_get_le32(gb); in decode_header()
1803 if (xmin > xmax || ymin > ymax || in decode_header()
1804 ymax == INT_MAX || xmax == INT_MAX || in decode_header()
1806 (unsigned)ymax - ymin >= INT_MAX) { in decode_header()
[all …]
/third_party/mesa3d/src/mesa/swrast/
Ds_points.c187 GLint xmin, xmax, ymin, ymax, iy; in sprite_point() local
199 ymax = (GLint) (y + iRadius); in sprite_point()
207 ymax = ymin + iSize - 1; in sprite_point()
211 for (iy = ymin; iy <= ymax; iy++) { in sprite_point()
307 const GLint ymax = (GLint) (y + radius); in smooth_point() local
310 for (iy = ymin; iy <= ymax; iy++) { in smooth_point()
403 GLint xmin, xmax, ymin, ymax, ix, iy; in large_point() local
414 ymax = (GLint) (y + iRadius); in large_point()
422 ymax = ymin + iSize - 1; in large_point()
427 for (iy = ymin; iy <= ymax; iy++) { in large_point()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dvoc_op.cc187 …VOCOp::CheckIfBboxValid(const float &xmin, const float &ymin, const float &xmax, const float &ymax, in CheckIfBboxValid() argument
189 if (!(xmin > 0 && ymin > 0 && xmax > xmin && ymax > ymin)) { in CheckIfBboxValid()
192 ", " + std::to_string(static_cast<int>(ymax)) + "}"; in CheckIfBboxValid()
218 float xmin = 0.0, ymin = 0.0, xmax = 0.0, ymax = 0.0, truncated = 0.0, difficult = 0.0; in ParseAnnotationBbox() local
229 ParseNodeValue(bbox_node, "ymax", &ymax); in ParseAnnotationBbox()
230 RETURN_IF_NOT_OK(CheckIfBboxValid(xmin, ymin, xmax, ymax, path)); in ParseAnnotationBbox()
236 ymin > 0 && xmax > xmin && ymax > ymin) { in ParseAnnotationBbox()
237 std::vector<float> bbox_list = {xmin, ymin, xmax - xmin, ymax - ymin, difficult, truncated}; in ParseAnnotationBbox()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/
DSDL_sysjoystick.c485 static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0; local
511 if (y > ymax) {
512 ymax = y;
514 if (ymin == ymax) {
516 ymax++;
519 v -= (ymax + ymin + 1) / 2;
520 v *= 32768 / ((ymax - ymin + 1) / 2);
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c69 GLint ymax = MAX2(0, ctx->Scissor.ScissorArray[i].Y + ctx->Scissor.ScissorArray[i].Height); in st_update_scissor() local
78 if (ymax < (GLint) scissor[i].maxy) in st_update_scissor()
79 scissor[i].maxy = ymax; in st_update_scissor()
/third_party/boost/libs/numeric/odeint/examples/
Dmolecular_dynamics_cells.cpp209 double xmax = 100.0 , double ymax = 100.0 , double cell_size = 2.0 ) in md_system_bs() argument
214 m_p.y_max = ymax; in md_system_bs()
218 m_p.n_cell_y = size_t( ymax / cell_size ); in md_system_bs()
318 double xmax = 100.0 , double ymax = 100.0 , double cell_size = 2.0 ) in make_md_system_bs() argument
320 return md_system_bs< LocalForce , Interaction >( n , f1 , f2 , xmax , ymax , cell_size ); in make_md_system_bs()
Dmolecular_dynamics.cpp42 double xmax = 150.0 , double ymax = 150.0 ) in md_system()
45 , m_xmax( xmax ) , m_ymax( ymax ) in md_system()
/third_party/mindspore/tests/ut/cpp/dataset/common/
Dbboxop_common.cc206 float xmin = 0.0, ymin = 0.0, xmax = 0.0, ymax = 0.0; in LoadAnnotationFile() local
216 if (ymax_node != nullptr) ymax = ymax_node->FloatText(); in LoadAnnotationFile()
221 if (xmin > 0 && ymin > 0 && xmax > xmin && ymax > ymin) { in LoadAnnotationFile()
222 for (auto item : {xmin, ymin, xmax - xmin, ymax - ymin}) { in LoadAnnotationFile()
/third_party/pixman/test/
Daffine-bench.c355 int32_t xmin, ymin, xmax, ymax; in main() local
407 ymax = pixman_fixed_to_int (transformed.y2 + pixman_fixed_1 / 2); in main()
426 create_image (xmax - xmin + 64, ymax - ymin + 1, src_format, filter, in main()
431 create_image (xmax - xmin + 64, ymax - ymin + 1, mask_format, filter, in main()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263ppay.c554 unsigned int xmax, ymax, mpi; in gst_rtp_h263p_pay_sink_getcaps() local
555 if (sscanf (str, "%u,%u,%u", &xmax, &ymax, &mpi) == 3) { in gst_rtp_h263p_pay_sink_getcaps()
556 if (xmax % 4 && ymax % 4 && mpi >= 1 && mpi <= 32) { in gst_rtp_h263p_pay_sink_getcaps()
557 caps = caps_append (caps, new_s, xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps()
561 " %u x %u at %u, ignoring", xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dssim.c68 const int ymax = (yo + VP8_SSIM_KERNEL > H - 1) ? H - 1 in SSIMGetClipped_C() local
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()

1234