Home
last modified time | relevance | path

Searched refs:srcPixel (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/tests/
H A DGrOpListFlushTest.cpp19 const uint32_t srcPixel = *bitmap.getAddr32(x, 0); in check_read() local
20 if (srcPixel != SK_ColorGREEN) { in check_read()
22 x, srcPixel); in check_read()
H A DGrAHardwareBufferTest.cpp80 const uint32_t srcPixel = *expectedBitmap.getAddr32(x, y); in check_read() local
82 if (srcPixel != dstPixel) { in check_read()
84 x, y, srcPixel, dstPixel); in check_read()
88 x, y, srcPixel, dstPixel); in check_read()
H A DVkHardwareBufferTest.cpp1041 const uint32_t srcPixel = *srcBitmap.getAddr32(x, y); in check_read() local
1043 if (srcPixel != dstPixel) { in check_read()
1045 x, y, srcPixel, dstPixel); in check_read()
1049 x, y, srcPixel, dstPixel); in check_read()
1186 const uint32_t srcPixel = *srcBitmap.getAddr32(x, y); in run_test() local
1188 if (srcPixel != dstPixel) { in run_test()
1190 x, y, srcPixel, dstPixel); in run_test()
H A DTransferPixelsTest.cpp42 uint32_t srcPixel = GrColorPackRGBA(r, g, 0xff - r, 0xff - g); in fill_transfer_data() local
46 GrPixmap(srcInfo, &srcPixel, 4)); in fill_transfer_data()
/third_party/skia/gm/
H A Dwacky_yuv_formats.cpp517 std::function<void(uint16_t* dstPixel, const float* srcPixel)> convert) { in make_16()
526 const float* srcPixel = (const float*) src.getAddr(x, y); in make_16() local
529 convert(dstPixel, srcPixel); in make_16()
548 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV()
549 dstPixel[0] = flt_2_uint16(srcPixel[1]); // U in create_YUV()
550 dstPixel[1] = flt_2_uint16(srcPixel[0]); // Y in create_YUV()
551 dstPixel[2] = flt_2_uint16(srcPixel[2]); // V in create_YUV()
552 dstPixel[3] = flt_2_uint16(srcPixel[3]); // A in create_YUV()
609 (uint16_t* dstPixel, const float* srcPixel) { in create_YUV()
610 uint16_t val16 = flt_2_uint16(srcPixel[ in create_YUV()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp1896 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertUInt() local
1897 tcu::Vec4 dstPixel(srcPixel.x() / 255.0f, srcPixel.y() / 255.0f, srcPixel.z() / 255.0f, srcPixel.w() / 255.0f); in convertUInt()
1908 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertsRGB() local
1909 tcu::Vec4 dstPixel = sRGB8ToLinear(srcPixel); in convertsRGB()
1920 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertsRGBA() local
1921 tcu::Vec4 dstPixel = sRGBA8ToLinear(srcPixel); in convertsRGBA()
1932 tcu::UVec4 srcPixel in convertUInt_2_10_10_10_rev() local
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuCompressedTexture.cpp988 const deUint8* const srcPixel = &uncompressedBlockRGB[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_RGB8]; 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()
1024 const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_R11]; in decompressEAC_R11() local
1027 dstPixel[0] = extend11To16WithSign(srcPixel[0]); in decompressEAC_R11()
1031 const deUint16* const srcPixel = (deUint16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_PIXEL_SIZE_R11]; in decompressEAC_R11() local
1034 dstPixel[0] = extend11To16(srcPixel[0]); in decompressEAC_R11()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp511 const Vec4 srcPixel = access.getPixel(x, y); in clearUndefined() local
515 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined()
527 const IVec4 srcPixel = access.getPixelInt(x, y); in clearUndefined() local
531 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DTracePerfTest.cpp1862 EGLint srcPixel = x + y * mTestParams.windowWidth; in saveScreenshot() local
1864 memcpy(&rgbData[dstPixel * 3], &pixelData[srcPixel * 4], 3); in saveScreenshot()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp383 GLushort *srcPixel = reinterpret_cast<GLushort *>(src); in RearrangeEXTTextureNorm16Pixels() local
385 dstPixel[0] = srcPixel[0]; in RearrangeEXTTextureNorm16Pixels()
386 dstPixel[1] = format == GL_RG ? srcPixel[1] : 0; in RearrangeEXTTextureNorm16Pixels()

Completed in 23 milliseconds