Home | History | Annotate | Download | only in lodepng

Lines Matching full:bytewidth

4009                                  size_t bytewidth, unsigned char filterType, size_t length)
4014 the filter works byte per byte (bytewidth = 1)
4027 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i];
4028 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth];
4043 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i] + precon[i] / 2;
4044 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + ((recon[i - bytewidth] + precon[i]) / 2);
4048 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i];
4049 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth] / 2;
4055 for(i = 0; i < bytewidth; i++)
4059 for(i = bytewidth; i < length; i++)
4061 recon[i] = (scanline[i] + paethPredictor(recon[i - bytewidth], precon[i], precon[i - bytewidth]));
4066 for(i = 0; i < bytewidth; i++)
4070 for(i = bytewidth; i < length; i++)
4072 /*paethPredictor(recon[i - bytewidth], 0, 0) is always recon[i - bytewidth]*/
4073 recon[i] = (scanline[i] + recon[i - bytewidth]);
4095 /*bytewidth is used for filtering, is 1 when bpp < 8, number of bytes per pixel otherwise*/
4096 size_t bytewidth = (bpp + 7) / 8;
4105 CERROR_TRY_RETURN(unfilterScanline(&out[outindex], &in[inindex + 1], prevline, bytewidth, filterType, linebytes));
4137 size_t bytewidth = bpp / 8;
4141 size_t pixelinstart = passstart[i] + (y * passw[i] + x) * bytewidth;
4142 size_t pixeloutstart = ((ADAM7_IY[i] + y * ADAM7_DY[i]) * w + ADAM7_IX[i] + x * ADAM7_DX[i]) * bytewidth;
4143 for(b = 0; b < bytewidth; b++)
5159 size_t length, size_t bytewidth, unsigned char filterType)
5170 for(i = 0; i < bytewidth; i++) out[i] = scanline[i];
5171 for(i = bytewidth; i < length; i++) out[i] = scanline[i] - scanline[i - bytewidth];
5175 for(i = 0; i < bytewidth; i++) out[i] = scanline[i];
5176 for(i = bytewidth; i < length; i++) out[i] = scanline[i] - scanline[i - bytewidth];
5192 for(i = 0; i < bytewidth; i++) out[i] = scanline[i] - prevline[i] / 2;
5193 for(i = bytewidth; i < length; i++) out[i] = scanline[i] - ((scanline[i - bytewidth] + prevline[i]) / 2);
5197 for(i = 0; i < bytewidth; i++) out[i] = scanline[i];
5198 for(i = bytewidth; i < length; i++) out[i] = scanline[i] - scanline[i - bytewidth] / 2;
5205 for(i = 0; i < bytewidth; i++) out[i] = (scanline[i] - prevline[i]);
5206 for(i = bytewidth; i < length; i++)
5208 out[i] = (scanline[i] - paethPredictor(scanline[i - bytewidth], prevline[i], prevline[i - bytewidth]));
5213 for(i = 0; i < bytewidth; i++) out[i] = scanline[i];
5214 /*paethPredictor(scanline[i - bytewidth], 0, 0) is always scanline[i - bytewidth]*/
5215 for(i = bytewidth; i < length; i++) out[i] = (scanline[i] - scanline[i - bytewidth]);
5243 /*bytewidth is used for filtering, is 1 when bpp < 8, number of bytes per pixel otherwise*/
5244 size_t bytewidth = (bpp + 7) / 8;
5275 filterScanline(&out[outindex + 1], &in[inindex], prevline, linebytes, bytewidth, 0);
5300 filterScanline(attempt[type].data, &in[y * linebytes], prevline, linebytes, bytewidth, type);
5357 filterScanline(attempt[type].data, &in[y * linebytes], prevline, linebytes, bytewidth, type);
5392 filterScanline(&out[outindex + 1], &in[inindex], prevline, linebytes, bytewidth, type);
5428 filterScanline(attempt[type].data, &in[y * linebytes], prevline, linebytes, bytewidth, type);
5497 size_t bytewidth = bpp / 8;
5501 size_t pixelinstart = ((ADAM7_IY[i] + y * ADAM7_DY[i]) * w + ADAM7_IX[i] + x * ADAM7_DX[i]) * bytewidth;
5502 size_t pixeloutstart = passstart[i] + (y * passw[i] + x) * bytewidth;
5503 for(b = 0; b < bytewidth; b++)