/external/libvncserver/test/ |
bmp.c | 88 int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch, 94 srcptr=flip? &srcbuf[srcpitch*(h-1)]:srcbuf; 96 srcptr+=flip? -srcpitch:srcpitch, dstptr+=dstpitch) 178 int fd=-1, bytesread, srcpitch, srcbottomup=1, srcps, dstpitch, local 248 srcpitch=(((*w)*srcps)+3)&(~3); 251 if(srcpitch*(*h)+bh.bfOffBits!=bh.bfSize) _throw("Corrupt bitmap header"); 252 if((tempbuf=(unsigned char *)malloc(srcpitch*(*h)))==NULL 257 _unix(bytesread=read(fd, tempbuf, srcpitch*(*h))); 258 if(bytesread!=srcpitch*(*h)) _throw("Read error") [all...] |
bmp.h | 45 enum BMPPIXELFORMAT f, int srcpitch, int srcbottomup);
|
/external/opencv3/modules/cudalegacy/src/ |
NCV.cpp | 251 const void *src, Ncv32u srcPitch, NCVMemoryType srcType, 265 memcpy((char*)dst + i * dstPitch, (char*)src + i * srcPitch, widthbytes); 272 ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToHost, cuStream), NCV_CUDA_ERROR); 276 ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToHost), NCV_CUDA_ERROR); 291 ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyHostToDevice, cuStream), NCV_CUDA_ERROR); 295 ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyHostToDevice), NCV_CUDA_ERROR); 302 ncvAssertCUDAReturn(cudaMemcpy2DAsync(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToDevice, cuStream), NCV_CUDA_ERROR); 306 ncvAssertCUDAReturn(cudaMemcpy2D(dst, dstPitch, src, srcPitch, widthbytes, height, cudaMemcpyDeviceToDevice), NCV_CUDA_ERROR);
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
TJCompressor.java | 150 srcPitch = width * TJ.getPixelSize(pixelFormat); 152 srcPitch = pitch; 250 srcPitch = sm.getScanlineStride(); 345 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, 349 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, 437 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, 639 private int srcPitch = 0;
|
/external/opencv3/modules/cudacodec/src/ |
video_writer.cpp | 500 stCopyYUV422.srcPitch = src.step; 533 stCopyLuma.srcPitch = src.step; 556 stCopyChroma.srcPitch = src.step >> 1; // chroma is subsampled by 2 (but it has U/V are next to each other) 559 stCopyChroma.dstY = frameSize.height << 1; // chroma offset (srcY*srcPitch now points to the chroma planes) 593 stCopyNV12.srcPitch = src.step; [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 186 const int srcPitch = srcFTBitmap.pitch; 187 const size_t srcRowBytes = SkTAbs(srcPitch); 207 src += srcPitch; 225 src += srcPitch; 243 src += srcPitch;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
motion_comp.cpp | [all...] |
avcenc_lib.h | 459 void eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 462 void eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 465 void eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 468 void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 471 void eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 474 void eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, 477 void eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, [all...] |
/hardware/intel/img/psb_video/src/ |
psb_overlay.c | 414 int dstPitch, int srcPitch, int __maybe_unused x1, int __maybe_unused y1, int __maybe_unused x2, int __maybe_unused y2, BoxPtr dstBox, 755 overlay->OBUF_0Y = pPriv->YBuf0offset - srcPitch; 756 overlay->OBUF_0U = pPriv->UBuf0offset - srcPitch; 757 overlay->OBUF_0V = pPriv->VBuf0offset - srcPitch; 758 overlay->OBUF_1Y = pPriv->YBuf1offset - srcPitch; 759 overlay->OBUF_1U = pPriv->UBuf1offset - srcPitch; 760 overlay->OBUF_1V = pPriv->VBuf1offset - srcPitch; [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCVPyramid.cu | 185 Ncv32u srcPitch, 195 T *d_src_line1 = (T *)((Ncv8u *)d_src + (2 * i + 0) * srcPitch); 196 T *d_src_line2 = (T *)((Ncv8u *)d_src + (2 * i + 1) * srcPitch);
|
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
NCV.hpp | 558 const void *src, Ncv32u srcPitch, NCVMemoryType srcType,
|