Home
last modified time | relevance | path

Searched refs:dstbuf (Results 1 – 10 of 10) sorted by relevance

/external/libvncserver/test/
Dtjbench.c79 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 …]
Dbmp.c88 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/ltp/testcases/kernel/io/aio/aio01/
Daio01.c82 char *srcbuf, *dstbuf; variable
160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
268 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
314 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
329 if (srcbuf[j] != dstbuf[j]) { in main()
332 dstbuf[j], srcbuf[j]); in main()
389 posix_memalign((void **)&dstbuf, bufsize, bufsize)) != 0) in setup()
397 if ((dstbuf = malloc(sizeof(char) * bufsize)) == NULL) in setup()
409 free(dstbuf); in cleanup()
/external/opencv/cxcore/src/
Dcxlogic.cpp192 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 …]
Dcxarithm.cpp289 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/
Dtjbench.c105 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()
235 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf, in decomp()
258 dstbuf[rindex]=abs(dstbuf[rindex]-y); in decomp()
259 dstbuf[gindex]=abs(dstbuf[gindex]-y); in decomp()
260 dstbuf[bindex]=abs(dstbuf[bindex]-y); in decomp()
268 dstbuf[pitch*row+col] in decomp()
[all …]
Dbmp.c76 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/
Dvbo_split_copy.c89 GLubyte *dstbuf; member
216 copy->dstptr = copy->dstbuf; in flush()
294 assert(copy->dstptr == (copy->dstbuf + in elt()
518 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); in replay_init()
519 copy->dstptr = copy->dstbuf; in replay_init()
531 dst->Ptr = copy->dstbuf + offset; in replay_init()
572 free(copy->dstbuf); in replay_finish()
/external/protobuf/php/ext/google/protobuf/
Dupb.c9203 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); in putescaped() local
9215 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
9216 dst = dstbuf; in putescaped()
9243 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c9877 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); in putescaped() local
9889 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
9890 dst = dstbuf; in putescaped()
9917 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()