/external/angle/src/tests/gl_tests/ |
D | ProvokingVertexTest.cpp | 128 GLint pixelValue[4] = {0}; in TEST_P() local 129 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P() 132 EXPECT_EQ(vertexData[2], pixelValue[0]); in TEST_P() 162 GLint pixelValue[4] = {0}; in TEST_P() local 163 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P() 166 EXPECT_EQ(vertexData[2], pixelValue[0]); in TEST_P() 198 GLint pixelValue[4] = {0}; in TEST_P() local 199 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P() 202 EXPECT_EQ(vertexData[1], pixelValue[0]); in TEST_P() 325 int32_t pixelValue[4] = {0}; in TEST_P() local [all …]
|
D | PixmapTest.cpp | 245 unsigned int pixelValue = 0xFFFF00FF; in TEST_P() local 246 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
|
D | TextureTest.cpp | 6941 GLushort pixelValue = (type == GL_SHORT) ? 0x7FFF : 0x6A35; in testNorm16Texture() local 6942 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16Texture() 6960 GLubyte expectedValue = (type == GL_SHORT) ? 0xFF : static_cast<GLubyte>(pixelValue >> 8); in testNorm16Texture() 7055 GLushort pixelValue = 0x6A35; in testNorm16RenderAndReadPixels() local 7056 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16RenderAndReadPixels() 7058 format, GLColor16UI(pixelValue, pixelValue, pixelValue, pixelValue)); in testNorm16RenderAndReadPixels() 7340 GLubyte pixelValue = 0xab; in TEST_P() local 7341 GLubyte imageData[] = {pixelValue, pixelValue}; in TEST_P() 7345 SliceFormatColor(GL_RED_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P() 7350 SliceFormatColor(GL_RG_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P() [all …]
|
D | PbufferTest.cpp | 470 unsigned int pixelValue = 0xFFFF00FF; in TEST_P() local 471 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | ImageClassifierQuantizedMobileNet.java | 72 protected void addPixelValue(int pixelValue) { in addPixelValue() argument 73 imgData.put((byte) ((pixelValue >> 16) & 0xFF)); in addPixelValue() 74 imgData.put((byte) ((pixelValue >> 8) & 0xFF)); in addPixelValue() 75 imgData.put((byte) (pixelValue & 0xFF)); in addPixelValue()
|
D | ImageClassifierFloatInception.java | 79 protected void addPixelValue(int pixelValue) { in addPixelValue() argument 80 imgData.putFloat((((pixelValue >> 16) & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue() 81 imgData.putFloat((((pixelValue >> 8) & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue() 82 imgData.putFloat(((pixelValue & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue()
|
D | ImageClassifierFloatMobileNet.java | 74 protected void addPixelValue(int pixelValue) { in addPixelValue() argument 75 imgData.putFloat((((pixelValue >> 16) & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue() 76 imgData.putFloat((((pixelValue >> 8) & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue() 77 imgData.putFloat(((pixelValue & 0xFF) - IMAGE_MEAN) / IMAGE_STD); in addPixelValue()
|
D | ImageClassifier.java | 329 protected abstract void addPixelValue(int pixelValue); in addPixelValue() argument
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicBenchmarker.java | 138 final int pixelValue = intValues[pixel++]; in loadsInputToByteBuffer() local 139 imgData.put((byte) ((pixelValue >> 16) & 0xFF)); in loadsInputToByteBuffer() 140 imgData.put((byte) ((pixelValue >> 8) & 0xFF)); in loadsInputToByteBuffer() 141 imgData.put((byte) (pixelValue & 0xFF)); in loadsInputToByteBuffer()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TestUtils.java | 96 int pixelValue = image.getRGB(x, y); in toFloatByteBuffer() local 97 imgData.putFloat((((pixelValue >> 16) & 0xFF) - imageMean) / imageStd); in toFloatByteBuffer() 98 imgData.putFloat((((pixelValue >> 8) & 0xFF) - imageMean) / imageStd); in toFloatByteBuffer() 99 imgData.putFloat(((pixelValue & 0xFF) - imageMean) / imageStd); in toFloatByteBuffer()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/ |
D | OvicDetectorTest.java | 94 int pixelValue = image.getRGB(x, y); in toByteBuffer() local 95 imgData.put((byte) ((pixelValue >> 16) & 0xFF)); in toByteBuffer() 96 imgData.put((byte) ((pixelValue >> 8) & 0xFF)); in toByteBuffer() 97 imgData.put((byte) (pixelValue & 0xFF)); in toByteBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 607 deUint32 pixelValue; in iterateAspect() local 608 deMemcpy(&pixelValue, imagePixelPtr, pixelSizeSz); in iterateAspect() 609 pixelValue &= 0xFFFFFFu; // Discard the 8 MSB. in iterateAspect() 610 pixelMatch = (deMemCmp(bufferPixelPtr, &pixelValue, pixelSizeSz) == 0); in iterateAspect()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 2994 PixelValue pixelValue; in clearValueToPixelValue() local 3001 pixelValue.setValue(0, true); in clearValueToPixelValue() 3003 pixelValue.setValue(0, false); in clearValueToPixelValue() 3011 pixelValue.setValue(1, true); in clearValueToPixelValue() 3013 pixelValue.setValue(1, false); in clearValueToPixelValue() 3031 pixelValue.setValue(i, true); in clearValueToPixelValue() 3033 pixelValue.setValue(i, false); in clearValueToPixelValue() 3046 pixelValue.setValue(i, true); in clearValueToPixelValue() 3048 pixelValue.setValue(i, false); in clearValueToPixelValue() 3063 pixelValue.setValue(i, true); in clearValueToPixelValue() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTests.cpp | 891 const deUint32 pixelValue = *((const deUint32*)image.getDataPtr() + pixelNdx); in getUniqueColorsCount() local 893 if (histogram.find(pixelValue) != histogram.end()) in getUniqueColorsCount() 894 histogram[pixelValue]++; in getUniqueColorsCount() 896 histogram[pixelValue] = 1; in getUniqueColorsCount()
|