Searched refs:UI16 (Results 1 - 1 of 1) sorted by relevance
/external/deqp/framework/common/ |
H A D | tcuTexture.cpp | 997 #define UI16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) macro 1001 #define UN16(OFFS, COUNT) channelToUnormFloat(UI16(OFFS, COUNT), (COUNT)) 1011 case TextureFormat::UNSIGNED_SHORT_565: return swizzleRB(UVec4(UI16(11, 5), UI16( 5, 6), UI16( 0, 5), 1u), m_format.order, TextureFormat::RGB).cast<float>(); 1014 case TextureFormat::UNSIGNED_SHORT_4444: return swizzleRB(UVec4(UI16(12, 4), UI16( 8, 4), UI16( 4, 4), UI16( 0, 4)), m_format.order, TextureFormat::RGBA).cast<float>(); 1016 case TextureFormat::UNSIGNED_SHORT_5551: return swizzleRB(UVec4(UI16(1 1041 #undef UI16 macro [all...] |
Completed in 226 milliseconds