Home
last modified time | relevance | path

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

/external/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexAnalyzer.cpp32 int32_t inputStride = getInputStream()->getChannelCount(); in onBothStreamsReady() local
37 (void) getLoopbackProcessor()->process(inputFloat, inputStride, numInputFrames, in onBothStreamsReady()
48 inputFloat += inputStride; in onBothStreamsReady()
55 inputFloat += inputStride; in onBothStreamsReady()
DFullDuplexEcho.cpp40 int32_t inputStride = getInputStream()->getChannelCount(); in onBothStreamsReady() local
45 inputFloat += inputStride; in onBothStreamsReady()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp72 size_t inputStride = gl::ComputeVertexAttributeStride(attrib, binding); in storeVertexAttributes() local
91 input += inputStride * start; in storeVertexAttributes()
99 if (!needsConversion && inputStride == elementSize) in storeVertexAttributes()
101 size_t copySize = count * inputStride; in storeVertexAttributes()
106 d3dVertexInfo.copyFunction(input, inputStride, count, mapPtr); in storeVertexAttributes()
/external/swiftshader/src/OpenGL/libGLES_CM/
DVertexDataManager.cpp64 int inputStride = attribute.stride(); in writeAttributeData() local
94 input += inputStride * start; in writeAttributeData()
96 if(inputStride == elementSize) in writeAttributeData()
98 memcpy(output, input, count * inputStride); in writeAttributeData()
106 input += inputStride; in writeAttributeData()
/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp77 …virtual bool verify (int numValues, int inputStride, const void* inputs, int outputStride, co…
277 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
292 …const int inputValue = *(const deInt32*)((const deUint8*)inputs + inputStride*(groupOffset+localNd… in verify()
304 …const int inputValue = *(const deInt32*)((const deUint8*)inputs + inputStride*(groupOffset+localN… in verify()
430 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
446 …const deInt32 inputValue = *(const deInt32*)((const deUint8*)inputs + inputStride*(groupOffset+loc… in verify()
512 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
528 …const deInt32 inputValue = *(const deInt32*)((const deUint8*)inputs + inputStride*(groupOffset+loc… in verify()
604 …bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* out… in verify() argument
620 …const deUint32 inputValue = *(const deUint32*)((const deUint8*)inputs + inputStride*(groupOffset+l… in verify()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp63 int inputStride = attribute.stride(); in writeAttributeData() local
91 input += inputStride * start; in writeAttributeData()
93 if(inputStride == elementSize) in writeAttributeData()
95 memcpy(output, input, count * inputStride); in writeAttributeData()
103 input += inputStride; in writeAttributeData()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DVertexBuffer11.cpp110 int inputStride = static_cast<int>(ComputeVertexAttributeStride(attrib, binding)); in storeVertexAttributes() local
121 input += inputStride * start; in storeVertexAttributes()
129 vertexFormatInfo.copyFunction(input, inputStride, count, output); in storeVertexAttributes()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp437 static void computeInputLayout (vector<Attribute>& attributes, int& inputStride, const vector<Varyi… in computeInputLayout() argument
439 inputStride = 0; in computeInputLayout()
442 …ck(Attribute("a_position", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP), inputStride)); in computeInputLayout()
443 inputStride += 4*(int)sizeof(deUint32); in computeInputLayout()
447 …h_back(Attribute("a_pointSize", glu::VarType(glu::TYPE_FLOAT, glu::PRECISION_HIGHP), inputStride)); in computeInputLayout()
448 inputStride += 1*(int)sizeof(deUint32); in computeInputLayout()
459 attributes.push_back(Attribute(name, type, inputStride)); in computeInputLayout()
460 inputStride += glu::getDataTypeScalarSize(type.getBasicType())*(int)sizeof(deUint32); in computeInputLayout()
590 static void genInputData (const vector<Attribute>& attributes, int numInputs, int inputStride, deUi… in genInputData() argument
597 deUint8* ptr = inputBasePtr + position.offset + inputStride*ndx; in genInputData()
[all …]
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp902 const deUint32 inputStride = getLayoutStride(m_inputLayout); in initBuffers() local
904 const int inputBufferSize = numValues * inputStride; in initBuffers()
1027 const deUint32 inputStride = getLayoutStride(m_inputLayout); in uploadInputBuffer() local
1028 const int inputBufferSize = inputStride*numValues; in uploadInputBuffer()
1210 const deUint32 inputStride = getInputStride(); in execute() local
1225 if (inputStride > 0) in execute()
1226 …RAGE_BUFFER, INPUT_BUFFER_BINDING, getInputBuffer(), curOffset*inputStride, numToExec*inputStride); in execute()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm16bitStorageTests.cpp208 const deUint32 inputStride = static_cast<deUint32>(originalBytes.size() / sizeof(float)) / count; in graphicsCheck16BitFloats() local
211 if (!compare16BitFloat(original[numNdx * inputStride], returned[numNdx], RoundingMode, log)) in graphicsCheck16BitFloats()
286 const deUint32 inputStride = static_cast<deUint32>(originalBytes.size() / sizeof(float)) / count; in computeCheck16BitFloats() local
289 if (!compare16BitFloat(original[numNdx * inputStride], returned[numNdx], RoundingMode, log)) in computeCheck16BitFloats()
1247 unsigned inputStride; in addCompute16bitStorageUniform16To32Group() member
1288 const deUint32 inputStride = cTypes[capIdx][tyIdx].inputStride; in addCompute16bitStorageUniform16To32Group() local
1291 vector<deFloat16> float16Data = getFloat16s(rnd, numElements * inputStride); in addCompute16bitStorageUniform16To32Group()
1297 float32Data.push_back(deFloat16To32(float16Data[numIdx * inputStride + scalarIdx])); in addCompute16bitStorageUniform16To32Group()
1391 unsigned inputStride; in addCompute16bitStorageUniform16To32Group() member
1424 const deUint32 inputStride = cTypes[capIdx][tyIdx].inputStride; in addCompute16bitStorageUniform16To32Group() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1837 const deUint32 inputStride = getLayoutStride(m_inputLayout); in uploadInputBuffer() local
1838 const int inputBufferSize = inputStride * numValues; in uploadInputBuffer()
1876 const deUint32 inputStride = getLayoutStride(m_inputLayout); in initBuffers() local
1879 const size_t inputBufferSize = de::max(numValues * inputStride, 1u); in initBuffers()
2754 const deUint32 inputStride = getInputStride(); in execute() local
2775 if (inputStride) in execute()
2780 curOffset * inputStride, // VkDeviceSize offset; in execute()
2781 numToExec * inputStride // VkDeviceSize range; in execute()
/external/angle/src/tests/gl_tests/
DVertexAttributeTest.cpp1947 GLsizei inputStride = floatStride * kFloatStride; in drawArraysWithStrideAndRelativeOffset() local
1954 glBindVertexBuffer(mTestAttrib, mBuffer, 0, inputStride); in drawArraysWithStrideAndRelativeOffset()