/external/libvncserver/test/ |
bmp.c | 88 int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch, 96 srcptr+=flip? -srcpitch:srcpitch, dstptr+=dstpitch) 111 FILE *fs=NULL; int retcode=0, scalefactor, dstpitch; local 141 dstpitch=(((*w)*ps[f])+(align-1))&(~(align-1)); 142 if((*buf=(unsigned char *)malloc(dstpitch*(*h)))==NULL) 152 (*buf)[j*dstpitch+i*ps[f]+roffset[f]]=(unsigned char)(pixel[0]*255/scalefactor); 153 (*buf)[j*dstpitch+i*ps[f]+goffset[f]]=(unsigned char)(pixel[1]*255/scalefactor); 154 (*buf)[j*dstpitch+i*ps[f]+boffset[f]]=(unsigned char)(pixel[2]*255/scalefactor); 165 pixelconvert(tempbuf, BMP_RGB, (*w)*3, *buf, f, dstpitch, *w, *h, dstbottomup); 178 int fd=-1, bytesread, srcpitch, srcbottomup=1, srcps, dstpitch, local 301 int fd=-1, byteswritten, dstpitch, retcode=0; local [all...] |
/external/opencv3/modules/cudalegacy/src/ |
NCV.cpp | 250 NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType, 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/opencv3/modules/cudacodec/src/ |
video_writer.cpp | 508 stCopyYUV422.dstPitch = dst.step; 541 stCopyLuma.dstPitch = dst.step; 564 stCopyChroma.dstPitch = dst.step >> 1; 601 stCopyNV12.dstPitch = dst.step; [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCVPyramid.cu | 187 Ncv32u dstPitch, 197 T *d_dst_line = (T *)((Ncv8u *)d_dst + i * dstPitch); 256 Ncv32u dstPitch, 275 T *d_dst_line = (T *)((Ncv8u *)d_dst + i * dstPitch);
|
/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, 724 overlay->OSTRIDE = dstPitch | (dstPitch << 16); 733 overlay->OSTRIDE = (dstPitch * 2) | (dstPitch << 16); 740 overlay->OSTRIDE = dstPitch; [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
NCV.hpp | 557 CV_EXPORTS NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType,
|