[sane-devel] question about SANE backend fill_buffer function

Reinhold Kainhofer reinhold at kainhofer.com
Tue Sep 7 20:05:31 UTC 2010

Am Dienstag, 7. September 2010, um 21:37:26 schrieb Nicolas Martin:
> Le mardi 07 septembre 2010 à 19:47 +0900, Gernot Hassenpflug a écrit :
> > I now have a problem where the pixels also need to be rearranged
> > vertically. In particular, the first half of a line corresponds to the
> > second half of a line much further along in the data.
> > 
> > Is there any backend that has support for such processing, that I can
> > look at for help? Or have I misunderstood what can be done with the
> > current mp150_fill_buffer function in pixma_mp150.c?
> Yes, as I answered you, the pixma_mp150 implements a vertical shift
> reassembling that is needed by the CCD devices, as they produce scans
> with vertically shifted color planes. Maybe you can just use this, or
> use some modified version.

The epson2 backend also has vertical color shifts.


Reinhold Kainhofer, reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

More information about the sane-devel mailing list