Lines Matching refs:src
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) {\
135 MfbBits _src0 = (src);\
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) {\
157 MfbBits _src0 = (src);\
189 #define PrebuildMergeRop(src) ((_cca = ((src) & _ca1) ^ _cx1), \
190 (_ccx = ((src) & _ca2) ^ _cx2))
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) {\
230 MfbBits _src = (src); \
235 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((src) & (mask)))
236 #define MROP_MASK24(src,dst,mask,index) {\
238 MfbBits _src = (src); \
252 #define MROP_SOLID(src,dst) (~(src))
253 #define MROP_SOLID24(src,dst,index) {\
255 MfbBits _src = ~(src); \
262 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((~(src)) & (mask)))
263 #define MROP_MASK24(src,dst,mask,index) {\
265 MfbBits _src = ~(src); \
281 #define MROP_SOLID(src,dst) ((src) ^ (dst))
282 #define MROP_SOLID24(src,dst,index) {\
284 MfbBits _src = (src); \
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]); \
297 *(dst) ^= ((((src)&(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
307 #define MROP_SOLID(src,dst) ((src) | (dst))
308 #define MROP_SOLID24(src,dst,index) {\
310 *(dst) |= (((src)<<cfb24Shift[idx])&cfbmask[idx]); \
313 *(dst) |= (((src)>>cfb24Shift[idx])&cfbmask[idx]); \
316 #define MROP_MASK(src,dst,mask) (((src) & (mask)) | (dst))
317 #define MROP_MASK24(src,dst,mask,index) {\
319 MfbBits _src = (src); \
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))))
343 #define MROP_PREBUILD(src) PrebuildMergeRop(src)
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)
374 #define MROP_PREBUILD(src) PrebuildMergeRop(src)
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) \
384 #define MROP_PREBUILD(src)
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)