HomeSort by relevance Sort by last modified time
    Searched defs:numComponents (Results 1 - 25 of 33) sorted by null

1 2

  /external/skia/src/images/
SkJPEGImageEncoder.cpp 28 * |numComponents| will be set to the number of components in the |jpegColorType|.
36 static bool set_encode_config(J_COLOR_SPACE* jpegColorType, int* numComponents,
42 *numComponents = 4;
46 *numComponents = 4;
51 *numComponents = 3;
56 *numComponents = 3;
61 *numComponents = 3;
66 *numComponents = 1;
75 *numComponents = 4;
116 int numComponents;
    [all...]
  /external/deqp/modules/glshared/
glsShaderPerformanceMeasurer.cpp 79 const int numComponents = 4;
92 for (int compNdx = 0; compNdx < numComponents; compNdx++)
93 dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p11[compNdx]));
glsRandomShaderProgram.cpp 185 const int numComponents = attribType.getNumElements();
188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1];
198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2];
199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3];
226 const int numComponents = varType.getNumElements();
229 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
238 if (numComponents >= 2) dst[1] = access.component(1).asFloat(ndx);
239 if (numComponents >= 3) dst[2] = access.component(2).asFloat(ndx);
240 if (numComponents >= 4) dst[3] = access.component(3).asFloat(ndx)
    [all...]
glsRandomShaderCase.cpp 161 int numComponents = input->getVariable()->getType().getNumElements();
173 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents];
178 DE_ASSERT(numComponents == 4);
186 for (int compNdx = 0; compNdx < numComponents; compNdx++)
glsVertexArrayTests.cpp 779 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents)
782 switch (numComponents)
794 switch (numComponents)
840 const int numComponents = m_componentCount[attribNdx];
844 case rr::GENERICVECTYPE_FLOAT: calcShaderColorCoord(coord, color, rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
845 case rr::GENERICVECTYPE_INT32: calcShaderColorCoord(coord, color, rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
846 case rr::GENERICVECTYPE_UINT32: calcShaderColorCoord(coord, color, rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
    [all...]
glsLongStressCase.cpp     [all...]
  /frameworks/av/media/libstagefright/omx/
OMXMaster.cpp 193 size_t numComponents = mPluginByComponentName.size();
195 if (index >= numComponents) {
  /external/deqp/framework/opengl/
gluDrawUtil.hpp 116 int numComponents; //!< Number of components per element.
125 , numComponents (numComponents_)
135 , numComponents (0)
246 inline VertexArrayBinding NAME (const std::string& name, int offset, int numComponents, int numElements, int stride, const DATATYPE* data) \
248 return VertexArrayBinding(BindingPoint(name, offset), VertexArrayPointer(TYPE, CONVERT, numComponents, numElements, stride, data)); \
250 inline VertexArrayBinding NAME (const std::string& name, int numComponents, int numElements, int stride, const DATATYPE* data) \
252 return NAME(name, 0, numComponents, numElements, stride, data); \
254 inline VertexArrayBinding NAME (int location, int numComponents, int numElements, int stride, const DATATYPE* data) \
256 return VertexArrayBinding(BindingPoint(location), VertexArrayPointer(TYPE, CONVERT, numComponents, numElements, stride, data)); \
gluDrawUtil.cpp 46 int numComponents;
61 , numComponents (numComponents_)
72 , numComponents (0)
278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents;
287 va.pointer.numComponents,
304 dstVA.numComponents == srcPtr.numComponents &&
307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents;
396 vertexArray.pointer.numComponents,
416 gl.vertexAttribIPointer(va.location, va.numComponents, compTypeGL, va.stride, va.pointer)
    [all...]
  /external/skia/src/sfnt/
SkOTTable_EBDT.h 95 SK_OT_USHORT numComponents; // Number of components
96 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
101 SK_OT_USHORT numComponents; // Number of components
102 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
linkValidate.cpp     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/image/
vktImageSizeTests.cpp 235 const int numComponents = texture.dimension();
236 for (int i = 0; i < numComponents; ++i)
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineRenderToImageTests.cpp 411 std::string getColorFormatStr (const int numComponents, const bool isUint, const bool isSint)
414 if (numComponents == 1)
417 str << (isUint ? "u" : isSint ? "i" : "") << "vec" << numComponents;
469 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order);
499 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint);
511 << (numComponents == 1 ? "in_color.r" :
512 numComponents == 2 ? "in_color.rg" :
513 numComponents == 3 ? "in_color.rgb" : "in_color")
    [all...]
  /external/deqp/modules/gles2/performance/
es2pShaderControlStatementTests.cpp 304 const int numComponents = 4;
308 m_comparisonValueArray.resize(numVertices * numComponents);
313 if (i % numComponents == 0)
314 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f;
359 const int numComponents = 4;
362 DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHeight() + 1));
368 gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL);
580 const int numComponents = 4;
584 m_boundArray.resize(numVertices * numComponents);
589 if (i % numComponents == 0
    [all...]
es2pShaderOperatorTests.cpp 350 const int numComponents = 4;
353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents);
367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTransformFeedbackTests.cpp 265 int numComponents = 0;
268 numComponents = 4;
270 numComponents = 1;
278 numComponents = glu::getVarType(varying.type, varPath).getScalarSize();
281 if (tfMode == GL_SEPARATE_ATTRIBS && numComponents > maxTfSeparateComponents)
284 totalTfComponents += numComponents;
726 int numComponents = glu::getDataTypeScalarSize(type);
735 for (int compNdx = 0; compNdx < numComponents; compNdx++)
779 outOffset += numComponents*(int)sizeof(deUint32);
    [all...]
