[sane-devel] question about SANE backend fill_buffer function

Gernot Hassenpflug aikishugyo at gmail.com
Wed Sep 8 02:43:16 UTC 2010


On Wed, Sep 8, 2010 at 5:05 AM, Reinhold Kainhofer
<reinhold at kainhofer.com> wrote:
> 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.

OK, thanks. I think what I was missing is that all the data is in fact
read into the buffer and is available for access and manipulation.

Regards,
Gernot
-- 
ISP Asahi-Net: http://asahi-net.jp/en/
No.1 in Japan by customer satisfaction
(Nikkei News, 7 July 2010)



More information about the sane-devel mailing list