Home
last modified time | relevance | path

Searched refs:prect (Results 1 – 25 of 33) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/mi/
H A Dmifillrct.c76 xRectangle *prect; in miPolyFillRect() local
88 prect = prectInit; in miPolyFillRect()
90 for (i = 0; i < nrectFill; i++, prect++) { in miPolyFillRect()
91 prect->x += xorg; in miPolyFillRect()
92 prect->y += yorg; in miPolyFillRect()
93 maxheight = max(maxheight, prect->height); in miPolyFillRect()
97 prect = prectInit; in miPolyFillRect()
99 for (i = 0; i < nrectFill; i++, prect++) in miPolyFillRect()
100 maxheight = max(maxheight, prect->height); in miPolyFillRect()
111 prect = prectInit; in miPolyFillRect()
[all …]
H A Dmiexpose.c413 xRectangle *prect; in miPaintWindow() local
518 prect = xallocarray(RegionNumRects(prgn), sizeof(xRectangle)); in miPaintWindow()
519 if (!prect) in miPaintWindow()
524 free(prect); in miPaintWindow()
533 for (i = numRects; --i >= 0; pbox++, prect++) { in miPaintWindow()
534 prect->x = pbox->x1 - draw_x_off; in miPaintWindow()
535 prect->y = pbox->y1 - draw_y_off; in miPaintWindow()
536 prect->width = pbox->x2 - pbox->x1; in miPaintWindow()
537 prect->height = pbox->y2 - pbox->y1; in miPaintWindow()
539 prect -= numRects; in miPaintWindow()
[all …]
H A Dmibitblt.c79 BoxRec srcBox, *prect; in miCopyArea() local
201 prect = &boxes[ordering[i]]; in miCopyArea()
202 xMin = max(prect->x1, srcBox.x1); in miCopyArea()
203 xMax = min(prect->x2, srcBox.x2); in miCopyArea()
204 yMin = max(prect->y1, srcBox.y1); in miCopyArea()
205 yMax = min(prect->y2, srcBox.y2); in miCopyArea()
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_rects.c46 GCPtr gc, int nrect, xRectangle *prect) in glamor_poly_fill_rect_gl() argument
69 glamor_bounds_union_rect(&bounds, &prect[i]); in glamor_poly_fill_rect_gl()
94 memcpy(v, prect, nrect * sizeof (xRectangle)); in glamor_poly_fill_rect_gl()
116 v[0] = prect->x; v[1] = prect->y; in glamor_poly_fill_rect_gl()
117 v[2] = prect->x; v[3] = prect->y + prect->height; in glamor_poly_fill_rect_gl()
118 v[4] = prect->x + prect->width; v[5] = prect->y + prect->height; in glamor_poly_fill_rect_gl()
119 v[6] = prect->x + prect->width; v[7] = prect->y; in glamor_poly_fill_rect_gl()
120 prect++; in glamor_poly_fill_rect_gl()
180 GCPtr gc, int nrect, xRectangle *prect) in glamor_poly_fill_rect_bail() argument
186 fbPolyFillRect(drawable, gc, nrect, prect); in glamor_poly_fill_rect_bail()
[all …]
H A Dglamor_render.c1413 glamor_composite_rect_t *prect = rect; in glamor_composite_clipped_region() local
1553 prect = calloc(nbox, sizeof(*prect)); in glamor_composite_clipped_region()
1554 if (prect) in glamor_composite_clipped_region()
1557 prect = rect; in glamor_composite_clipped_region()
1566 prect[i].x_src = box[i].x1 + x_temp_src - x_dest; in glamor_composite_clipped_region()
1567 prect[i].y_src = box[i].y1 + y_temp_src - y_dest; in glamor_composite_clipped_region()
1568 prect[i].x_mask = box[i].x1 + x_temp_mask - x_dest; in glamor_composite_clipped_region()
1569 prect[i].y_mask = box[i].y1 + y_temp_mask - y_dest; in glamor_composite_clipped_region()
1570 prect[i].x_dst = box[i].x1; in glamor_composite_clipped_region()
1571 prect[i].y_dst = box[i].y1; in glamor_composite_clipped_region()
[all …]
/OK3568_Linux_fs/external/linux-rga/im2d_api/src/
H A Dim2d.cpp817 im_rect prect; in imcopy() local
819 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imcopy()
832 ret = improcess(src, dst, pat, srect, drect, prect, -1, release_fence_fd, &opt, usage); in imcopy()
847 im_rect prect; in imresize() local
849 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imresize()
884 ret = improcess(src, dst, pat, srect, drect, prect, -1, release_fence_fd, &opt, usage); in imresize()
899 im_rect prect; in imcvtcolor() local
901 empty_structure(NULL, NULL, &pat, &srect, &drect, &prect, &opt); in imcvtcolor()
913 ret = improcess(src, dst, pat, srect, drect, prect, -1, release_fence_fd, &opt, usage); in imcvtcolor()
927 im_rect prect; in imcrop() local
[all …]
H A Dim2d_impl.h92 im_rect *srect, im_rect *drect, im_rect *prect, im_opt_t *opt);
119 im_rect srect, im_rect drect, im_rect prect,
124 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_impl.cpp400 im_rect *srect, im_rect *drect, im_rect *prect, im_opt_t *opt) { in empty_structure() argument
411 if (prect != NULL) in empty_structure()
412 memset(prect, 0, sizeof(*prect)); in empty_structure()
1527 im_rect srect, im_rect drect, im_rect prect, in rga_task_submit() argument
1580 rga_apply_rect(&pat, &prect); in rga_task_submit()
1588 …rga_set_rect(&patinfo.rect, prect.x, prect.y, pat.width, pat.height, pat.wstride, pat.hstride, pat… in rga_task_submit()
1591 ret = rga_check(src, dst, pat, srect, drect, prect, usage); in rga_task_submit()
1946 rga_dump_channel_info(IM_LOG_ERROR | IM_LOG_FORCE, "src1/pat", prect, pat); in rga_task_submit()
1965 im_rect srect, im_rect drect, im_rect prect, in rga_single_task_submit() argument
1968 …return rga_task_submit(0, src, dst, pat, srect, drect, prect, acquire_fence_fd, release_fence_fd, … in rga_single_task_submit()
[all …]
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c619 xRectangle *prect; in exaPolyPoint() local
629 prect = xallocarray(npt, sizeof(xRectangle)); in exaPolyPoint()
631 prect[i].x = ppt[i].x; in exaPolyPoint()
632 prect[i].y = ppt[i].y; in exaPolyPoint()
634 prect[i].x += prect[i - 1].x; in exaPolyPoint()
635 prect[i].y += prect[i - 1].y; in exaPolyPoint()
637 prect[i].width = 1; in exaPolyPoint()
638 prect[i].height = 1; in exaPolyPoint()
640 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect); in exaPolyPoint()
641 free(prect); in exaPolyPoint()
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbfillrect.c30 fbPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrect, xRectangle *prect) in fbPolyFillRect() argument
50 fullX1 = prect->x + xorg; in fbPolyFillRect()
51 fullY1 = prect->y + yorg; in fbPolyFillRect()
52 fullX2 = fullX1 + (int) prect->width; in fbPolyFillRect()
53 fullY2 = fullY1 + (int) prect->height; in fbPolyFillRect()
54 prect++; in fbPolyFillRect()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/
H A Dim2d_mpi.h71 im_rect srect, im_rect drect, im_rect prect,
76 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_task.h492 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_single.h443 im_rect srect, im_rect drect, im_rect prect,
480 im_rect srect, im_rect drect, im_rect prect, int usage);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/
H A Dim2d_mpi.h71 im_rect srect, im_rect drect, im_rect prect,
76 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_task.h492 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_single.h443 im_rect srect, im_rect drect, im_rect prect,
480 im_rect srect, im_rect drect, im_rect prect, int usage);
/OK3568_Linux_fs/external/linux-rga/im2d_api/
H A Dim2d_mpi.h71 im_rect srect, im_rect drect, im_rect prect,
76 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_task.h492 im_rect srect, im_rect drect, im_rect prect,
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/
H A Dim2d_mpi.h71 im_rect srect, im_rect drect, im_rect prect,
76 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_task.h492 im_rect srect, im_rect drect, im_rect prect,
H A Dim2d_single.h443 im_rect srect, im_rect drect, im_rect prect,
480 im_rect srect, im_rect drect, im_rect prect, int usage);
/OK3568_Linux_fs/external/xserver/dix/
H A Dregion.c1315 RegionFromRects(int nrects, xRectangle *prect, int ctype) in RegionFromRects() argument
1331 x1 = prect->x; in RegionFromRects()
1332 y1 = prect->y; in RegionFromRects()
1333 if ((x2 = x1 + (int) prect->width) > MAXSHORT) in RegionFromRects()
1335 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
1353 for (i = nrects; --i >= 0; prect++) { in RegionFromRects()
1354 x1 = prect->x; in RegionFromRects()
1355 y1 = prect->y; in RegionFromRects()
1356 if ((x2 = x1 + (int) prect->width) > MAXSHORT) in RegionFromRects()
1358 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/
H A Dim2d.hpp336 im_rect srect, im_rect drect, im_rect prect,
339 im_rect srect, im_rect drect, im_rect prect,
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddriver.c1237 xRectangle *prect) in msUpdateIntersect() argument
1258 prect->x = box->x1; in msUpdateIntersect()
1259 prect->y = box->y1; in msUpdateIntersect()
1260 prect->width = box->x2 - box->x1; in msUpdateIntersect()
1261 prect->height = box->y2 - box->y1; in msUpdateIntersect()
1277 xRectangle *prect; in msUpdatePacked() local
1287 if (!(prect = calloc(nrects, sizeof(xRectangle)))) in msUpdatePacked()
1301 if (msUpdateIntersect(ms, pBuf, &box, prect + nrects)) { in msUpdatePacked()
1308 tiles = RegionFromRects(nrects, prect, CT_NONE); in msUpdatePacked()
1311 free(prect); in msUpdatePacked()
/OK3568_Linux_fs/external/xserver/include/
H A Dregionstr.h300 RegionContainsRect(RegionPtr region, BoxPtr prect) in RegionContainsRect() argument
302 return pixman_region_contains_rectangle(region, prect); in RegionContainsRect()

12