Lines Matching refs:linebytes

4960     size_t linebytes = lodepng_get_raw_size_idat(w, 1, bpp) - 1u;  in unfilter()  local
4963 size_t outindex = linebytes * y; in unfilter()
4964 size_t inindex = (1 + linebytes) * y; /*the extra filterbyte added to each row*/ in unfilter()
4967 …RN(unfilterScanline(&out[outindex], &in[inindex + 1], prevline, bytewidth, filterType, linebytes)); in unfilter()
6419 size_t linebytes = lodepng_get_raw_size_idat(w, 1, bpp) - 1u; in filter() local
6449 size_t outindex = (1 + linebytes) * y; /*the extra filterbyte added to each row*/ in filter()
6450 size_t inindex = linebytes * y; in filter()
6452 filterScanline(&out[outindex + 1], &in[inindex], prevline, linebytes, bytewidth, type); in filter()
6463 attempt[type] = (unsigned char *)lodepng_malloc(linebytes); in filter()
6472 … filterScanline(attempt[type], &in[y * linebytes], prevline, linebytes, bytewidth, type); in filter()
6476 for(x = 0; x != linebytes; ++x) sum += (unsigned char)(attempt[type][x]); in filter()
6479 for(x = 0; x != linebytes; ++x) { in filter()
6495 prevline = &in[y * linebytes]; in filter()
6498 … out[y * (linebytes + 1)] = bestType; /*the first byte of a scanline will be the filter type*/ in filter()
6499 … for(x = 0; x != linebytes; ++x) out[y * (linebytes + 1) + 1 + x] = attempt[bestType][x]; in filter()
6512 attempt[type] = (unsigned char *)lodepng_malloc(linebytes); in filter()
6521 … filterScanline(attempt[type], &in[y * linebytes], prevline, linebytes, bytewidth, type); in filter()
6523 for(x = 0; x != linebytes; ++x) ++count[attempt[type][x]]; in filter()
6535 prevline = &in[y * linebytes]; in filter()
6538 … out[y * (linebytes + 1)] = bestType; /*the first byte of a scanline will be the filter type*/ in filter()
6539 … for(x = 0; x != linebytes; ++x) out[y * (linebytes + 1) + 1 + x] = attempt[bestType][x]; in filter()
6547 size_t outindex = (1 + linebytes) * y; /*the extra filterbyte added to each row*/ in filter()
6548 size_t inindex = linebytes * y; in filter()
6551 filterScanline(&out[outindex + 1], &in[inindex], prevline, linebytes, bytewidth, type); in filter()
6576 attempt[type] = (unsigned char *)lodepng_malloc(linebytes); in filter()
6582 unsigned testsize = (unsigned)linebytes; in filter()
6585 … filterScanline(attempt[type], &in[y * linebytes], prevline, linebytes, bytewidth, type); in filter()
6596 prevline = &in[y * linebytes]; in filter()
6597 … out[y * (linebytes + 1)] = bestType; /*the first byte of a scanline will be the filter type*/ in filter()
6598 … for(x = 0; x != linebytes; ++x) out[y * (linebytes + 1) + 1 + x] = attempt[bestType][x]; in filter()