Home
last modified time | relevance | path

Searched refs:planeSize (Results 1 – 15 of 15) 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/flutter/skia/src/effects/
DSkEmbossMaskFilter.cpp98 size_t planeSize = dst->computeImageSize(); in filterMask() local
99 if (0 == planeSize) { in filterMask()
102 dst->fImage = SkMask::AllocImage(planeSize * 3); in filterMask()
103 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/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java238 int planeSize = TJ.planeSizeYUV(i, width, strides[i], height, subsamp); in setBuf() local
249 if (strides[i] < 0 && offsets[i] - planeSize + pw < 0) in setBuf()
252 if (planes[i].length < offsets[i] + planeSize) in setBuf()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java238 int planeSize = TJ.planeSizeYUV(i, width, strides[i], height, subsamp); in setBuf() local
249 if (strides[i] < 0 && offsets[i] - planeSize + pw < 0) in setBuf()
252 if (planes[i].length < offsets[i] + planeSize) in setBuf()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c347 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
350 if (planeSize < 0 || pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
355 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
359 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
426 int planeSize = tjPlaneSizeYUV(i, width, dstStrides[i], height, subsamp); in TJCompressor_encodeYUV() local
429 if (planeSize < 0 || pw < 0) in TJCompressor_encodeYUV()
434 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
438 if ((*env)->GetArrayLength(env, jDstPlanes[i]) < dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
792 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
796 if (planeSize < 0 || pw < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]
/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/libjpeg-turbo/
Dturbojpeg-jni.c365 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
368 if (planeSize < 0 || pw < 0) { in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
377 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) { in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
384 srcOffsets[i] + planeSize) { in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
452 int planeSize = tjPlaneSizeYUV(i, width, dstStrides[i], height, subsamp); in TJCompressor_encodeYUV() local
455 if (planeSize < 0 || pw < 0) { in TJCompressor_encodeYUV()
464 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) { in TJCompressor_encodeYUV()
471 dstOffsets[i] + planeSize) { in TJCompressor_encodeYUV()
835 int planeSize = tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
839 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/vulkan/ycbcr/
DvktYCbCrUtil.cpp275 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local
278 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom()
471 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local
485 const size_t rowSize = planeSize / planeH; in fillImageMemory()
690 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local
706 const size_t rowSize = planeSize / planeH; in readImageMemory()
DvktYCbCrCopyTests.cpp736 …deUint32 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, … in imageCopyTest() local
737 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()