Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeFloat16.c28 deFloat16 deFloat32To16 (float val32) in deFloat32To16()
49 return (deFloat16) sign; in deFloat32To16()
64 return (deFloat16) (sign | mantissa); in deFloat32To16()
71 return (deFloat16) (sign | 0x7c00); in deFloat32To16()
77 return (deFloat16) (sign | 0x7c00 | mantissa | (mantissa == 0)); in deFloat32To16()
95 return (deFloat16) (sign | 0x7c00); in deFloat32To16()
98 return (deFloat16) (sign | (expotent << 10) | (mantissa >> 13)); in deFloat32To16()
102 float deFloat16To32 (deFloat16 val16) in deFloat16To32()
DdeFloat16.h30 typedef deUint16 deFloat16; typedef
33 typedef deFloat16 DEfloat16;
41 deFloat16 deFloat32To16 (float val32);
48 float deFloat16To32 (deFloat16 val16);
DCMakeLists.txt10 deFloat16.c
11 deFloat16.h
/external/deqp/modules/glshared/
DglsVertexArrayTests.hpp287 inline deFloat16 getValue (void) const { return m_value; } in getValue()
309 inline static deFloat16 floatToHalf (float f);
310 inline static float halfToFloat (deFloat16 h);
312 deFloat16 m_value;
454 inline deFloat16 GLValue::Half::floatToHalf (float f) in floatToHalf()
462 inline float GLValue::Half::halfToFloat (deFloat16 h) in halfToFloat()
DglsDrawTest.cpp454 inline deFloat16 getValue (void) const { return m_value; } in getValue()
476 inline static deFloat16 floatToHalf (float f);
477 inline static float halfToFloat (deFloat16 h);
479 deFloat16 m_value;
547 inline deFloat16 GLValue::Half::floatToHalf (float f) in floatToHalf()
555 inline float GLValue::Half::halfToFloat (deFloat16 h) in halfToFloat()
1615 alignmentSafeAssignment<deFloat16>(data, getRandom<GLValue::Half>(rnd, min.h, max.h).getValue()); in setData()
1646 …case DrawTestSpec::INPUTTYPE_HALF: return createBasicArray<deFloat16, GLValue::Half> (seed, ele… in generateBasicArray()
2518 sizeof(deFloat16), // INPUTTYPE_HALF, in inputTypeSize()
DglsVertexArrayTests.cpp206 sizeof(deFloat16), // INPUTTYPE_HALF, in inputTypeSize()
1415 alignmentSafeAssignment<deFloat16>(data, getRandom<GLValue::Half>(rnd, min.h, max.h).getValue()); in setData()
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp123 static inline bool isFloat16InfOrNan (deFloat16 v) in isFloat16InfOrNan()
258 DE_STATIC_ASSERT((isSameType<deFloat16, deUint16>::V));
1000 …const deFloat16 r = deFloat32To16(minValue + (float)rNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()
1001 …const deFloat16 g = deFloat32To16(minValue + (float)gNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()
1002 …const deFloat16 b = deFloat32To16(minValue + (float)bNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()
1003 …const deFloat16 a = deFloat32To16(minValue + (float)aNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1164 static inline bool isFloat16InfOrNan (deFloat16 v) in isFloat16InfOrNan()
1538 dstF[i*4 + c] = deFloat16To32((deFloat16)rgba[c]); in decodeVoidExtentBlock()
2470 DE_STATIC_ASSERT((isSameType<deFloat16, deUint16>::V)); in setTexelColors()
2480 const deFloat16 cf = (e << 10) + (mt >> 3); in setTexelColors()
DtcuTexture.cpp277 case TextureFormat::HALF_FLOAT: return deFloat16To32(*(const deFloat16*)value); in channelToFloat()
301 case TextureFormat::HALF_FLOAT: return (int)deFloat16To32(*(const deFloat16*)value); in channelToInt()
325 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16 (src); break; in floatToChannel()
360 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16((float)src); break; in intToChannel()
/external/deqp/
DAndroid.mk67 framework/delibs/debase/deFloat16.c \