Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching full:dstbuf

105 	unsigned long *jpegsize, unsigned char *dstbuf, int w, int h,
128 if(dstbuf==NULL)
130 if((dstbuf=(unsigned char *)malloc(pitch*scaledh))==NULL)
136 memset(dstbuf, 127, pitch*scaledh);
155 for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
235 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf,
258 dstbuf[rindex]=abs(dstbuf[rindex]-y);
259 dstbuf[gindex]=abs(dstbuf[gindex]-y);
260 dstbuf[bindex]=abs(dstbuf[bindex]-y);
268 dstbuf[pitch*row+col]
269 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*row+col]);
271 if(savebmp(tempstr, dstbuf, w, h, pf,
279 if(dstbuf && dstbufalloc) free(dstbuf);