Lines Matching refs:m_value
57 RGBA (void) { m_value = 0; } in RGBA()
65 …m_value = ((deUint32)a << ALPHA_SHIFT) | ((deUint32)r << RED_SHIFT) | ((deUint32)g << GREEN_SHIFT)… in RGBA()
70 m_value = val; in RGBA()
75 …void setRed (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0xF… in setRed()
76 …void setGreen (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0x… in setGreen()
77 …void setBlue (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0x… in setBlue()
78 …void setAlpha (int v) { DE_ASSERT(deInRange32(v, 0, 255)); m_value = (m_value & ~((deUint32)0x… in setAlpha()
79 int getRed (void) const { return (int)((m_value >> (deUint32)RED_SHIFT) & 0xFFu); } in getRed()
80 int getGreen (void) const { return (int)((m_value >> (deUint32)GREEN_SHIFT) & 0xFFu); } in getGreen()
81 int getBlue (void) const { return (int)((m_value >> (deUint32)BLUE_SHIFT) & 0xFFu); } in getBlue()
82 int getAlpha (void) const { return (int)((m_value >> (deUint32)ALPHA_SHIFT) & 0xFFu); } in getAlpha()
83 deUint32 getPacked (void) const { return m_value; } in getPacked()
92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); } in operator ==()
93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value); } in operator !=()
104 deUint32 m_value; member in tcu::RGBA