/external/deqp/framework/delibs/decpp/ |
D | deThreadSafeRingBuffer.cpp | 42 Message (deUint16 threadId, deUint16 payload) in Message() 52 deUint16 getThreadId (void) const { return data >> 16; } in getThreadId() 53 deUint16 getPayload (void) const { return data & 0xffff; } in getPayload() 72 deUint16 threadId = msg.getThreadId(); in run() 85 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum() 92 vector<deUint16> m_lastPayload; 99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer() 112 m_buffer.pushFront(Message(m_threadId, (deUint16)ndx)); in run() 117 deUint16 m_threadId; 138 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in ThreadSafeRingBuffer_selfTest() [all …]
|
D | deBlockBuffer.cpp | 43 Message (deUint16 threadId, deUint16 payload) in Message() 53 deUint16 getThreadId (void) const { return data >> 16; } in getThreadId() 54 deUint16 getPayload (void) const { return data & 0xffff; } in getPayload() 84 deUint16 threadId = msg.getThreadId(); in run() 111 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum() 118 vector<deUint16> m_lastPayload; 125 Producer (MessageBuffer& buffer, deUint16 threadId, int numMessages) in Producer() 145 tmpBuf[ndx] = Message(m_threadId, (deUint16)msgNdx++); in run() 155 deUint16 m_threadId; 175 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in runTest() [all …]
|
D | deRandom.hpp | 54 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); } in getUint16()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderPackingFunctionTests.cpp | 209 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() 210 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() 213 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate() 214 const deUint16 res1 = (deUint16)(res >> 16); in iterate() 297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate() 298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate() 400 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() 401 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() 404 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate() 405 const deUint16 res1 = (deUint16)(res >> 16); in iterate() [all …]
|
D | es3fShaderBuiltinVarTests.cpp | 335 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate() 432 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate() 650 const deUint16 indicesCCW[] = { 0, 1, 2, 2, 1, 3 }; in iterate() 651 const deUint16 indicesCW[] = { 2, 1, 0, 3, 1, 2 }; in iterate() 708 …ence (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, c… 932 …erence (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, c… in renderReference() 1000 vector<deUint16> indices (m_positions.size()); in iterate() 1010 indices[ndx] = (deUint16)ndx; in iterate() 1017 vector<deUint16> indices (m_positions.size()); in iterate() 1022 indices[ndx] = (deUint16)ndx; in iterate() [all …]
|
D | es3fASTCDecompressionCases.cpp | 258 DE_STATIC_ASSERT((isSameType<deFloat16, deUint16>::V)); 260 deUint16 r; 261 deUint16 g; 262 deUint16 b; 263 deUint16 a; 266 …VoidExtentParams (bool isHDR_, deUint16 r_, deUint16 g_, deUint16 b_, deUint16 a_) : isHDR(isHDR_)… in VoidExtentParams() 974 const deUint16 r = (deUint16)((baseValue + numValues*0/4) % numValues); in generateBlockCaseTestData() 975 const deUint16 g = (deUint16)((baseValue + numValues*1/4) % numValues); in generateBlockCaseTestData() 976 const deUint16 b = (deUint16)((baseValue + numValues*2/4) % numValues); in generateBlockCaseTestData() 977 const deUint16 a = (deUint16)((baseValue + numValues*3/4) % numValues); in generateBlockCaseTestData() [all …]
|
D | es3fPrimitiveRestartTests.cpp | 54 static const deUint16 RESTART_INDEX_UNSIGNED_SHORT = (deUint16)MAX_UNSIGNED_SHORT; 115 std::vector<deUint16> m_indicesUS; 164 m_indicesUS.push_back((deUint16)index); in addIndex()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() 214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() 217 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate() 218 const deUint16 res1 = (deUint16)(res >> 16); in iterate() 301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate() 302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate() 404 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() 405 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() 408 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate() 409 const deUint16 res1 = (deUint16)(res >> 16); in iterate() [all …]
|
D | es31fAdvancedBlendTests.cpp | 381 vector<deUint16> indices (numQuads*6); in iterate() 382 const deUint16 singleQuadIndices[] = { 0, 2, 1, 1, 2, 3 }; in iterate() 397 indices[quadNdx*6 + ndx] = (deUint16)(quadNdx*4 + singleQuadIndices[ndx]); in iterate() 433 …nts(GL_TRIANGLES, 6*(numQuads-1), GL_UNSIGNED_SHORT, (const void*)(deUintptr)(6*sizeof(deUint16))); in iterate() 439 …Elements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, (const void*)(deUintptr)(quadNdx*6*sizeof(deUint16))); in iterate()
|
/external/deqp/framework/common/ |
D | tcuImageIO.cpp | 213 static inline deUint16 readBigEndianShort (tcu::Resource* resource) in readBigEndianShort() 215 deUint16 val; in readBigEndianShort() 240 deUint16 type = readBigEndianShort(resource.get()); in loadPKM() 244 deUint16 width = readBigEndianShort(resource.get()); in loadPKM() 245 deUint16 height = readBigEndianShort(resource.get()); in loadPKM() 246 deUint16 activeWidth = readBigEndianShort(resource.get()); in loadPKM() 247 deUint16 activeHeight = readBigEndianShort(resource.get()); in loadPKM()
|
D | tcuRandomValueIterator.hpp | 49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUi… in getRandomValue()
|
D | tcuTexture.cpp | 269 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; in channelToFloat() 275 case TextureFormat::UNSIGNED_INT16: return (float)*((const deUint16*)value); in channelToFloat() 293 case TextureFormat::UNORM_INT16: return (int)*((const deUint16*)value); in channelToInt() 299 case TextureFormat::UNSIGNED_INT16: return (int)*((const deUint16*)value); in channelToInt() 317 …case TextureFormat::UNORM_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src * 65535.0f); … in floatToChannel() 323 …case TextureFormat::UNSIGNED_INT16: *((deUint16*)dst) = convertSatRte<deUint16> (src); break; in floatToChannel() 353 case TextureFormat::UNORM_INT16: *((deUint16*)dst) = convertSat<deUint16> (src); break; in intToChannel() 358 …case TextureFormat::UNSIGNED_INT16: *((deUint16*)dst) = convertSat<deUint16> ((deUint32)src); br… in intToChannel() 605 #define UB16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixel() 689 #define U16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixelInt() [all …]
|
D | tcuCompressedTexture.cpp | 389 static inline deUint16 extend11To16 (deUint16 src) in extend11To16() 826 …*(deUint16*)&dst[dstOffset] = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2… in decompressEAC11Block() 828 *(deUint16*)&dst[dstOffset] = (deUint16)deClamp32(baseCodeword*8 + 4 + modifier, 0, 2047); in decompressEAC11Block() 1044 …const deUint16* const srcPixel = (deUint16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_R11() 1045 … deUint16* const dstPixel = (deUint16*)(dstPtr + (baseY+y)*dstRowPitch + (baseX+x)*dstPixelSize); in decompressEAC_R11() 1098 …const deUint16* const srcPixelR = (deUint16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNC… in decompressEAC_RG11() 1099 …const deUint16* const srcPixelG = (deUint16*)&uncompressedBlockG[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNC… in decompressEAC_RG11() 1100 … deUint16* const dstPixel = (deUint16*)(dstPtr + (baseY+y)*dstRowPitch + (baseX+x)*dstPixelSize); in decompressEAC_RG11() 2470 DE_STATIC_ASSERT((isSameType<deFloat16, deUint16>::V)); in setTexelColors()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.hpp | 217 inline PrimitiveList NAME (int numElements, const deUint16* indices) \ 262 DECLARE_VA_CTOR(Uint16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NONE); 270 DECLARE_VA_CTOR(Unorm16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT); 278 DECLARE_VA_CTOR(Uint16Float, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContextUtil.cpp | 62 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in drawQuadWithVaoBuffers() 102 …ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0],… in drawQuadWithVaoBuffers() 132 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in drawQuadWithClientPointers()
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 339 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() 352 indices[quadNdx*6 + 0] = (deUint16)v10; in computeIndices() 353 indices[quadNdx*6 + 1] = (deUint16)v00; in computeIndices() 354 indices[quadNdx*6 + 2] = (deUint16)v01; in computeIndices() 356 indices[quadNdx*6 + 3] = (deUint16)v10; in computeIndices() 357 indices[quadNdx*6 + 4] = (deUint16)v01; in computeIndices() 358 indices[quadNdx*6 + 5] = (deUint16)v11; in computeIndices() 421 vector<deUint16> indices; in verify()
|
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 72 static inline deUint16 getVtxIndex (int x, int y, int gridSizeX) in getVtxIndex() 74 return (deUint16)(y*(gridSizeX+1) + x); in getVtxIndex() 98 static void generateIndices (std::vector<deUint16>& dst, int gridSizeX, int gridSizeY) in generateIndices() 183 std::vector<deUint16> indices; in init() 188 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0],… in init()
|
D | glsBufferTestUtil.cpp | 499 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices() 512 indices[quadNdx*6 + 0] = (deUint16)v10; in computeIndices() 513 indices[quadNdx*6 + 1] = (deUint16)v00; in computeIndices() 514 indices[quadNdx*6 + 2] = (deUint16)v01; in computeIndices() 516 indices[quadNdx*6 + 3] = (deUint16)v10; in computeIndices() 517 indices[quadNdx*6 + 4] = (deUint16)v01; in computeIndices() 518 indices[quadNdx*6 + 5] = (deUint16)v11; in computeIndices() 581 vector<deUint16> indices; in verify()
|
/external/deqp/modules/internal/ |
D | ditBuildInfoTests.cpp | 154 const deUint16 multiByte = (deUint16)0x0102; in iterate()
|
/external/deqp/framework/delibs/debase/ |
D | deFloat16.h | 30 typedef deUint16 deFloat16;
|
D | deInt32.h | 435 DE_INLINE int deUint16Hash (deUint16 v) { return deInt32Hash((deInt32)v); } in deUint16Hash() 440 DE_INLINE deBool deUint16Equal (deUint16 a, deUint16 b) { return (a == b); } in deUint16Equal()
|
/external/deqp/framework/opengl/wrapper/ |
D | glwTypes.inl | 53 typedef deUint16 GLushort; 58 typedef deUint16 GLhalf;
|
/external/deqp/framework/referencerenderer/ |
D | rrVertexAttrib.cpp | 117 deUint16 aligned[4]; in readHalf() 118 deMemcpy(aligned, ptr, size * sizeof(deUint16)); in readHalf() 286 case VERTEXATTRIBTYPE_NONPURE_UNORM16: readUnorm<deUint16> (dst, size, ptr); break; in readFloat() 298 case VERTEXATTRIBTYPE_NONPURE_UINT16: read<deUint16> (dst, size, ptr); break; in readFloat() 374 case VERTEXATTRIBTYPE_PURE_UINT16: read<deUint16> (dst, size, ptr); break; in readUint()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 235 static const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate() 294 float minF16 = tcu::Float16((deUint16)((0u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init() 295 float maxF16 = tcu::Float16((deUint16)((1u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 242 static const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate() 301 float minF16 = tcu::Float16((deUint16)((0u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init() 302 float maxF16 = tcu::Float16((deUint16)((1u<<15) | (0x1cu<<10) | 0x0u)).asFloat(); in init()
|