es3fShaderCommonFunctionTests.cpp 296 const int numComponents = glu::getDataTypeScalarSize(basicType);
298 if (numComponents > 1)
301 for (int compNdx = 0; compNdx < numComponents; compNdx++)
318 if (numComponents > 1)
    [all...]
es3fShaderDerivateTests.cpp 455 const int numComponents = glu::getDataTypeFloatScalars(dataType);
490 for (int c = 0; c < numComponents; ++c)
    [all...]
  /external/deqp/modules/gles3/performance/
es3pShaderControlStatementTests.cpp 308 const int numComponents = 4;
312 m_comparisonValueArray.resize(numVertices * numComponents);
317 if (i % numComponents == 0)
318 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f;
363 const int numComponents = 4;
366 DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHeight() + 1));
372 gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL);
588 const int numComponents = 4;
592 m_boundArray.resize(numVertices * numComponents);
597 if (i % numComponents == 0
    [all...]
es3pShaderOperatorTests.cpp 350 const int numComponents = 4;
353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents);
367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderIntegerFunctionTests.cpp 85 const int numComponents = glu::getDataTypeScalarSize(basicType);
87 if (numComponents > 1)
90 for (int compNdx = 0; compNdx < numComponents; compNdx++)
107 if (numComponents > 1)
    [all...]
vktShaderCommonFunctionTests.cpp 313 const int numComponents = glu::getDataTypeScalarSize(basicType);
315 if (numComponents > 1)
318 for (int compNdx = 0; compNdx < numComponents; compNdx++)
335 if (numComponents > 1)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fShaderCommonFunctionTests.cpp 370 const int numComponents = glu::getDataTypeScalarSize(basicType);
372 if (numComponents > 1)
375 for (int compNdx = 0; compNdx < numComponents; compNdx++)
392 if (numComponents > 1)
    [all...]
es31fShaderIntegerFunctionTests.cpp 83 const int numComponents = glu::getDataTypeScalarSize(basicType);
85 if (numComponents > 1)
88 for (int compNdx = 0; compNdx < numComponents; compNdx++)
105 if (numComponents > 1)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderDerivateTests.cpp 419 const int numComponents = glu::getDataTypeFloatScalars(dataType);
454 for (int c = 0; c < numComponents; ++c)
    [all...]

Completed in 1343 milliseconds

1 2