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)
227 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf,
249 dstbuf[rindex]=abs(dstbuf[rindex]-y);
250 dstbuf[gindex]=abs(dstbuf[gindex]-y);
251 dstbuf[bindex]=abs(dstbuf[bindex]-y);
259 dstbuf[pitch*row+col]
260 =abs(dstbuf[pitch*row+col]-srcbuf[pitch*row+col]);
262 if(savebmp(tempstr, dstbuf, w, h, pf,
270 if(dstbuf && dstbufalloc) free(dstbuf);