Lines Matching refs:dst

127 #define DoMergeRop(src, dst) \
128 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2))
130 #define DoMergeRop24u(src, dst, i) \
131 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i]))
133 #define DoMaskMergeRop24(src, dst, mask, index) {\
138 *(dst) = (((*(dst)) & cfbrmask[idx]) | (((*(dst)) & cfbmask[idx]) & \
142 (dst)++; \
143 *(dst) = (((*(dst)) & cfbrmask[idx]) | (((*(dst)) & cfbmask[idx]) & \
146 (dst)--; \
149 #define DoMaskMergeRop(src, dst, mask) \
150 (((dst) & ((((src) & _ca1) ^ _cx1) | ~(mask))) ^ ((((src) & _ca2) ^ _cx2) & (mask)))
152 #define DoMaskMergeRop24u(src, dst, mask, i) \
153 (((dst) & ((((src) & _ca1u[(i)]) ^ _cx1u[(i)]) | ~(mask))) ^ ((((src) & _ca2u[(i)]) ^ _cx2u[(i)]) & (mask)))
155 #define DoMergeRop24(src,dst,index) {\
160 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) & \
164 (dst)++; \
165 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) & \
168 (dst)--; \
171 #define DoPrebuiltMergeRop(dst) (((dst) & _cca) ^ _ccx)
173 #define DoPrebuiltMergeRop24(dst,index) { \
175 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) &\
179 (dst)++; \
180 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) &\
183 (dst)--; \
186 #define DoMaskPrebuiltMergeRop(dst,mask) \
187 (((dst) & (_cca | ~(mask))) ^ (_ccx & (mask)))
217 #define MROP_SOLID24P(src,dst,sindex, index) \
218 MROP_SOLID24(MROP_PIXEL24(src,sindex),dst,index)
220 #define MROP_MASK24P(src,dst,mask,sindex,index) \
221 MROP_MASK24(MROP_PIXEL24(src,sindex),dst,mask,index)
227 #define MROP_SOLID(src,dst) (src)
228 #define MROP_SOLID24(src,dst,index) {\
231 *(dst) = (*(dst) & cfbrmask[idx])|((_src<<cfb24Shift[idx])&cfbmask[idx]); \
233 *((dst)+1) = (*((dst)+1) & cfbrmask[idx])|((_src>>cfb24Shift[idx])&cfbmask[idx]); \
235 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((src) & (mask)))
236 #define MROP_MASK24(src,dst,mask,index) {\
239 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)<< cfb24Shift[idx])&cfbmask[idx])) | \
242 *((dst)+1) = (*((dst)+1) & cfbrmask[idx] &(~(((mask)>>cfb24Shift[idx])&cfbmask[idx])) | \
252 #define MROP_SOLID(src,dst) (~(src))
253 #define MROP_SOLID24(src,dst,index) {\
256 *(dst) = (*(dst) & cfbrmask[idx])|((_src << cfb24Shift[idx])&cfbmask[idx]); \
258 (dst)++; \
259 *(dst) = (*(dst) & cfbrmask[idx])|((_src >>cfb24Shift[idx])&cfbmask[idx]); \
260 (dst)--; \
262 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((~(src)) & (mask)))
263 #define MROP_MASK24(src,dst,mask,index) {\
266 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)<< cfb24Shift[idx])&cfbmask[idx])) | \
269 (dst)++; \
270 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)>>cfb24Shift[idx])&cfbmask[idx])) | \
272 (dst)--; \
281 #define MROP_SOLID(src,dst) ((src) ^ (dst))
282 #define MROP_SOLID24(src,dst,index) {\
285 *(dst) ^= ((_src << cfb24Shift[idx])&cfbmask[idx]); \
287 (dst)++; \
288 *(dst) ^= ((_src >>cfb24Shift[idx])&cfbmask[idx]); \
289 (dst)--; \
291 #define MROP_MASK(src,dst,mask) (((src) & (mask)) ^ (dst))
292 #define MROP_MASK24(src,dst,mask,index) {\
294 *(dst) ^= ((((src)&(mask))<<cfb24Shift[idx])&cfbmask[idx]); \
296 (dst)++; \
297 *(dst) ^= ((((src)&(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
298 (dst)--; \
307 #define MROP_SOLID(src,dst) ((src) | (dst))
308 #define MROP_SOLID24(src,dst,index) {\
310 *(dst) |= (((src)<<cfb24Shift[idx])&cfbmask[idx]); \
312 (dst)++; \
313 *(dst) |= (((src)>>cfb24Shift[idx])&cfbmask[idx]); \
314 (dst)--; \
316 #define MROP_MASK(src,dst,mask) (((src) & (mask)) | (dst))
317 #define MROP_MASK24(src,dst,mask,index) {\
320 *(dst) |= (((_src &(mask))<<cfb24Shift[idx])&cfbmask[idx]); \
322 (dst)++; \
323 *(dst) |= (((_src &(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
324 (dst)--; \
338 #define MROP_SOLID(src,dst) \
339 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (src))
340 #define MROP_MASK(src,dst,mask) \
341 (((dst) & ((((src) & _ca1) ^ _cx1)) | (~(mask)) ^ ((src) & (mask))))
345 #define MROP_PREBUILT_SOLID(src,dst) DoPrebuiltMergeRop(dst)
346 #define MROP_PREBUILT_SOLID24(src,dst,index) DoPrebuiltMergeRop24(dst,index)
347 #define MROP_PREBUILT_MASK(src,dst,mask) DoMaskPrebuiltMergeRop(dst,mask)
348 #define MROP_PREBUILT_MASK24(src,dst,mask,index) DoMaskPrebuiltMergeRop24(dst,mask,index)
356 #define MROP_SOLID(src,dst) DoMergeRop(src,dst)
357 #define MROP_MASK(src,dst,mask) DoMaskMergeRop(src, dst, mask)
368 #define MROP_SOLID(src,dst) DoMergeRop24u(src,dst,((int)(&(dst)-pdstBase) % 3))
369 #define MROP_MASK(src,dst,mask) DoMaskMergeRop24u(src, dst, mask,((int)(&(dst) - pdstBase)%3))
371 #define MROP_SOLID24(src,dst,index) DoMergeRop24(src,dst,index)
372 #define MROP_MASK24(src,dst,mask,index) DoMaskMergeRop24(src, dst, mask,index)
376 #define MROP_PREBUILT_SOLID(src,dst) DoPrebuiltMergeRop(dst)
377 #define MROP_PREBUILT_SOLID24(src,dst,index) DoPrebuiltMergeRop24(dst,index)
378 #define MROP_PREBUILT_MASK(src,dst,mask) DoMaskPrebuiltMergeRop(dst,mask)
379 #define MROP_PREBUILT_MASK24(src,dst,mask,index) \
380 DoMaskPrebuiltMergeRop24(dst,mask,index)
386 #define MROP_PREBUILT_SOLID(src,dst) MROP_SOLID(src,dst)
387 #define MROP_PREBUILT_SOLID24(src,dst,index) MROP_SOLID24(src,dst,index)
388 #define MROP_PREBUILT_MASK(src,dst,mask) MROP_MASK(src,dst,mask)
389 #define MROP_PREBUILT_MASK24(src,dst,mask,index) MROP_MASK24(src,dst,mask,index)