Lines Matching refs:RGBA
31 RGBA::RGBA (const Vec4& v) in RGBA() function in tcu::RGBA
40 Vec4 RGBA::toVec (void) const in toVec()
48 IVec4 RGBA::toIVec (void) const in toIVec()
53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask) in computeAbsDiffMasked()
62 if (cmpMask & RGBA::RED_MASK) in computeAbsDiffMasked()
64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
65 int rb = (bPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
70 if (cmpMask & RGBA::GREEN_MASK) in computeAbsDiffMasked()
72 int ga = (aPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
73 int gb = (bPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
78 if (cmpMask & RGBA::BLUE_MASK) in computeAbsDiffMasked()
80 int ba = (aPacked >> RGBA::BLUE_SHIFT) & 0xFF; in computeAbsDiffMasked()
81 int bb = (bPacked >> RGBA::BLUE_SHIFT) & 0xFF; in computeAbsDiffMasked()
86 if (cmpMask & RGBA::ALPHA_MASK) in computeAbsDiffMasked()
88 int aa = (aPacked >> RGBA::ALPHA_SHIFT) & 0xFF; in computeAbsDiffMasked()
89 int ab = (bPacked >> RGBA::ALPHA_SHIFT) & 0xFF; in computeAbsDiffMasked()
94 return RGBA(rDiff,gDiff,bDiff,aDiff); in computeAbsDiffMasked()
97 bool compareThresholdMasked (RGBA a, RGBA b, RGBA threshold, deUint32 cmpMask) in compareThresholdMasked()