Home
last modified time | relevance | path

Searched refs:deInt16 (Results 1 – 25 of 31) sorted by relevance

12

/external/deqp/framework/delibs/depool/
DdePoolMultiSet.c26 DE_DECLARE_POOL_MULTISET(deTestMultiSet, deInt16);
27 DE_IMPLEMENT_POOL_MULTISET(deTestMultiSet, deInt16, deInt16Hash, deInt16Equal);
38 DE_TEST_ASSERT(!deTestMultiSet_exists(set, (deInt16)i)); in dePoolMultiSet_selfTest()
42 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
48 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
54 deTestMultiSet_delete(set, (deInt16)i); in dePoolMultiSet_selfTest()
60 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
66 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
73 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
83 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
[all …]
DdePoolHashSet.c28 DE_DECLARE_POOL_HASH_SET(deTestHashSet, deInt16, int);
29 DE_IMPLEMENT_POOL_HASH_SET(deTestHashSet, deInt16, int, deInt16Hash, deInt16Equal, deInt32Hash, deI…
43 deTestHashSet_insert(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
52 deTestHashSet_delete(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
61 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
68 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest()
74 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
80 deTestHash_delete(hash, (deInt16)i); in dePoolHashSet_selfTest()
85 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
94 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest()
[all …]
DdePoolSet.c28 DE_DECLARE_POOL_SET(deTestSet, deInt16);
29 DE_IMPLEMENT_POOL_SET(deTestSet, deInt16, deInt16Hash, deInt16Equal);
40 DE_TEST_ASSERT(!deTestSet_exists(set, (deInt16)i)); in dePoolSet_selfTest()
44 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest()
50 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
56 deTestSet_delete(set, (deInt16)i); in dePoolSet_selfTest()
62 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
68 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest()
75 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
86 deInt16 key = deTestSetIter_getKey(&iter); in dePoolSet_selfTest()
DdePoolHash.c28 DE_DECLARE_POOL_HASH(deTestHash, deInt16, int);
29 DE_IMPLEMENT_POOL_HASH(deTestHash, deInt16, int, deInt16Hash, deInt16Equal);
32 DE_DECLARE_POOL_ARRAY(deTestInt16Array, deInt16);
51 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
58 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest()
64 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
70 deTestHash_delete(hash, (deInt16)i); in dePoolHash_selfTest()
75 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
84 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest()
88 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
[all …]
DdePoolHashArray.c28 DE_DECLARE_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray);
29 DE_IMPLEMENT_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray, deInt16Hash, …
47 deTestHashArray_insert(hashArray, (deInt16)(-i^0x5), 2*i+5); in dePoolHashArray_selfTest()
58 DE_TEST_ASSERT(deInt16Array_get(keyArray, i) == (deInt16)(-i^0x5)); in dePoolHashArray_selfTest()
DdePoolArray.c151 DE_DECLARE_POOL_ARRAY(dePoolInt16Array, deInt16);
171 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest()
203 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest()
DdePoolArray.h294 DE_DECLARE_POOL_ARRAY(deInt16Array, deInt16);
/external/deqp/framework/common/
DtcuCompressedTexture.cpp364 inline deInt16 extend11To16WithSign (deInt16 src) in extend11To16WithSign()
367 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); in extend11To16WithSign()
369 return (deInt16)extend11To16(src); in extend11To16WithSign()
787 deInt16 value; in decompressEAC11Block()
790 value = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 1023); in decompressEAC11Block()
792 value = (deInt16)deClamp32(baseCodeword*8 + modifier, -1023, 1023); in decompressEAC11Block()
794 *((deInt16*)(dst + dstOffset)) = value; in decompressEAC11Block()
923 …const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPR… in decompressEAC_R11()
924 deInt16* const dstPixel = (deInt16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11()
965 …const deInt16* const srcPixelR = (deInt16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_RG11()
[all …]
DtcuRandomValueIterator.hpp53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue()
DtcuSeedBuilder.cpp96 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value) in operator <<()
98 const deInt16 val = value ^ 555; in operator <<()
DtcuSeedBuilder.hpp54 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value);
DtcuTexture.cpp332 …case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f… in channelToFloat()
339 case TextureFormat::SIGNED_INT16: return (float)*((const deInt16*)value); in channelToFloat()
362 case TextureFormat::SNORM_INT16: return (int)*((const deInt16*)value); in channelToInt()
369 case TextureFormat::SIGNED_INT16: return (int)*((const deInt16*)value); in channelToInt()
392 …case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); br… in floatToChannel()
399 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src); break; in floatToChannel()
449 case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel()
454 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp130 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 0, 133071403u, "int16_zero", "Seed from int16 ze… in init()
131 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 1, 57421642u, "int16_one", "Seed from int16 one… in init()
132 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, -1, 74389771u, "int16_minus_one", "Seed from int… in init()
/external/deqp/framework/delibs/decpp/
DdePoolArray.cpp46 arr16.pushBack((deInt16)i); in intArrayTest()
78 arr16.pushBack((deInt16)i); in intArrayTest()
120 arr16.pushBack((deInt16)i); in alignedIntArrayTest()
152 arr16.pushBack((deInt16)i); in alignedIntArrayTest()
DdePoolArray.hpp210 DE_SPECIALIZE_POOL_ARRAY_ELEMENT_BASIC_TYPE(deInt16);
/external/deqp/framework/opengl/
DgluDrawUtil.hpp265 DECLARE_VA_CTOR(Int16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NONE);
273 DECLARE_VA_CTOR(Snorm16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT);
281 DECLARE_VA_CTOR(Int16Float, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
/external/deqp/framework/delibs/debase/
DdeMath.h216 DE_INLINE deInt16 deRoundFloatToInt16 (float x) { if(x >= 0.0f) return (deInt16)(x + 0.5f); els… in deRoundFloatToInt16()
DdeInt32.h527 DE_INLINE deUint32 deInt16Hash (deInt16 v) { return deInt32Hash(v); } in deInt16Hash()
532 DE_INLINE deBool deInt16Equal (deInt16 a, deInt16 b) { return (a == b); } in deInt16Equal()
DdeDefs.c33 DE_STATIC_ASSERT(sizeof(deInt16) == 2);
DdeDefs.h161 typedef signed short deInt16; typedef
/external/deqp/framework/referencerenderer/
DrrVertexAttrib.cpp290 case VERTEXATTRIBTYPE_NONPURE_SNORM16_CLAMP: readSnormClamp<deInt16> (dst, size, ptr); break; in readFloat()
294 case VERTEXATTRIBTYPE_NONPURE_SNORM16_SCALE: readSnormScale<deInt16> (dst, size, ptr); break; in readFloat()
301 case VERTEXATTRIBTYPE_NONPURE_INT16: read<deInt16> (dst, size, ptr); break; in readFloat()
328 case VERTEXATTRIBTYPE_PURE_INT16: read<deInt16> (dst, size, ptr); break; in readInt()
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
/external/deqp/framework/opengl/wrapper/
DglwTypes.inl47 typedef deInt16 GLshort;
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp333 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
334 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()

12