Lines Matching refs:dst

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) {\
140 *(dst) = (((*(dst)) & cfbrmask[idx]) | (((*(dst)) & cfbmask[idx]) & \
144 (dst)++; \
145 *(dst) = (((*(dst)) & cfbrmask[idx]) | (((*(dst)) & cfbmask[idx]) & \
148 (dst)--; \
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) {\
162 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) & \
166 (dst)++; \
167 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) & \
170 (dst)--; \
173 #define DoPrebuiltMergeRop(dst) (((dst) & _cca) ^ _ccx)
175 #define DoPrebuiltMergeRop24(dst,index) { \
177 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) &\
181 (dst)++; \
182 *(dst) = (((*(dst)) & cfbrmask[idx]) | ((((*(dst)) & cfbmask[idx]) &\
185 (dst)--; \
188 #define DoMaskPrebuiltMergeRop(dst,mask) \
189 (((dst) & (_cca | ~(mask))) ^ (_ccx & (mask)))
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) {\
233 *(dst) = (*(dst) & cfbrmask[idx])|((_src<<cfb24Shift[idx])&cfbmask[idx]); \
235 *((dst)+1) = (*((dst)+1) & cfbrmask[idx])|((_src>>cfb24Shift[idx])&cfbmask[idx]); \
237 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((src) & (mask)))
238 #define MROP_MASK24(src,dst,mask,index) {\
241 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)<< cfb24Shift[idx])&cfbmask[idx])) | \
244 *((dst)+1) = (*((dst)+1) & cfbrmask[idx] &(~(((mask)>>cfb24Shift[idx])&cfbmask[idx])) | \
254 #define MROP_SOLID(src,dst) (~(src))
255 #define MROP_SOLID24(src,dst,index) {\
258 *(dst) = (*(dst) & cfbrmask[idx])|((_src << cfb24Shift[idx])&cfbmask[idx]); \
260 (dst)++; \
261 *(dst) = (*(dst) & cfbrmask[idx])|((_src >>cfb24Shift[idx])&cfbmask[idx]); \
262 (dst)--; \
264 #define MROP_MASK(src,dst,mask) (((dst) & ~(mask)) | ((~(src)) & (mask)))
265 #define MROP_MASK24(src,dst,mask,index) {\
268 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)<< cfb24Shift[idx])&cfbmask[idx])) | \
271 (dst)++; \
272 *(dst) = (*(dst) & cfbrmask[idx] &(~(((mask)>>cfb24Shift[idx])&cfbmask[idx])) | \
274 (dst)--; \
283 #define MROP_SOLID(src,dst) ((src) ^ (dst))
284 #define MROP_SOLID24(src,dst,index) {\
287 *(dst) ^= ((_src << cfb24Shift[idx])&cfbmask[idx]); \
289 (dst)++; \
290 *(dst) ^= ((_src >>cfb24Shift[idx])&cfbmask[idx]); \
291 (dst)--; \
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]); \
298 (dst)++; \
299 *(dst) ^= ((((src)&(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
300 (dst)--; \
309 #define MROP_SOLID(src,dst) ((src) | (dst))
310 #define MROP_SOLID24(src,dst,index) {\
312 *(dst) |= (((src)<<cfb24Shift[idx])&cfbmask[idx]); \
314 (dst)++; \
315 *(dst) |= (((src)>>cfb24Shift[idx])&cfbmask[idx]); \
316 (dst)--; \
318 #define MROP_MASK(src,dst,mask) (((src) & (mask)) | (dst))
319 #define MROP_MASK24(src,dst,mask,index) {\
322 *(dst) |= (((_src &(mask))<<cfb24Shift[idx])&cfbmask[idx]); \
324 (dst)++; \
325 *(dst) |= (((_src &(mask))>>cfb24Shift[idx])&cfbmask[idx]); \
326 (dst)--; \
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))))
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)
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) \
382 DoMaskPrebuiltMergeRop24(dst,mask,index)
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)