/external/libvncserver/test/ |
D | tjbench.c | 79 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, in decomptest() argument 104 if(dstbuf==NULL) in decomptest() 106 if((dstbuf=(unsigned char *)malloc(bufsize)) == NULL) in decomptest() 112 memset(dstbuf, 127, bufsize); in decomptest() 115 if(tjDecompress2(handle, jpegbuf[0], jpegsize[0], dstbuf, scaledw, in decomptest() 123 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh) in decomptest() 160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch, in decomptest() 182 dstbuf[rindex]=abs(dstbuf[rindex]-y); in decomptest() 183 dstbuf[gindex]=abs(dstbuf[gindex]-y); in decomptest() 184 dstbuf[bindex]=abs(dstbuf[bindex]-y); in decomptest() [all …]
|
D | bmp.c | 88 int srcpitch, unsigned char *dstbuf, enum BMPPIXELFORMAT dstformat, int dstpitch, in pixelconvert() argument 95 for(j=0, dstptr=dstbuf; j<h; j++, in pixelconvert()
|
/external/opencv/cxcore/src/ |
D | cxlogic.cpp | 192 CvMat dstbuf, *tdst; in icvLogicS() local 286 dstbuf = cvMat( dy, size.width, type ); in icvLogicS() 288 dstbuf.step = cvAlign( dstbuf.step, 8 ); in icvLogicS() 289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in icvLogicS() 297 dstbuf.data.ptr = buffer; in icvLogicS() 298 tdst = &dstbuf; in icvLogicS() 356 CvMat dstbuf, *tdst; in icvLogic() local 453 dstbuf = cvMat( dy, size.width, type ); in icvLogic() 455 dstbuf.step = cvAlign( dstbuf.step, 8 ); in icvLogic() 456 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in icvLogic() [all …]
|
D | cxarithm.cpp | 289 CvMat dstbuf, *tdst; local 442 dstbuf = cvMat( dy, size.width, type ); 444 dstbuf.step = cvAlign( dstbuf.step, 8 ); 445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 453 dstbuf.data.ptr = buffer; 454 tdst = &dstbuf; 540 CvMat dstbuf, *tdst; in cvSubRS() local 686 dstbuf = cvMat( dy, size.width, type ); in cvSubRS() 688 dstbuf.step = cvAlign( dstbuf.step, 8 ); in cvSubRS() 689 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; in cvSubRS() [all …]
|
/external/libjpeg-turbo/ |
D | tjbench.c | 105 unsigned long *jpegsize, unsigned char *dstbuf, int w, int h, in decomp() argument 128 if(dstbuf==NULL) in decomp() 130 if((dstbuf=(unsigned char *)malloc(pitch*scaledh))==NULL) in decomp() 136 memset(dstbuf, 127, pitch*scaledh); in decomp() 155 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh) in decomp() 227 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf, in decomp() 249 dstbuf[rindex]=abs(dstbuf[rindex]-y); in decomp() 250 dstbuf[gindex]=abs(dstbuf[gindex]-y); in decomp() 251 dstbuf[bindex]=abs(dstbuf[bindex]-y); in decomp() 259 dstbuf[pitch*row+col] in decomp() [all …]
|
D | bmp.c | 76 unsigned char *dstbuf, int dstpf, int dstbottomup, int w, int h) in pixelconvert() argument 81 unsigned char *dstrowptr=dstbuf, *dstcolptr; in pixelconvert() 87 if(dstbottomup) dstrowptr=&dstbuf[w*dstps*(h-1)]; in pixelconvert()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_split_copy.c | 87 GLubyte *dstbuf; member 214 copy->dstptr = copy->dstbuf; in flush() 292 assert(copy->dstptr == (copy->dstbuf + in elt() 512 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); in replay_init() 513 copy->dstptr = copy->dstbuf; in replay_init() 526 dst->Ptr = copy->dstbuf + offset; in replay_init() 568 free(copy->dstbuf); in replay_finish()
|
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
D | bprint.h | 197 void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars,
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | cvtcolor.cl | 1748 inline void Lab2BGR_f(const float * srcbuf, float * dstbuf, 1792 dstbuf[0] = ro, dstbuf[1] = go, dstbuf[2] = bo; 1821 float srcbuf[3], dstbuf[3]; 1826 Lab2BGR_f(&srcbuf[0], &dstbuf[0], 1833 dst_ptr[0] = SAT_CAST(dstbuf[0] * 255.0f); 1834 dst_ptr[1] = SAT_CAST(dstbuf[1] * 255.0f); 1835 dst_ptr[2] = SAT_CAST(dstbuf[2] * 255.0f); 1837 *(__global uchar4 *)dst_ptr = (uchar4)(SAT_CAST(dstbuf[0] * 255.0f), 1838 SAT_CAST(dstbuf[1] * 255.0f), SAT_CAST(dstbuf[2] * 255.0f), MAX_NUM); 1874 float srcbuf[3], dstbuf[3]; [all …]
|