Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuRGBA.hpp44 GREEN_SHIFT = 8, enumerator
65 …m_value = ((deUint32)a << ALPHA_SHIFT) | ((deUint32)r << RED_SHIFT) | ((deUint32)g << GREEN_SHIFT)… in RGBA()
76 …v, 0, 255)); m_value = (m_value & ~((deUint32)0xFFu << GREEN_SHIFT)) | ((deUint32)v << GREEN_SHIFT in setGreen()
80 int getGreen (void) const { return (int)((m_value >> (deUint32)GREEN_SHIFT) & 0xFFu); } in getGreen()
DtcuRGBA.cpp37 m_value = (a << ALPHA_SHIFT) | (r << RED_SHIFT) | (g << GREEN_SHIFT) | (b << BLUE_SHIFT); in RGBA()
72 int ga = (aPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
73 int gb = (bPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
DtcuBilinearImageCompare.cpp67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; in readRGBA8()
107 …tChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8()
DtcuSurface.hpp94 …DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA:… in getPixel()