[sane-devel] [PATCH] v4l: convert to RGB
Marc Deslauriers
marc.deslauriers at canonical.com
Mon Nov 8 04:59:44 UTC 2010
Attached is a patch for the sane-backends v4l driver. When asking v4l1
for RGB, it actually returns BGR and applications are expected to adjust
appropriately.
This patch will convert the data returned by v4l1 to RGB so it is
displayed properly by sane frontends expecting SANE_FRAME_RGB.
Thanks,
Marc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l_bgr_to_rgb.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20101107/285a2f21/attachment.bin>
More information about the sane-devel
mailing list