Searched defs:maxIndex (Results 1 - 25 of 42) sorted by relevance

12

/external/eigen/doc/examples/
H A DTutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp12 MatrixXf::Index maxIndex; local
13 float maxNorm = mat.colwise().sum().maxCoeff(&maxIndex);
15 std::cout << "Maximum sum at position " << maxIndex << std::endl;
18 std::cout << mat.col( maxIndex ) << std::endl;
/external/swiftshader/src/OpenGL/libGL/
H A DIndexDataManager.h34 unsigned int maxIndex; member in struct:gl::TranslatedIndexData
H A DIndexDataManager.cpp67 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument
70 *maxIndex = indices[0];
75 if(*maxIndex < indices[i]) *maxIndex = indices[i];
79 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument
83 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); local
87 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex); local
91 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); local
130 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
152 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
[all...]
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DIndexDataManager.h31 unsigned int maxIndex; member in struct:es1::TranslatedIndexData
H A DIndexDataManager.cpp63 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument
66 *maxIndex = indices[0];
71 if(*maxIndex < indices[i]) *maxIndex = indices[i];
75 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) argument
79 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); local
83 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); local
113 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
135 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DIndexDataManager.h33 unsigned int maxIndex; member in struct:es2::TranslatedIndexData
H A DIndexDataManager.cpp196 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsizei>* restartIndices) argument
198 *maxIndex = 0;
209 if(*maxIndex < indices[i]) *maxIndex = indices[i];
213 void computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsizei>* restartIndices) argument
217 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex, restartIndices); local
221 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex, restartIndices); local
225 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex, restartIndices); local
293 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex, restartIndices);
354 if(translated->minIndex < start || translated->maxIndex > en
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dfrontend.cpp584 /// @param maxIndex - The last index for all work items.
587 uint32_t maxIndex)
589 uint32_t remainder = (maxIndex - curIndex);
585 GetNumInvocations( uint32_t curIndex, uint32_t maxIndex) argument
/external/skia/src/codec/
H A DSkIcoCodec.cpp172 int maxIndex = 0; local
179 maxIndex = i;
182 int width = codecs->operator[](maxIndex)->getInfo().width();
183 int height = codecs->operator[](maxIndex)->getInfo().height();
184 SkEncodedInfo info = codecs->operator[](maxIndex)->getEncodedInfo();
185 SkColorSpace* colorSpace = codecs->operator[](maxIndex)->getInfo().colorSpace();
/external/skqp/src/codec/
H A DSkIcoCodec.cpp172 int maxIndex = 0; local
179 maxIndex = i;
182 int width = codecs->operator[](maxIndex)->getInfo().width();
183 int height = codecs->operator[](maxIndex)->getInfo().height();
184 SkEncodedInfo info = codecs->operator[](maxIndex)->getEncodedInfo();
185 SkColorSpace* colorSpace = codecs->operator[](maxIndex)->getInfo().colorSpace();
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/
H A DLabelImage.java67 int bestLabelIdx = maxIndex(labelProbabilities);
128 private static int maxIndex(float[] probabilities) { method in class:LabelImage
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleImageTests.cpp570 const int maxIndex = 3; // 4 components max local
578 << (i < maxIndex ? ", " : "");
581 for (int i = numComponents; i < maxIndex + 1; ++i)
583 str << (i == maxIndex ? 1 : 0)
584 << (i < maxIndex ? ", " : "");
H A DvktPipelineRenderToImageTests.cpp786 const int maxIndex = findIndexOfMaxComponent(size); local
787 const int reducedSize = size[maxIndex] >> 1;
793 if (maxIndex < 2)
795 else if (maxIndex == 3 && reducedSize >= NUM_CUBE_FACES)
802 size[maxIndex] = reducedSize;
/external/icu/icu4c/source/test/cintltst/
H A Duenumtst.c41 int32_t maxIndex; member in struct:chArrayContext
62 return cont->maxIndex;
67 if(cont->currIndex >= cont->maxIndex) {
84 if(cont->currIndex >= cont->maxIndex) {
147 int32_t maxIndex; member in struct:uchArrayContext
163 return ucont->maxIndex;
168 if(ucont->currIndex >= ucont->maxIndex) {
204 cont->maxIndex = size;
275 ucont->maxIndex = size;
/external/icu/icu4c/source/test/letest/
H A Dcletest.c701 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; local
706 if (ix > maxIndex) {
707 maxIndex = ix;
721 charIndex = maxIndex + 1;
H A Dletest.cpp931 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; local
936 if (ix > maxIndex) {
937 maxIndex = ix;
951 charIndex = maxIndex + 1;
/external/deqp/modules/gles31/functional/
H A Des31fNegativeShaderApiTests.cpp910 GLuint maxIndex = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); local
914 ctx.glBindAttribLocation(program, maxIndex, "test");
919 ctx.glBindAttribLocation(program, maxIndex-1, "gl_test");
924 ctx.glBindAttribLocation(-1, maxIndex-1, "test");
929 ctx.glBindAttribLocation(shader, maxIndex-1, "test");
H A Des31fOpaqueTypeIndexingTests.cpp533 const int maxIndex = maxElement(lookupIndices); local
548 if (samplerNdx > maxIndex && samplerLoc < 0)
/external/skia/samplecode/
H A DSampleFilterFuzz.cpp305 const int maxIndex = size - 1; local
307 lut[i] = (i * 255) / maxIndex;
308 invLut[i] = ((maxIndex - i) * 255) / maxIndex;
/external/skqp/samplecode/
H A DSampleFilterFuzz.cpp305 const int maxIndex = size - 1; local
307 lut[i] = (i * 255) / maxIndex;
308 invLut[i] = ((maxIndex - i) * 255) / maxIndex;
/external/aac/libSBRenc/src/
H A Denv_est.cpp121 static const UCHAR maxIndex[2] = {9, 5}; variable
452 for (i = 0; i < maxIndex[ampRes]; i++) {
463 return panTable[ampRes][maxIndex[ampRes] - 1] +
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktBasicDrawTests.cpp1013 const deUint32 maxIndex = vertexIdx + it->vertexOffset; local
1015 highestIndex = (maxIndex > highestIndex) ? maxIndex : highestIndex;
/external/error_prone/jFormatString/
H A DjFormatString-3.0.0.jarMETA-INF/ META-INF/MANIFEST.MF edu/ edu/umd/ edu/umd/cs/ edu/umd/cs/findbugs/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A DjFormatString.jarMETA-INF/ META-INF/MANIFEST.MF edu/ edu/umd/ edu/umd/cs/ edu/umd/cs/findbugs/ ...
/external/skia/src/core/
H A DSkPath.cpp2648 int maxIndex = index; local
2659 maxIndex = i;
2662 *maxIndexPtr = maxIndex;
2714 int maxIndex; local
2715 int minIndex = find_min_max_x_at_y(pts, index, n, &maxIndex);
2716 if (minIndex == maxIndex) {
2720 SkASSERT(pts[maxIndex].fY == pts[index].fY);
2721 SkASSERT(pts[minIndex].fX <= pts[maxIndex].fX);
2724 cross = minIndex - maxIndex;

Completed in 584 milliseconds

12