Home
last modified time | relevance | path

Searched refs:ALPHA_SHIFT (Results 1 – 4 of 4) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuRGBA.hpp46 ALPHA_SHIFT = 24 enumerator
65 …m_value = ((deUint32)a << ALPHA_SHIFT) | ((deUint32)r << RED_SHIFT) | ((deUint32)g << GREEN_SHIFT)… in RGBA()
78 …v, 0, 255)); m_value = (m_value & ~((deUint32)0xFFu << ALPHA_SHIFT)) | ((deUint32)v << ALPHA_SHIFT in setAlpha()
82 int getAlpha (void) const { return (int)((m_value >> (deUint32)ALPHA_SHIFT) & 0xFFu); } in getAlpha()
DtcuRGBA.cpp37 m_value = (a << ALPHA_SHIFT) | (r << RED_SHIFT) | (g << GREEN_SHIFT) | (b << BLUE_SHIFT); in RGBA()
88 int aa = (aPacked >> RGBA::ALPHA_SHIFT) & 0xFF; in computeAbsDiffMasked()
89 int ab = (bPacked >> RGBA::ALPHA_SHIFT) & 0xFF; in computeAbsDiffMasked()
DtcuBilinearImageCompare.cpp69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; in readRGBA8()
109 …tChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), getChannel<3>(p11)) << RGBA::ALPHA_SHIFT; in bilinearSampleRGBA8()
DtcuSurface.hpp94 …BA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA::ALPHA_SHIFT == 24); in getPixel()