Home
last modified time | relevance | path

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

/external/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 …]
/external/skia/src/core/
DSkBitmapScaler.cpp145 float srcPixel = (destSubsetLo + 0.5f) * invScale; in computeFilters() local
148 for (int destI = 0; destI < destLimit; srcPixel += invScale, destI++) { in computeFilters()
150 float srcBegin = SkTMax(0.f, SkScalarFloorToScalar(srcPixel - srcSupport)); in computeFilters()
151 float srcEnd = SkTMin(srcSize - 1.f, SkScalarCeilToScalar(srcPixel + srcSupport)); in computeFilters()
163 float destFilterDist = (srcBegin + 0.5f - srcPixel) * clampedScale; in computeFilters()
DSkLinearBitmapPipeline.cpp302 this->srcPixel(fDst, pixel, 0); in blendPixel()
309 this->srcPixel(dst, p0, 0); in blend4Pixels()
310 this->srcPixel(dst, p1, 1); in blend4Pixels()
311 this->srcPixel(dst, p2, 2); in blend4Pixels()
312 this->srcPixel(dst, p3, 3); in blend4Pixels()
322 void SK_VECTORCALL srcPixel(SkPM4f* dst, Sk4f pixel, int index) { in srcPixel() function in __anon1ef8e7930111::SrcFPPixel
/external/deqp/framework/common/
DtcuCompressedTexture.cpp887 …const deUint8* const srcPixel = &uncompressedBlockRGB[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPRESSED_… in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() local
892 dstPixel[0] = srcPixel[0]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1()
893 dstPixel[1] = srcPixel[1]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1()
894 dstPixel[2] = srcPixel[2]; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1()
923 …const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPR… in decompressEAC_R11() local
926 dstPixel[0] = extend11To16WithSign(srcPixel[0]); in decompressEAC_R11()
930 …const deUint16* const srcPixel = (deUint16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_R11() local
933 dstPixel[0] = extend11To16(srcPixel[0]); in decompressEAC_R11()
/external/skia/tests/
DColorSpaceXformTest.cpp333 std::unique_ptr<uint64_t[]> srcPixel(new uint64_t[1]); in DEF_TEST() local
334 srcPixel[0] = 0; in DEF_TEST()
342 SkColorSpaceXform::kRGBA_U16_BE_ColorFormat, srcPixel.get(), 1, in DEF_TEST()
/external/deqp/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()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h2996 float4 srcPixel = ReadFloat4(image, number_channels, columns, x, y, channel);
2997 float4 diff = srcPixel - value;
3002 value = select(srcPixel + diff * gain, srcPixel, mask);