Searched refs:planeSize (Results 1 – 7 of 7) sorted by relevance
/external/opencv3/modules/cudacodec/src/cuda/ |
D | rgb_to_yv12.cu | 80 const size_t planeSize = src.rows * dst.step; in Gray_to_YV12() local 82 GlobPtr<uchar> u_plane = globPtr(y_plane.data + planeSize, dst.step / 2); in Gray_to_YV12() 83 GlobPtr<uchar> v_plane = globPtr(u_plane.data + (planeSize / 4), dst.step / 2); in Gray_to_YV12() 117 const size_t planeSize = src.rows * dst.step; in RGB_to_YV12() local 119 GlobPtr<uchar> u_plane = globPtr(y_plane.data + planeSize, dst.step / 2); in RGB_to_YV12() 120 GlobPtr<uchar> v_plane = globPtr(u_plane.data + (planeSize / 4), dst.step / 2); in RGB_to_YV12()
|
/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 | 94 size_t planeSize = mask->computeImageSize(); in Emboss() local 96 uint8_t* multiply = (uint8_t*)alpha + planeSize; in Emboss() 97 uint8_t* additive = multiply + planeSize; in Emboss()
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | YUVImage.java | 236 int planeSize = TJ.planeSizeYUV(i, width, strides[i], height, subsamp); in setBuf() local 247 if (strides[i] < 0 && offsets[i] - planeSize + pw < 0) in setBuf() 249 if (planes[i].length < offsets[i] + planeSize) in setBuf()
|
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 316 int planeSize=tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local 319 if(planeSize<0 || pw<0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 324 if(srcStrides[i]<0 && srcOffsets[i]-planeSize+pw<0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 328 if((*env)->GetArrayLength(env, jSrcPlanes[i])<srcOffsets[i]+planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 395 int planeSize=tjPlaneSizeYUV(i, width, dstStrides[i], height, subsamp); in TJCompressor_encodeYUV() local 398 if(planeSize<0 || pw<0) in TJCompressor_encodeYUV() 403 if(dstStrides[i]<0 && dstOffsets[i]-planeSize+pw<0) in TJCompressor_encodeYUV() 407 if((*env)->GetArrayLength(env, jDstPlanes[i])<dstOffsets[i]+planeSize) in TJCompressor_encodeYUV() 761 int planeSize=tjPlaneSizeYUV(i, scaledWidth, dstStrides[i], scaledHeight, in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local 765 if(planeSize<0 || pw<0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() [all …]
|
/external/opencv3/modules/ts/src/ |
D | ts_func.cpp | 347 size_t planeSize = planes[0].total()*src.elemSize(); in copy() local 350 memcpy(planes[1].ptr(), planes[0].ptr(), planeSize); in copy() 392 size_t j, k, elemSize = dst.elemSize(), planeSize = plane.total()*elemSize; in set() local 403 memset( dptr, gptr[0], planeSize ); in set() 406 for( j = 0; j < planeSize; j += elemSize, dptr += elemSize ) in set() 411 memcpy(dptr, dst.ptr(), planeSize); in set()
|
/external/opencv3/modules/core/src/ |
D | stat.cpp | 2307 int planeSize = (int)it.size*cn; in minMaxIdx() local 2314 for( size_t i = 0; i < it.nplanes; i++, ++it, startidx += planeSize ) in minMaxIdx() 2315 func( ptrs[0], ptrs[1], minval, maxval, &minidx, &maxidx, planeSize, startidx ); in minMaxIdx()
|