Lines Matching refs:direct

223 	     * Current rendering code supports only three direct formats,
351 pFormats[f].direct.alphaMask = Mask(PICT_FORMAT_A(format));
352 if (pFormats[f].direct.alphaMask)
353 pFormats[f].direct.alpha = (PICT_FORMAT_R(format) +
357 pFormats[f].direct.redMask = Mask(PICT_FORMAT_R(format));
358 pFormats[f].direct.red = (PICT_FORMAT_G(format) +
361 pFormats[f].direct.greenMask = Mask(PICT_FORMAT_G(format));
362 pFormats[f].direct.green = PICT_FORMAT_B(format);
364 pFormats[f].direct.blueMask = Mask(PICT_FORMAT_B(format));
365 pFormats[f].direct.blue = 0;
371 pFormats[f].direct.alphaMask = Mask(PICT_FORMAT_A(format));
372 if (pFormats[f].direct.alphaMask)
373 pFormats[f].direct.alpha = (PICT_FORMAT_B(format) +
377 pFormats[f].direct.blueMask = Mask(PICT_FORMAT_B(format));
378 pFormats[f].direct.blue = (PICT_FORMAT_G(format) +
381 pFormats[f].direct.greenMask = Mask(PICT_FORMAT_G(format));
382 pFormats[f].direct.green = PICT_FORMAT_R(format);
384 pFormats[f].direct.redMask = Mask(PICT_FORMAT_R(format));
385 pFormats[f].direct.red = 0;
391 pFormats[f].direct.blueMask = Mask(PICT_FORMAT_B(format));
392 pFormats[f].direct.blue = (PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format));
394 pFormats[f].direct.greenMask = Mask(PICT_FORMAT_G(format));
395 pFormats[f].direct.green = (PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
398 pFormats[f].direct.redMask = Mask(PICT_FORMAT_R(format));
399 pFormats[f].direct.red = (PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
402 pFormats[f].direct.alphaMask = Mask(PICT_FORMAT_A(format));
403 pFormats[f].direct.alpha = 0;
409 pFormats[f].direct.alpha = 0;
410 pFormats[f].direct.alphaMask = Mask(PICT_FORMAT_A(format));
556 if (format->direct.redMask << format->direct.red ==
558 format->direct.greenMask << format->direct.green ==
560 format->direct.blueMask << format->direct.blue ==
659 if ((formats[n].direct.redMask|
660 formats[n].direct.blueMask|
661 formats[n].direct.greenMask) == 0)
663 else if (formats[n].direct.red > formats[n].direct.blue)
665 else if (formats[n].direct.red == 0)
669 a = Ones (formats[n].direct.alphaMask);
670 r = Ones (formats[n].direct.redMask);
671 g = Ones (formats[n].direct.greenMask);
672 b = Ones (formats[n].direct.blueMask);