[sane-devel] API addition request
m. allan noah
kitno455 at gmail.com
Sat Jun 20 20:37:52 UTC 2009
On Sat, Jun 20, 2009 at 3:21 PM, Kai-Uwe Behrmann <ku.b at gmx.de> wrote:
> Viannis SANE_CAP_COLOR is, in contrast to the below data structure, a macro
> defined flag for the SANE_Option_Descriptor::cap.
> The suggested flag is API and ABI backward compatible. So this change will
> be a very light one.
>
yes- I dont think anyone will object to this. however, no backends will set
the bit without a change, so then you are forced to assume it is always on,
even when it is off. If we make it part of a sane 2 standard, then we can
require that backends set the bit properly.
allan
>
> kind regards
> Kai-Uwe Behrmann
> --
> developing for colour management www.behrmann.name + www.oyranos.org
>
>
> Date: Sat, 20 Jun 2009 14:42:07 +0200
>> From: Alessandro Zummo <azummo-lists at towertech.it>
>>
>
> We could grow SANE_Parameter with a flags field and a version field:
>>
>> typedef struct
>> {
>> SANE_Int version;
>> SANE_Word flags;
>> SANE_Frame format;
>> SANE_Bool last_frame;
>> SANE_Int bytes_per_line;
>> SANE_Int pixels_per_line;
>> SANE_Int lines;
>> SANE_Int depth;
>> }
>> SANE_Parameters;
>>
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>
--
"The truth is an offense, but not a sin"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090620/d8bcfa32/attachment.htm>
More information about the sane-devel
mailing list