Home
last modified time | relevance | path

Searched refs:linebytes (Results 1 – 2 of 2) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp4097 size_t linebytes = (w * bpp + 7) / 8; in unfilter() local
4101 size_t outindex = linebytes * y; in unfilter()
4102 size_t inindex = (1 + linebytes) * y; /*the extra filterbyte added to each row*/ in unfilter()
4105 …RN(unfilterScanline(&out[outindex], &in[inindex + 1], prevline, bytewidth, filterType, linebytes)); in unfilter()
5242 size_t linebytes = (w * bpp + 7) / 8; in filter() local
5272 size_t outindex = (1 + linebytes) * y; /*the extra filterbyte added to each row*/ in filter()
5273 size_t inindex = linebytes * y; in filter()
5275 filterScanline(&out[outindex + 1], &in[inindex], prevline, linebytes, bytewidth, 0); in filter()
5290 if(!ucvector_resize(&attempt[type], linebytes)) return 83; /*alloc fail*/ in filter()
5300 … filterScanline(attempt[type].data, &in[y * linebytes], prevline, linebytes, bytewidth, type); in filter()
[all …]
Dlodepng_util.cpp204 size_t linebytes = 1 + lodepng_get_raw_size(w, 1, &state.info_png.color); in getFilterTypesInterlaced() local
206 for(size_t i = 0; i < data.size(); i += linebytes) in getFilterTypesInterlaced()
225 size_t linebytes = 1 + lodepng_get_raw_size(w2, 1, &state.info_png.color); in getFilterTypesInterlaced() local
229 pos += linebytes; in getFilterTypesInterlaced()