Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuTexture.cpp627 #define NB16(OFFS, COUNT) channelToNormFloat(UB16(OFFS, COUNT), (COUNT)) in getPixel() macro
633 …case TextureFormat::UNORM_SHORT_565: return Vec4(NB16(11, 5), NB16( 5, 6), NB16( 0, 5), 1.0f); in getPixel()
634 …case TextureFormat::UNORM_SHORT_555: return Vec4(NB16(10, 5), NB16( 5, 5), NB16( 0, 5), 1.0f); in getPixel()
635 …case TextureFormat::UNORM_SHORT_4444: return Vec4(NB16(12, 4), NB16( 8, 4), NB16( 4, 4), NB16 in getPixel()
636 …case TextureFormat::UNORM_SHORT_5551: return Vec4(NB16(11, 5), NB16( 6, 5), NB16( 1, 5), NB16 in getPixel()
668 #undef NB16 in getPixel()