Searched refs:prevline (Results 1 – 1 of 1) sorted by relevance
4211 unsigned char* prevline = 0; in unfilter() local4223 …CERROR_TRY_RETURN(unfilterScanline(&out[outindex], &in[inindex + 1], prevline, bytewidth, filterTy… in unfilter()4225 prevline = &out[outindex]; in unfilter()5382 …id filterScanline(unsigned char* out, const unsigned char* scanline, const unsigned char* prevline, in filterScanline() argument5394 if(prevline) { in filterScanline()5395 for(i = 0; i != length; ++i) out[i] = scanline[i] - prevline[i]; in filterScanline()5401 if(prevline) { in filterScanline()5402 for(i = 0; i != bytewidth; ++i) out[i] = scanline[i] - (prevline[i] >> 1); in filterScanline()5403 … bytewidth; i < length; ++i) out[i] = scanline[i] - ((scanline[i - bytewidth] + prevline[i]) >> 1); in filterScanline()5410 if(prevline) { in filterScanline()[all …]