Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()
/external/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 …]
/external/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()
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DVideoPixelFormat.h69 android::ui::Size planeSize(VideoPixelFormat format, size_t plane,
/external/v4l2_codec2/common/
DVideoPixelFormat.cpp226 android::ui::Size plane_size = planeSize(format, i, coded_size); in allocationSize()
233 android::ui::Size planeSize(VideoPixelFormat format, size_t plane, in planeSize() function
/external/v4l2_codec2/components/
DV4L2Decoder.cpp286 size_t planeSize = inputBuffer->getPlaneSize(0); in pumpDecodeRequest() local
287 if (request.buffer->size > planeSize) { in pumpDecodeRequest()
288 ALOGE("The input size (%zu) is not enough, we need %zu", planeSize, in pumpDecodeRequest()
DV4L2Encoder.cpp731 getArea(planeSize(format, i, mInputLayout->mCodedSize)).value()); in enqueueInputBuffer()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp273 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local
276 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom()
469 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local
483 const size_t rowSize = planeSize / planeH; in fillImageMemory()
688 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local
704 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()
/external/angle/src/libANGLE/
Dformatutils.h504 YuvPlaneArray<uint32_t> planeSize; member
Dformatutils.cpp631 planeSize[0] = planePitch[0] * planeExtent[0].height; in YuvFormatInfo()
632 planeSize[1] = planePitch[1] * planeExtent[1].height; in YuvFormatInfo()
633 planeSize[2] = planePitch[2] * planeExtent[2].height; in YuvFormatInfo()
637 planeOffset[1] = planeSize[0]; in YuvFormatInfo()
638 planeOffset[2] = planeSize[0] + planeSize[1]; in YuvFormatInfo()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5659 *inputDepthPitch = yuvInfo.planeSize[0] + yuvInfo.planeSize[1] + yuvInfo.planeSize[2]; in CalculateBufferInfo()