Home
last modified time | relevance | path

Searched refs:planeSize (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp99 size_t planeSize = dst->computeImageSize(); in filterMask() local
100 if (0 == planeSize) { in filterMask()
103 dst->fImage = SkMask::AllocImage(planeSize * 3); in filterMask()
104 memcpy(dst->fImage, alphaPlane, planeSize); in filterMask()
DSkEmbossMask.cpp59 size_t planeSize = mask->computeImageSize(); in Emboss() local
61 uint8_t* multiply = (uint8_t*)alpha + planeSize; in Emboss()
62 uint8_t* additive = multiply + planeSize; in Emboss()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c367 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
370 if (planeSize < 0 || pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
375 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
380 srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
450 int planeSize = tjPlaneSizeYUV(i, width, dstStrides[i], height, subsamp); in TJCompressor_encodeYUV() local
453 if (planeSize < 0 || pw < 0) in TJCompressor_encodeYUV()
458 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
463 dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
829 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
833 if (planeSize < 0 || pw < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp160 size_t planeSize = pixmaps[i].rowBytes()*pixmaps[i].height(); in initPixmapsFromSingleAllocation() local
161 SkASSERT(planeSize); in initPixmapsFromSingleAllocation()
162 addr += planeSize; in initPixmapsFromSingleAllocation()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrUtil.cpp301 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local
305 fillRandomNoNaN(randomGen, planePtr, (deUint32)planeSize, format); in fillRandom()
309 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom()
501 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local
515 const size_t rowSize = planeSize / planeH; in fillImageMemory()
720 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local
736 const size_t rowSize = planeSize / planeH; in readImageMemory()
DvktYCbCrCopyTests.cpp740 …deUint32 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, … in imageCopyTest() local
741 for (size_t byteNdx = 0; byteNdx < planeSize; byteNdx++) in imageCopyTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp301 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local
305 fillRandomNoNaN(randomGen, planePtr, (deUint32)planeSize, format); in fillRandom()
309 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom()
501 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local
515 const size_t rowSize = planeSize / planeH; in fillImageMemory()
720 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local
736 const size_t rowSize = planeSize / planeH; in readImageMemory()
DvktYCbCrCopyTests.cpp740 …deUint32 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, … in imageCopyTest() local
741 for (size_t byteNdx = 0; byteNdx < planeSize; byteNdx++) in imageCopyTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h556 YuvPlaneArray<uint32_t> planeSize; member
Dformatutils.cpp644 planeSize[0] = planePitch[0] * planeExtent[0].height; in YuvFormatInfo()
645 planeSize[1] = planePitch[1] * planeExtent[1].height; in YuvFormatInfo()
646 planeSize[2] = planePitch[2] * planeExtent[2].height; in YuvFormatInfo()
650 planeOffset[1] = planeSize[0]; in YuvFormatInfo()
651 planeOffset[2] = planeSize[0] + planeSize[1]; in YuvFormatInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp6025 *inputDepthPitch = yuvInfo.planeSize[0] + yuvInfo.planeSize[1] + yuvInfo.planeSize[2]; in CalculateBufferInfo()