Lines Matching refs:U8CPU
377 U8CPU r = 0xFF - ((rgb >> 16) & 0xFF); in rgb_to_a8()
378 U8CPU g = 0xFF - ((rgb >> 8) & 0xFF); in rgb_to_a8()
379 U8CPU b = 0xFF - ((rgb >> 0) & 0xFF); in rgb_to_a8()
380 U8CPU lum = sk_apply_lut_if<APPLY_PREBLEND>(SkComputeLuminance(r, g, b), table8); in rgb_to_a8()
382 lum = std::max(lum, (U8CPU)0x30); in rgb_to_a8()
407 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 16) & 0xFF), tableR); in RGBToLcd16()
408 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 8) & 0xFF), tableG); in RGBToLcd16()
409 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(0xFF - ((rgb >> 0) & 0xFF), tableB); in RGBToLcd16()
411 r = std::max(r, (U8CPU)0x30); in RGBToLcd16()
412 g = std::max(g, (U8CPU)0x30); in RGBToLcd16()
413 b = std::max(b, (U8CPU)0x30); in RGBToLcd16()
437 U8CPU a = (rgb >> 24) & 0xFF; in cgpixels_to_pmcolor()
438 U8CPU r = (rgb >> 16) & 0xFF; in cgpixels_to_pmcolor()
439 U8CPU g = (rgb >> 8) & 0xFF; in cgpixels_to_pmcolor()
440 U8CPU b = (rgb >> 0) & 0xFF; in cgpixels_to_pmcolor()
442 a = std::max(a, (U8CPU)0x30); in cgpixels_to_pmcolor()