Home
last modified time | relevance | path

Searched refs:xmin (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/bsd/
A DSDL_sysjoystick.c548 static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0; local
554 if (x < xmin) {
555 xmin = x;
560 if (xmin == xmax) {
561 xmin--;
565 v -= (xmax + xmin + 1) / 2;
566 v *= 32768 / ((xmax - xmin + 1) / 2);
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h889 …fillScanline(unsigned char* scanline, int len, int x0, int x1, int maxWeight, int* xmin, int* xmax) in nsvg__fillScanline() argument
893 if (i < *xmin) *xmin = i; in nsvg__fillScanline()
919 …(unsigned char* scanline, int len, NSVGactiveEdge* e, int maxWeight, int* xmin, int* xmax, char fi… in nsvg__fillActiveEdges() argument
934 nsvg__fillScanline(scanline, len, x0, x1, maxWeight, xmin, xmax); in nsvg__fillActiveEdges()
946 nsvg__fillScanline(scanline, len, x0, x1, maxWeight, xmin, xmax); in nsvg__fillActiveEdges()
1119 int xmin, xmax; in nsvg__rasterizeSortedEdges() local
1123 xmin = r->width; in nsvg__rasterizeSortedEdges()
1189 nsvg__fillActiveEdges(r->scanline, r->width, active, maxWeight, &xmin, &xmax, fillRule); in nsvg__rasterizeSortedEdges()
1192 if (xmin < 0) xmin = 0; in nsvg__rasterizeSortedEdges()
1194 if (xmin <= xmax) { in nsvg__rasterizeSortedEdges()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Ddetection_postprocess.cc73 float xmin; member
340 box.xmin = xcenter - half_w; in DecodeCenterSizeBoxes()
373 if (box.ymin >= box.ymax || box.xmin >= box.xmax) { in ValidateBoxes()
384 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion()
385 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion()
388 const float intersection_xmin = std::max<float>(box_i.xmin, box_j.xmin); in ComputeIntersectionOverUnion()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dssim.c70 const int xmin = (xo - VP8_SSIM_KERNEL < 0) ? 0 : xo - VP8_SSIM_KERNEL; in SSIMGetClipped_C() local
77 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped_C()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_gesture.c347 float xmin,xmax,ymin,ymax; in dollarNormalize() local
400 xmin = centroid.x; in dollarNormalize()
417 if (points[i].x < xmin) xmin = points[i].x; in dollarNormalize()
424 w = xmax-xmin; in dollarNormalize()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Drdrle.c115 width = source->header.xmax - source->header.xmin + 1; in start_input_rle()
117 source->header.xmin = 0; /* realign horizontally */ in start_input_rle()
A Dwrrle.c188 header.xmin = 0; in finish_output_rle()
/AliOS-Things-master/components/freetype/src/base/
A Dftoutln.c837 FT_Pos xmin;
849 xmin = first->x;
854 if ( point->x < xmin )
856 xmin = point->x;
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c128 int xmin = refRect.x; in rect_testIntersectRectAndLineInside() local
132 int x1Ref = SDLTest_RandomIntegerInRange(xmin + 1, xmax - 1); in rect_testIntersectRectAndLineInside()
134 int x2Ref = SDLTest_RandomIntegerInRange(xmin + 1, xmax - 1); in rect_testIntersectRectAndLineInside()
153 x1 = xmin; in rect_testIntersectRectAndLineInside()
159 …ectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymin, x2Ref, y2Ref… in rect_testIntersectRectAndLineInside()
161 x1 = xmin; in rect_testIntersectRectAndLineInside()
167 …RectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymin, xmax, ymax); in rect_testIntersectRectAndLineInside()
169 x1 = xmin; in rect_testIntersectRectAndLineInside()
175 …RectAndLineResults(intersected, SDL_TRUE, &rect, &refRect, x1, y1, x2, y2, xmin, ymax, xmax, ymin); in rect_testIntersectRectAndLineInside()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/
A Dget_disto.c140 const int xmin = (xo - SSIM_KERNEL < 0) ? 0 : xo - SSIM_KERNEL; in SSIMGetClipped() local
146 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped()
/AliOS-Things-master/components/ucloud_ai/
A DREADME.md464 box.xmin: 214.05966186523438

Completed in 30 milliseconds