/external/deqp/framework/common/ |
D | tcuCompressedTexture.cpp | 957 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; in decompressETC2_EAC_RGBA8() local 960 dstPixel[0] = srcPixelRGB[0]; in decompressETC2_EAC_RGBA8() 961 dstPixel[1] = srcPixelRGB[1]; in decompressETC2_EAC_RGBA8() 962 dstPixel[2] = srcPixelRGB[2]; in decompressETC2_EAC_RGBA8() 963 dstPixel[3] = srcPixelAlpha[0]; in decompressETC2_EAC_RGBA8() 990 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() local 993 dstPixel[0] = srcPixel[0]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() 994 dstPixel[1] = srcPixel[1]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() 995 dstPixel[2] = srcPixel[2]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() 996 dstPixel[3] = srcPixelAlpha[0]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() [all …]
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 520 std::function<void(uint16_t* dstPixel, const float* srcPixel)> convert) { in make_16() argument 530 uint16_t* dstPixel = (uint16_t*) result.getAddr(x, y); in make_16() local 532 convert(dstPixel, srcPixel); in make_16() 551 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument 552 dstPixel[0] = flt_2_uint16(srcPixel[1]); // U in create_YUV() 553 dstPixel[1] = flt_2_uint16(srcPixel[0]); // Y in create_YUV() 554 dstPixel[2] = flt_2_uint16(srcPixel[2]); // V in create_YUV() 555 dstPixel[3] = flt_2_uint16(srcPixel[3]); // A in create_YUV() 612 (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument 614 dstPixel[0] = tenBitsPP ? (val16 & 0xFFC0) in create_YUV() [all …]
|
/external/skqp/tests/ |
D | GrAHardwareBufferTest.cpp | 80 const uint32_t dstPixel = *actualBitmap.getAddr32(x, y); in check_read() local 81 if (srcPixel != dstPixel) { in check_read() 83 x, y, srcPixel, dstPixel); in check_read()
|
D | VkHardwareBufferTest.cpp | 1039 const uint32_t dstPixel = *dstBitmap.getAddr32(x, y); in check_read() local 1040 if (srcPixel != dstPixel) { in check_read() 1042 x, y, srcPixel, dstPixel); in check_read() 1176 uint32_t dstPixel = bufferAddr[y * hwbDesc.stride + x]; in run_test() local 1177 if (srcPixel != dstPixel) { in run_test() 1179 x, y, srcPixel, dstPixel); in run_test()
|
/external/skia/tests/ |
D | GrAHardwareBufferTest.cpp | 81 const uint32_t dstPixel = *actualBitmap.getAddr32(x, y); in check_read() local 82 if (srcPixel != dstPixel) { in check_read() 84 x, y, srcPixel, dstPixel); in check_read()
|
D | VkHardwareBufferTest.cpp | 1042 const uint32_t dstPixel = *dstBitmap.getAddr32(x, y); in check_read() local 1043 if (srcPixel != dstPixel) { in check_read() 1045 x, y, srcPixel, dstPixel); in check_read() 1187 uint32_t dstPixel = bufferAddr[y * hwbDesc.stride + x]; in run_test() local 1188 if (srcPixel != dstPixel) { in run_test() 1190 x, y, srcPixel, dstPixel); in run_test()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | Convert.h | 394 float dstPixel[4], in ConvertPixelToFloat() 406 dstPixel[comp] = *(float*)&def; in ConvertPixelToFloat() 454 dstPixel[FormatTraits<SrcFormat>::swizzle(comp)] = dst; in ConvertPixelToFloat() 486 dstPixel[FormatTraits<SrcFormat>::swizzle(comp)] = dst; in ConvertPixelToFloat() 492 dstPixel[FormatTraits<SrcFormat>::swizzle(comp)] = *(float*)&dst; in ConvertPixelToFloat() 514 dstPixel[FormatTraits<SrcFormat>::swizzle(comp)] = *(float*)&dst; in ConvertPixelToFloat() 546 dstPixel[FormatTraits<SrcFormat>::swizzle(comp)] = *(float*)&dst; in ConvertPixelToFloat()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcInternalformatTests.cpp | 1887 …tcu::Vec4 dstPixel(srcPixel.x() / 255.0f, srcPixel.y() / 255.0f, srcPixel.z() / 255.0f, srcPixel.w… in convertUInt() local 1888 dst.setPixel(dstPixel, x, y, z); in convertUInt() 1899 tcu::Vec4 dstPixel = sRGB8ToLinear(srcPixel); in convertsRGB() local 1900 dst.setPixel(dstPixel, x, y, z); in convertsRGB() 1911 tcu::Vec4 dstPixel = sRGBA8ToLinear(srcPixel); in convertsRGBA() local 1912 dst.setPixel(dstPixel, x, y, z); in convertsRGBA() 1923 …tcu::Vec4 dstPixel(srcPixel.x() / 1023.0f, srcPixel.y() / 1023.0f, srcPixel.z() / 1023.0f, srcPixe… in convertUInt_2_10_10_10_rev() local 1924 dst.setPixel(dstPixel, x, y, z); in convertUInt_2_10_10_10_rev()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 512 Vec4 dstPixel (0.0f, 0.0f, 0.0f, 1.0f); in clearUndefined() local 515 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined() 517 access.setPixel(dstPixel, x, y); in clearUndefined() 528 IVec4 dstPixel (0, 0, 0, (0x1u << (deUint64)bitDepth.w()) - 1); in clearUndefined() local 531 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined() 533 access.setPixel(dstPixel, x, y); in clearUndefined()
|
/external/angle/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 383 GLushort *dstPixel = reinterpret_cast<GLushort *>(dst); in RearrangeEXTTextureNorm16Pixels() local 384 dstPixel[0] = srcPixel[0]; in RearrangeEXTTextureNorm16Pixels() 385 dstPixel[1] = format == GL_RG ? srcPixel[1] : 0; in RearrangeEXTTextureNorm16Pixels() 387 dstPixel[2] = 0; in RearrangeEXTTextureNorm16Pixels() 389 dstPixel[3] = 0xFFFF; in RearrangeEXTTextureNorm16Pixels()
|
/external/angle/src/tests/perf_tests/ |
D | TracePerfTest.cpp | 1589 EGLint dstPixel = x + (mTestParams.windowHeight - y - 1) * mTestParams.windowWidth; in saveScreenshot() local 1590 memcpy(&rgbData[dstPixel * 3], &pixelData[srcPixel * 4], 3); in saveScreenshot()
|