Home
last modified time | relevance | path

Searched refs:pCbox (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/mi/
H A Dmisprite.c102 #define BOX_OVERLAP(pCbox,X1,Y1,X2,Y2) \ argument
103 (((pCbox)->x1 <= (X2)) && ((X1) <= (pCbox)->x2) && \
104 ((pCbox)->y1 <= (Y2)) && ((Y1) <= (pCbox)->y2))
109 #define ORG_OVERLAP(pCbox,xorg,yorg,x,y,w,h) \ argument
110 BOX_OVERLAP((pCbox),(x)+(xorg),(y)+(yorg),(x)+(xorg)+(w),(y)+(yorg)+(h))
115 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \ argument
116 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
121 #define SPN_OVERLAP(pCbox,y,x,w) BOX_OVERLAP((pCbox),(x),(y),(x)+(w),(y)) argument
128 #define LINE_OVERLAP(pCbox,x1,y1,x2,y2,lw2) \ argument
129 BOX_OVERLAP((pCbox), (x1)-(lw2), (y1)-(lw2), (x2)+(lw2), (y2)+(lw2))
/OK3568_Linux_fs/external/xserver/render/
H A Dmipict.c236 pixman_box16_t *pCbox = pixman_region_rectangles(pClip, NULL); in miClipPictureReg() local
239 if (pRbox->x1 < (v = pCbox->x1 + dx)) in miClipPictureReg()
241 if (pRbox->x2 > (v = pCbox->x2 + dx)) in miClipPictureReg()
243 if (pRbox->y1 < (v = pCbox->y1 + dy)) in miClipPictureReg()
245 if (pRbox->y2 > (v = pCbox->y2 + dy)) in miClipPictureReg()