Lines Matching refs:src
129 #define DoMergeRop(src, dst) \
130 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (((src) & _ca2) ^ _cx2))
132 #define DoMergeRop24u(src, dst, i) \
133 (((dst) & (((src) & _ca1u[i]) ^ _cx1u[i])) ^ (((src) & _ca2u[i]) ^ _cx2u[i]))
135 #define DoMaskMergeRop24(src, dst, mask, index) {\
137 MfbBits _src0 = (src);\
151 #define DoMaskMergeRop(src, dst, mask) \
152 (((dst) & ((((src) & _ca1) ^ _cx1) | ~(mask))) ^ ((((src) & _ca2) ^ _cx2) & (mask)))
154 #define DoMaskMergeRop24u(src, dst, mask, i) \
155 (((dst) & ((((src) & _ca1u[(i)]) ^ _cx1u[(i)]) | ~(mask))) ^ ((((src) & _ca2u[(i)]) ^ _cx2u[(i)]) & (mask)))
157 #define DoMergeRop24(src,dst,index) {\
159 MfbBits _src0 = (src);\
191 #define PrebuildMergeRop(src) ((_cca = ((src) & _ca1) ^ _cx1), \
192 (_ccx = ((src) & _ca2) ^ _cx2))
219 #define MROP_SOLID24P(src,dst,sindex, index) \
220 MROP_SOLID24(MROP_PIXEL24(src,sindex),dst,index)
222 #define MROP_MASK24P(src,dst,mask,sindex,index) \
223 MROP_MASK24(MROP_PIXEL24(src,sindex),dst,mask,index)
229 #define MROP_SOLID(src,dst) (src)
230 #define MROP_SOLID24(src,dst,index) {\
232 MfbBits _src = (src); \
237 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((src) & (mask)))
238 #define MROP_MASK24(src,dst,mask,index) {\
240 MfbBits _src = (src); \
254 #define MROP_SOLID(src,dst) (~(src))
255 #define MROP_SOLID24(src,dst,index) {\
257 MfbBits _src = ~(src); \
264 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((~(src)) & (mask)))
265 #define MROP_MASK24(src,dst,mask,index) {\
267 MfbBits _src = ~(src); \
283 #define MROP_SOLID(src,dst) ((src) ^ (dst))
284 #define MROP_SOLID24(src,dst,index) {\
286 MfbBits _src = (src); \
293 #define MROP_MASK(src,dst,mask) (((src) & (mask)) ^ (dst))
294 #define MROP_MASK24(src,dst,mask,index) {\
296 *(dst) ^= ((((src)&(mask))<<cfb24Shift[idx])&cfbmask[idx]); \
299 *(dst) ^= ((((src)&(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
309 #define MROP_SOLID(src,dst) ((src) | (dst))
310 #define MROP_SOLID24(src,dst,index) {\
312 *(dst) |= (((src)<<cfb24Shift[idx])&cfbmask[idx]); \
315 *(dst) |= (((src)>>cfb24Shift[idx])&cfbmask[idx]); \
318 #define MROP_MASK(src,dst,mask) (((src) & (mask)) | (dst))
319 #define MROP_MASK24(src,dst,mask,index) {\
321 MfbBits _src = (src); \
340 #define MROP_SOLID(src,dst) \
341 (((dst) & (((src) & _ca1) ^ _cx1)) ^ (src))
342 #define MROP_MASK(src,dst,mask) \
343 (((dst) & ((((src) & _ca1) ^ _cx1)) | (~(mask)) ^ ((src) & (mask))))
345 #define MROP_PREBUILD(src) PrebuildMergeRop(src)
347 #define MROP_PREBUILT_SOLID(src,dst) DoPrebuiltMergeRop(dst)
348 #define MROP_PREBUILT_SOLID24(src,dst,index) DoPrebuiltMergeRop24(dst,index)
349 #define MROP_PREBUILT_MASK(src,dst,mask) DoMaskPrebuiltMergeRop(dst,mask)
350 #define MROP_PREBUILT_MASK24(src,dst,mask,index) DoMaskPrebuiltMergeRop24(dst,mask,index)
358 #define MROP_SOLID(src,dst) DoMergeRop(src,dst)
359 #define MROP_MASK(src,dst,mask) DoMaskMergeRop(src, dst, mask)
370 #define MROP_SOLID(src,dst) DoMergeRop24u(src,dst,((int)(&(dst)-pdstBase) % 3))
371 #define MROP_MASK(src,dst,mask) DoMaskMergeRop24u(src, dst, mask,((int)(&(dst) - pdstBase)%3))
373 #define MROP_SOLID24(src,dst,index) DoMergeRop24(src,dst,index)
374 #define MROP_MASK24(src,dst,mask,index) DoMaskMergeRop24(src, dst, mask,index)
376 #define MROP_PREBUILD(src) PrebuildMergeRop(src)
378 #define MROP_PREBUILT_SOLID(src,dst) DoPrebuiltMergeRop(dst)
379 #define MROP_PREBUILT_SOLID24(src,dst,index) DoPrebuiltMergeRop24(dst,index)
380 #define MROP_PREBUILT_MASK(src,dst,mask) DoMaskPrebuiltMergeRop(dst,mask)
381 #define MROP_PREBUILT_MASK24(src,dst,mask,index) \
386 #define MROP_PREBUILD(src)
388 #define MROP_PREBUILT_SOLID(src,dst) MROP_SOLID(src,dst)
389 #define MROP_PREBUILT_SOLID24(src,dst,index) MROP_SOLID24(src,dst,index)
390 #define MROP_PREBUILT_MASK(src,dst,mask) MROP_MASK(src,dst,mask)
391 #define MROP_PREBUILT_MASK24(src,dst,mask,index) MROP_MASK24(src,dst,mask,index)