Home
last modified time | relevance | path

Searched refs:srcPixel (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DConvert.h233 const float srcPixel[4]) in ConvertPixelFromFloat()
242 float src = srcPixel[comp]; in ConvertPixelFromFloat()
560 const float srcPixel[4]) in ConvertPixelFromFloat()
564 case R32G32B32A32_FLOAT: ConvertPixelFromFloat<R32G32B32A32_FLOAT>(pDst, srcPixel); break; in ConvertPixelFromFloat()
565 case R32G32B32A32_SINT: ConvertPixelFromFloat<R32G32B32A32_SINT>(pDst, srcPixel); break; in ConvertPixelFromFloat()
566 case R32G32B32A32_UINT: ConvertPixelFromFloat<R32G32B32A32_UINT>(pDst, srcPixel); break; in ConvertPixelFromFloat()
567 case R32G32B32X32_FLOAT: ConvertPixelFromFloat<R32G32B32X32_FLOAT>(pDst, srcPixel); break; in ConvertPixelFromFloat()
568 case R32G32B32A32_SSCALED: ConvertPixelFromFloat<R32G32B32A32_SSCALED>(pDst, srcPixel); break; in ConvertPixelFromFloat()
569 case R32G32B32A32_USCALED: ConvertPixelFromFloat<R32G32B32A32_USCALED>(pDst, srcPixel); break; in ConvertPixelFromFloat()
570 case R32G32B32_FLOAT: ConvertPixelFromFloat<R32G32B32_FLOAT>(pDst, srcPixel); break; in ConvertPixelFromFloat()
[all …]
/third_party/skia/gm/
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() argument
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() argument
610 uint16_t val16 = flt_2_uint16(srcPixel[0]); in create_YUV()
[all …]
/third_party/flutter/skia/tests/
DGrOpListFlushTest.cpp18 const uint32_t srcPixel = *bitmap.getAddr32(x, 0); in check_read() local
19 if (srcPixel != SK_ColorGREEN) { in check_read()
21 x, srcPixel); in check_read()
DGrAHardwareBufferTest.cpp79 const uint32_t srcPixel = *expectedBitmap.getAddr32(x, y); in check_read() local
81 if (srcPixel != dstPixel) { in check_read()
83 x, y, srcPixel, dstPixel); in check_read()
DVkHardwareBufferTest.cpp1029 const uint32_t srcPixel = *srcBitmap.getAddr32(x, y); in check_read() local
1031 if (srcPixel != dstPixel) { in check_read()
1033 x, y, srcPixel, dstPixel); in check_read()
1166 const uint32_t srcPixel = *srcBitmap.getAddr32(x, y); in run_test() local
1168 if (srcPixel != dstPixel) { in run_test()
1170 x, y, srcPixel, dstPixel); in run_test()
DTransferPixelsTest.cpp40 uint32_t srcPixel = GrColorPackRGBA(r, g, 0xff - r, 0xff - g); in fill_transfer_data() local
43 GrConvertPixels(dstInfo, dstLocation(i, j), dstBpp, srcInfo, &srcPixel, 4); in fill_transfer_data()
/third_party/skia/tests/
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()
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()
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()
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()
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/vk-gl-cts/external/openglcts/modules/common/
DglcInternalformatTests.cpp1889 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertUInt() local
1890 …tcu::Vec4 dstPixel(srcPixel.x() / 255.0f, srcPixel.y() / 255.0f, srcPixel.z() / 255.0f, srcPixel.w… in convertUInt()
1901 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertsRGB() local
1902 tcu::Vec4 dstPixel = sRGB8ToLinear(srcPixel); in convertsRGB()
1913 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertsRGBA() local
1914 tcu::Vec4 dstPixel = sRGBA8ToLinear(srcPixel); in convertsRGBA()
1925 tcu::UVec4 srcPixel = src.getPixelUint(x, y, z); in convertUInt_2_10_10_10_rev() local
1926 …tcu::Vec4 dstPixel(srcPixel.x() / 1023.0f, srcPixel.y() / 1023.0f, srcPixel.z() / 1023.0f, srcPixe… in convertUInt_2_10_10_10_rev()
/third_party/vk-gl-cts/framework/common/
DtcuCompressedTexture.cpp988 …const deUint8* const srcPixel = &uncompressedBlockRGB[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_… 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_UNCOMPR… 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_UNCOM… in decompressEAC_R11() local
1034 dstPixel[0] = extend11To16(srcPixel[0]); in decompressEAC_R11()
/third_party/vk-gl-cts/modules/gles3/functional/
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/libANGLE/renderer/gl/
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()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DTracePerfTest.cpp1862 EGLint srcPixel = x + y * mTestParams.windowWidth; in saveScreenshot() local
1864 memcpy(&rgbData[dstPixel * 3], &pixelData[srcPixel * 4], 3); in saveScreenshot()