Lines Matching refs:dstBox
111 BoxPtr dstBox, short vid_w, short vid_h, short drw_w, short drw_h);
115 BoxPtr dstBox, short vid_w, short vid_h,
121 BoxPtr dstBox, short vid_w, short vid_h,
125 BoxPtr dstBox, short vid_w, short vid_h, short drw_w, short drw_h);
1023 BoxRec dstBox;
1059 dstBox.x1 = drw_x;
1060 dstBox.y1 = drw_y;
1061 dstBox.x2 = drw_x + drw_w;
1062 dstBox.y2 = drw_y + drw_h;
1064 if(!xf86_crtc_clip_video_helper(pScrn, &crtc, crtcConf->crtc[0], &dstBox, &x1, &x2, &y1, &y2, clipBoxes, width, height))
1070 /* Transform dstBox to the CRTC coordinates */
1071 dstBox.x1 -= crtc->x;
1072 dstBox.y1 -= crtc->y;
1073 dstBox.x2 -= crtc->x;
1074 dstBox.y2 -= crtc->y;
1252 WRITE_VPR(pSmi, 0x14, dstBox.x1 + (dstBox.y1 << 16));
1254 WRITE_VPR(pSmi, 0x18, dstBox.x2 + (dstBox.y2 << 16));
1262 WRITE_VPR(pSmi, 0x28, dstBox.x1 + (dstBox.y1 << 16));
1264 WRITE_VPR(pSmi, 0x2C, dstBox.x2 + (dstBox.y2 << 16));
1498 BoxRec dstBox;
1512 dstBox.x1 = drw_x;
1513 dstBox.y1 = drw_y;
1514 dstBox.x2 = drw_x + drw_w;
1515 dstBox.y2 = drw_y + drw_h;
1518 if (!xf86XVClipVideoHelper(&dstBox, &x1, &x2, &y1, &y2, clipBoxes,
1523 if (!xf86_crtc_clip_video_helper(pScrn, &crtc, crtcConf->crtc[0], &dstBox,
1531 /* Transform dstBox to the CRTC coordinates */
1532 dstBox.x1 -= crtc->x;
1533 dstBox.y1 -= crtc->y;
1534 dstBox.x2 -= crtc->x;
1535 dstBox.y2 -= crtc->y;
1627 &dstBox, src_w, src_h, drw_w, drw_h);
1631 x1, y1, x2, y2, &dstBox,
1635 x1, y1, x2, y2, &dstBox, src_w, src_h,
1641 &dstBox, src_w, src_h, drw_w, drw_h);
1748 BoxPtr dstBox,
1797 WRITE_VPR(pSmi, 0x14, (dstBox->x1) | (dstBox->y1 << 16));
1798 WRITE_VPR(pSmi, 0x18, (dstBox->x2) | (dstBox->y2 << 16));
1812 int x1, int y1, int x2, int y2, BoxPtr dstBox,
1891 SrcLn = (rect_x - dstBox->x1) * Hscale;
1892 SrcLd = ((rect_x - dstBox->x1) << 13) * Hscale - (SrcLn << 13);
1893 SrcRn = (rect_x + rect_w - dstBox->x1) * Hscale;
1895 SrcTn = (rect_y - dstBox->y1) * Vscale;
1896 SrcTd = ((rect_y - dstBox->y1) << 13) * Vscale - (SrcTn << 13);
1897 SrcBn = (rect_y + rect_h - dstBox->y1) * Vscale;
1931 BoxPtr dstBox,
1981 WRITE_DCR(pSmi, 0x0050, dstBox->x1 | (dstBox->y1 << 16));
1982 WRITE_DCR(pSmi, 0x0054, dstBox->x2 | (dstBox->y2 << 16));
2008 BoxPtr dstBox,
2058 WRITE_FPR(pSmi, FPR14, (dstBox->x1) | (dstBox->y1 << 16));
2059 WRITE_FPR(pSmi, FPR18, (dstBox->x2) | (dstBox->y2 << 16));
2453 BoxRec dstBox;
2464 dstBox.x1 = drw_x;
2465 dstBox.x2 = drw_x + drw_w;
2466 dstBox.y1 = drw_y;
2467 dstBox.y2 = drw_y + drw_h;
2469 if(!xf86_crtc_clip_video_helper(surface->pScrn, &crtc, crtcConf->crtc[0], &dstBox,
2476 /* Transform dstBox to the CRTC coordinates */
2477 dstBox.x1 -= crtc->x;
2478 dstBox.y1 -= crtc->y;
2479 dstBox.x2 -= crtc->x;
2480 dstBox.y2 -= crtc->y;
2489 y2, &dstBox, vid_w, vid_h, drw_w, drw_h);
2494 x2, y2, &dstBox, vid_w, vid_h, drw_w, drw_h);
2499 y2, &dstBox, vid_w, vid_h, drw_w, drw_h);