Searched refs:planeSize (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/effects/ |
D | SkEmbossMaskFilter.cpp | 98 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()
|
D | SkEmbossMask.cpp | 59 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/ |
D | SkEmbossMaskFilter.cpp | 98 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()
|
D | SkEmbossMask.cpp | 59 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/ |
D | YUVImage.java | 238 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/ |
D | turbojpeg-jni.c | 349 int planeSize = tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local 352 if (planeSize < 0 || pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 357 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 361 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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrViewTests.cpp | 483 const UVec2 planeSize (size.x() / formatInfo.planes[params.planeNdx].widthDivisor, in testPlaneView() local 488 ? createTestImage(vkd, device, planeViewFormat, planeSize, createFlags) in testPlaneView() 663 tcu::IVec3((int)planeSize.x(), (int)planeSize.y(), 1), in testPlaneView()
|
D | vktYCbCrUtil.cpp | 73 const deUint32 planeSize = m_description.planes[planeNdx].elementSizeBytes * planeW * planeH; in MultiPlaneImageData() local 75 m_planeData[planeNdx].resize(planeSize); in MultiPlaneImageData() 248 const size_t planeSize = imageData->getPlaneSize(planeNdx); in fillRandom() local 251 for (size_t ndx = 0; ndx < planeSize; ++ndx) in fillRandom() 443 const size_t planeSize = imageData.getPlaneSize(planeNdx); in fillImageMemory() local 457 const size_t rowSize = planeSize / planeH; in fillImageMemory() 666 const size_t planeSize = imageData->getPlaneSize(planeNdx); in readImageMemory() local 682 const size_t rowSize = planeSize / planeH; in readImageMemory()
|