HomeSort by relevance Sort by last modified time
    Searched refs:numCols (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/deqp/modules/gles3/functional/
es3fShaderIndexingTests.cpp 808 int numCols = getDataTypeMatrixNumColumns(varType);
810 const char* matSizeName = getIntUniformName(numCols);
834 if (numCols >= 2) op << ", ui_one";
835 if (numCols >= 3) op << ", ui_two";
836 if (numCols >= 4) op << ", ui_three";
862 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n";
863 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n";
864 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n";
869 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n";
870 if (numCols >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"
    [all...]
es3fPrimitiveRestartTests.cpp 296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
300 const int numCols = 4;
306 for (int col = 0; col < numCols; col++)
308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
309 int numVertices = row*numCols + col + 1;
313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols;
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
363 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts.
367 const int numCols = 4;
373 for (int col = 0; col < numCols; col++
    [all...]
es3fInstancedRenderingTests.cpp 496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType);
498 glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*(int)sizeof(float), attrPtr);
  /external/skia/gm/
beziereffects.cpp 122 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3)));
123 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols);
124 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols;
207 if (numCols == col) {
262 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3)));
263 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols);
264 SkScalar w = SkIntToScalar(renderTargetContext->width()) / numCols;
340 if (numCols == col) {
482 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3)));
483 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols);
    [all...]
gaussianedge.cpp 98 int numCols = kNumBaseCols;
100 numCols++;
103 return SkISize::Make(kPad + numCols*(kCellWidth+kPad),
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderIndexingTests.cpp 888 int numCols = getDataTypeMatrixNumColumns(varType);
890 const char* matSizeName = getIntUniformName(numCols);
914 if (numCols >= 2) op << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n";
915 if (numCols >= 3) op << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n";
916 if (numCols >= 4) op << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n";
920 op << "layout(std140, binding = " << numCols << ") uniform something" << numCols << " { mediump int " << matSizeName << "; };\n";
941 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n";
942 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n";
943 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"
    [all...]
  /external/deqp/modules/gles2/scripts/
genutil.py 596 def __init__ (self, numCols, numRows, scalars):
597 assert len(scalars) == numRows*numCols
598 self.numCols = numCols
603 def identity (numCols, numRows):
605 for col in range(0, numCols):
608 return Mat(numCols, numRows, scalars)
611 assert 0 <= colNdx and colNdx < self.numCols
616 assert 0 <= colNdx and colNdx < self.numCols
620 def toMatrix (self, numCols, numRows)
    [all...]
gen-conversions.py 99 def combineMat(numCols, numRows, comps):
103 res.append(Mat(numCols, numRows, scalars))
  /packages/apps/Camera2/src/com/android/camera/util/
CaptureDataSerializer.java 190 int numCols = lensShading.getColumnCount();
199 for (int c = 0; c < numCols; c++) {
202 if (c < numCols - 1) {
  /external/deqp/modules/gles3/scripts/
genutil.py 739 def __init__ (self, numCols, numRows, scalars):
740 assert len(scalars) == numRows*numCols
741 self.numCols = numCols
746 def fromScalar (numCols, numRows, scalar):
748 for col in range(0, numCols):
751 return Mat(numCols, numRows, scalars)
754 def identity (numCols, numRows):
755 return Mat.fromScalar(numCols, numRows, 1.0)
758 assert 0 <= colNdx and colNdx < self.numCols
    [all...]
gen-conversions.py 102 def combineMat(numCols, numRows, comps):
106 res.append(Mat(numCols, numRows, scalars))
  /external/deqp/modules/gles31/scripts/
genutil.py 741 def __init__ (self, numCols, numRows, scalars):
742 assert len(scalars) == numRows*numCols
743 self.numCols = numCols
748 def fromScalar (numCols, numRows, scalar):
750 for col in range(0, numCols):
753 return Mat(numCols, numRows, scalars)
756 def identity (numCols, numRows):
757 return Mat.fromScalar(numCols, numRows, 1.0)
760 assert 0 <= colNdx and colNdx < self.numCols
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationPrimitiveDiscardTests.cpp 114 const int numCols = intPow(numChoices, 6/2); // sqrt(numChoices**6) == sqrt(number of primitives)
115 const int numRows = numCols;
130 const int col = index % numCols;
131 const int row = index / numCols;
133 result.push_back((float)2.0f / (float)numCols);
136 result.push_back((float)col / (float)numCols * 2.0f - 1.0f);
  /dalvik/opcode-gen/
opcode-gen.awk 236 function colPrint(value, isLast, col, numCols, colWidth, linePrefix) {
237 isLast = (isLast || (col == numCols));
243 return (col % numCols) + 1;
  /external/deqp/framework/opengl/
gluShaderUtil.cpp 738 DataType getDataTypeMatrix (int numCols, int numRows)
740 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4));
741 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2));
gluShaderUtil.hpp 224 DataType getDataTypeMatrix (int numCols, int numRows);
  /external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
vktFragmentOperationsScissorMultiViewportTests.cpp 390 const int numCols = deCeilFloatToInt32(deFloatSqrt(static_cast<float>(numScissors)));
391 const int numRows = deCeilFloatToInt32(static_cast<float>(numScissors) / static_cast<float>(numCols));
392 const int rectWidth = renderSize.x() / numCols;
403 const bool nextRow = (scissorNdx != 0) && (scissorNdx % numCols == 0);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fBufferTestUtil.cpp 451 int numCols = de::min(maxQuadsX, numQuads);
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset);
466 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE);
  /frameworks/base/tools/aapt/
Images.cpp 558 int numCols;
691 numCols = numXDivs + 1;
693 numCols--;
696 numCols--;
708 if (numRows * numCols > 0x7F) {
713 numColors = numRows * numCols;
    [all...]
  /frameworks/base/tools/aapt2/compile/
Png.cpp 992 int numCols;
    [all...]
  /device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
arm_math.h 197 * uint16_t numCols; // number of columns of the matrix.
204 * an array of data. The array is of size <code>numRows X numCols</code>
208 * pData[i*numCols + j]
    [all...]
  /external/deqp/modules/glshared/
glsShaderRenderCase.cpp 560 int numCols;
583 int numCols = matrices[matNdx].numCols;
585 for (int colNdx = 0; colNdx < numCols; colNdx++)
  /external/eigen/Eigen/src/plugins/
BlockMethods.h 705 /// \param numCols the number of columns in the block
715 inline ColsBlockXpr middleCols(Index startCol, Index numCols)
717 return ColsBlockXpr(derived(), 0, startCol, rows(), numCols);
722 inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const
724 return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ssbo/
vktSSBOLayoutCase.cpp 900 const int numCols = glu::getDataTypeMatrixNumColumns(basicType);
905 for (int colNdx = 0; colNdx < numCols; colNdx++)
933 const int numCols = glu::getDataTypeMatrixNumColumns(basicType);
936 for (int colNdex = 0; colNdex < numCols; colNdex++)
950 for (int colNdex = 0; colNdex < numCols; colNdex++)
    [all...]
  /external/autotest/frontend/client/src/autotest/common/spreadsheet/
Spreadsheet.java 485 int numCols = table.getCellCount(row);
486 return table.getCellFormatter().getElement(row, numCols - 1).getOffsetHeight() -

Completed in 1003 milliseconds

1 2 3