Home
last modified time | relevance | path

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

/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/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()
/external/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()
/external/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 …]
/external/v4l2_codec2/components/
DV4L2Decoder.cpp276 size_t planeSize = inputBuffer->GetPlaneSize(0); in pumpDecodeRequest() local
277 if (request.buffer->size > planeSize) { in pumpDecodeRequest()
278 ALOGE("The input size (%zu) is not enough, we need %zu", planeSize, in pumpDecodeRequest()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp235 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local
238 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom()
426 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local
440 const size_t rowSize = planeSize / planeH; in fillImageMemory()
645 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local
661 const size_t rowSize = planeSize / planeH; in readImageMemory()
DvktYCbCrCopyTests.cpp730 …deUint32 planeSize = vk::getPlaneSizeInBytes(result.getDescription(), result.getSize(), planeNdx, … in imageCopyTest() local
731 for (size_t byteNdx = 0; byteNdx < planeSize; byteNdx++) in imageCopyTest()