Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dfpgad.c69 ulong linebytes = (nbytes > DISP_LINE_LEN) ? in do_fpga_md() local
72 for (k = 0; k < linebytes / sizeof(u16); ++k) in do_fpga_md()
79 linebytes / sizeof(u16), in do_fpga_md()
82 nbytes -= linebytes; in do_fpga_md()
83 addr += linebytes; in do_fpga_md()
Daxi.c229 ulong linebytes = (nbytes > DISP_LINE_LEN) ? in do_axi_md() local
232 for (k = 0; k < linebytes / unitsize; ++k) { in do_axi_md()
247 linebytes / unitsize, in do_axi_md()
250 nbytes -= max(linebytes, 1UL); in do_axi_md()
251 addr += linebytes; in do_axi_md()
Di2c.c515 int j, nbytes, linebytes; in do_i2c_md() local
578 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in do_i2c_md()
581 ret = dm_i2c_read(dev, addr, linebuf, linebytes); in do_i2c_md()
583 ret = i2c_read(chip, addr, alen, linebuf, linebytes); in do_i2c_md()
590 for (j=0; j<linebytes; j++) { in do_i2c_md()
596 for (j=0; j<linebytes; j++) { in do_i2c_md()
605 nbytes -= linebytes; in do_i2c_md()
Dpci.c492 ulong i, nbytes, linebytes; in pci_cfg_display() local
506 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in pci_cfg_display()
507 for (i = 0; i < linebytes; i += byte_size) { in pci_cfg_display()
519 nbytes -= linebytes; in pci_cfg_display()
/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()