sane.h   sane.h 
skipping to change at line 19 skipping to change at line 19
SANE is distributed in the hope that it will be useful, but WITHOUT SANE is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. FITNESS FOR A PARTICULAR PURPOSE.
This file declares SANE application interface. See the SANE This file declares SANE application interface. See the SANE
standard for a detailed explanation of the interface. */ standard for a detailed explanation of the interface. */
#ifndef sane_h #ifndef sane_h
#define sane_h #define sane_h
#ifdef __cplusplus
extern "C" {
#endif
#define SANE_CURRENT_MAJOR 1 #define SANE_CURRENT_MAJOR 1
#define SANE_VERSION_CODE(major, minor, build) \ #define SANE_VERSION_CODE(major, minor, build) \
( (((SANE_Word) (major) & 0xff) << 24) \ ( (((SANE_Word) (major) & 0xff) << 24) \
| (((SANE_Word) (minor) & 0xff) << 16) \ | (((SANE_Word) (minor) & 0xff) << 16) \
| (((SANE_Word) (build) & 0xffff) << 0)) | (((SANE_Word) (build) & 0xffff) << 0))
#define SANE_VERSION_MAJOR(code) ((((SANE_Word)(code)) >> 24) & 0xf f) #define SANE_VERSION_MAJOR(code) ((((SANE_Word)(code)) >> 24) & 0xf f)
#define SANE_VERSION_MINOR(code) ((((SANE_Word)(code)) >> 16) & 0xf f) #define SANE_VERSION_MINOR(code) ((((SANE_Word)(code)) >> 16) & 0xf f)
#define SANE_VERSION_BUILD(code) ((((SANE_Word)(code)) >> 0) & 0xfff f) #define SANE_VERSION_BUILD(code) ((((SANE_Word)(code)) >> 0) & 0xfff f)
skipping to change at line 181 skipping to change at line 185
SANE_Bool last_frame; SANE_Bool last_frame;
SANE_Int bytes_per_line; SANE_Int bytes_per_line;
SANE_Int pixels_per_line; SANE_Int pixels_per_line;
SANE_Int lines; SANE_Int lines;
SANE_Int depth; SANE_Int depth;
} }
SANE_Parameters; SANE_Parameters;
struct SANE_Auth_Data; struct SANE_Auth_Data;
#define SANE_MAX_USERNAME_LEN 256 #define SANE_MAX_USERNAME_LEN 128
#define SANE_MAX_PASSWORD_LEN 256 #define SANE_MAX_PASSWORD_LEN 128
typedef void (*SANE_Auth_Callback) (SANE_String_Const resource, typedef void (*SANE_Auth_Callback) (SANE_String_Const resource,
SANE_Char username[SANE_MAX_USERNAME_LEN SANE_Char *username,
], SANE_Char *password);
SANE_Char password[SANE_MAX_PASSWORD_LEN
]);
extern SANE_Status sane_init (SANE_Int * version_code, extern SANE_Status sane_init (SANE_Int * version_code,
SANE_Auth_Callback authorize); SANE_Auth_Callback authorize);
extern void sane_exit (void); extern void sane_exit (void);
extern SANE_Status sane_get_devices (const SANE_Device *** device_list, extern SANE_Status sane_get_devices (const SANE_Device *** device_list,
SANE_Bool local_only); SANE_Bool local_only);
extern SANE_Status sane_open (SANE_String_Const devicename, extern SANE_Status sane_open (SANE_String_Const devicename,
SANE_Handle * handle); SANE_Handle * handle);
extern void sane_close (SANE_Handle handle); extern void sane_close (SANE_Handle handle);
extern const SANE_Option_Descriptor * extern const SANE_Option_Descriptor *
skipping to change at line 213 skipping to change at line 217
extern SANE_Status sane_start (SANE_Handle handle); extern SANE_Status sane_start (SANE_Handle handle);
extern SANE_Status sane_read (SANE_Handle handle, SANE_Byte * data, extern SANE_Status sane_read (SANE_Handle handle, SANE_Byte * data,
SANE_Int max_length, SANE_Int * length); SANE_Int max_length, SANE_Int * length);
extern void sane_cancel (SANE_Handle handle); extern void sane_cancel (SANE_Handle handle);
extern SANE_Status sane_set_io_mode (SANE_Handle handle, extern SANE_Status sane_set_io_mode (SANE_Handle handle,
SANE_Bool non_blocking); SANE_Bool non_blocking);
extern SANE_Status sane_get_select_fd (SANE_Handle handle, extern SANE_Status sane_get_select_fd (SANE_Handle handle,
SANE_Int * fd); SANE_Int * fd);
extern SANE_String_Const sane_strstatus (SANE_Status status); extern SANE_String_Const sane_strstatus (SANE_Status status);
#ifdef __cplusplus
}
#endif
#endif /* sane_h */ #endif /* sane_h */
 End of changes. 4 change blocks. 
6 lines changed or deleted 12 lines changed or added


 saneopts.h   saneopts.h 
skipping to change at line 19 skipping to change at line 19
SANE is distributed in the hope that it will be useful, but WITHOUT SANE is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details. for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with sane; see the file COPYING. If not, write to the Free along with sane; see the file COPYING. If not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
As a special exception, the authors of SANE give permission for
additional uses of the libraries contained in this release of SANE.
The exception is that, if you link a SANE library with other files
to produce an executable, this does not by itself cause the
resulting executable to be covered by the GNU General Public
License. Your use of that executable is in no way restricted on
account of linking the SANE library code into it.
This exception does not, however, invalidate any other reasons why
the executable file might be covered by the GNU General Public
License.
If you submit changes to SANE to the maintainers to be included in
a subsequent release, you agree by submitting the changes that
those changes may be distributed with this exception intact.
If you write modifications of your own for SANE, it is your choice
whether to permit this exception to apply to your modifications.
If you do not wish that, delete this exception notice.
This file declares common option names, titles, and descriptions. A This file declares common option names, titles, and descriptions. A
backend is not limited to these options but for the sake of backend is not limited to these options but for the sake of
consistency it's better to use options declared here when appropriate. consistency it's better to use options declared here when appropriate.
*/
/* This file defines several option NAMEs, TITLEs and DESCs
that are (or should be) used by several backends.
All well known options should be listed here. But this does
not mean that all options that are listed here are well known options.
To find out if an option is a well known option and how well known
options have to be defined please take a look at the sane standard!!!
*/ */
#ifndef saneopts_h #ifndef saneopts_h
#define saneopts_h #define saneopts_h
#ifndef SANE_I18N
#define SANE_I18N(text) text
#endif
/* This _must_ be the first option (index 0): */ /* This _must_ be the first option (index 0): */
#define SANE_NAME_NUM_OPTIONS "" /* never settable */ #define SANE_NAME_NUM_OPTIONS "" /* never settable */
#define SANE_NAME_PREVIEW "preview" #define SANE_NAME_PREVIEW "preview"
#define SANE_NAME_GRAY_PREVIEW "preview-in-gray" #define SANE_NAME_GRAY_PREVIEW "preview-in-gray"
#define SANE_NAME_BIT_DEPTH "depth" #define SANE_NAME_BIT_DEPTH "depth"
#define SANE_NAME_SCAN_MODE "mode" #define SANE_NAME_SCAN_MODE "mode"
#define SANE_NAME_SCAN_SPEED "speed" #define SANE_NAME_SCAN_SPEED "speed"
#define SANE_NAME_SCAN_SOURCE "source" #define SANE_NAME_SCAN_SOURCE "source"
#define SANE_NAME_BACKTRACK "backtrack" #define SANE_NAME_BACKTRACK "backtrack"
/* Most user-interfaces will let the user specify the scan area as the /* Most user-interfaces will let the user specify the scan area as the
skipping to change at line 58 skipping to change at line 92
#define SANE_NAME_GAMMA_VECTOR "gamma-table" #define SANE_NAME_GAMMA_VECTOR "gamma-table"
#define SANE_NAME_GAMMA_VECTOR_R "red-gamma-table" #define SANE_NAME_GAMMA_VECTOR_R "red-gamma-table"
#define SANE_NAME_GAMMA_VECTOR_G "green-gamma-table" #define SANE_NAME_GAMMA_VECTOR_G "green-gamma-table"
#define SANE_NAME_GAMMA_VECTOR_B "blue-gamma-table" #define SANE_NAME_GAMMA_VECTOR_B "blue-gamma-table"
#define SANE_NAME_BRIGHTNESS "brightness" #define SANE_NAME_BRIGHTNESS "brightness"
#define SANE_NAME_CONTRAST "contrast" #define SANE_NAME_CONTRAST "contrast"
#define SANE_NAME_GRAIN_SIZE "grain" #define SANE_NAME_GRAIN_SIZE "grain"
#define SANE_NAME_HALFTONE "halftoning" #define SANE_NAME_HALFTONE "halftoning"
#define SANE_NAME_BLACK_LEVEL "black-level" #define SANE_NAME_BLACK_LEVEL "black-level"
#define SANE_NAME_WHITE_LEVEL "white-level" #define SANE_NAME_WHITE_LEVEL "white-level"
#define SANE_NAME_WHITE_LEVEL_R "white-level-r"
#define SANE_NAME_WHITE_LEVEL_G "white-level-g"
#define SANE_NAME_WHITE_LEVEL_B "white-level-b"
#define SANE_NAME_SHADOW "shadow" #define SANE_NAME_SHADOW "shadow"
#define SANE_NAME_SHADOW_R "shadow-r" #define SANE_NAME_SHADOW_R "shadow-r"
#define SANE_NAME_SHADOW_G "shadow-g" #define SANE_NAME_SHADOW_G "shadow-g"
#define SANE_NAME_SHADOW_B "shadow-b" #define SANE_NAME_SHADOW_B "shadow-b"
#define SANE_NAME_HIGHLIGHT "highlight" #define SANE_NAME_HIGHLIGHT "highlight"
#define SANE_NAME_HIGHLIGHT_R "highlight-r" #define SANE_NAME_HIGHLIGHT_R "highlight-r"
#define SANE_NAME_HIGHLIGHT_G "highlight-g" #define SANE_NAME_HIGHLIGHT_G "highlight-g"
#define SANE_NAME_HIGHLIGHT_B "highlight-b" #define SANE_NAME_HIGHLIGHT_B "highlight-b"
#define SANE_NAME_HUE "hue" #define SANE_NAME_HUE "hue"
#define SANE_NAME_SATURATION "saturation" #define SANE_NAME_SATURATION "saturation"
skipping to change at line 82 skipping to change at line 119
#define SANE_NAME_NEGATIVE "negative" #define SANE_NAME_NEGATIVE "negative"
#define SANE_NAME_QUALITY_CAL "quality-cal" #define SANE_NAME_QUALITY_CAL "quality-cal"
#define SANE_NAME_DOR "double-res" #define SANE_NAME_DOR "double-res"
#define SANE_NAME_RGB_BIND "rgb-bind" #define SANE_NAME_RGB_BIND "rgb-bind"
#define SANE_NAME_THRESHOLD "threshold" #define SANE_NAME_THRESHOLD "threshold"
#define SANE_NAME_ANALOG_GAMMA "analog-gamma" #define SANE_NAME_ANALOG_GAMMA "analog-gamma"
#define SANE_NAME_ANALOG_GAMMA_R "analog-gamma-r" #define SANE_NAME_ANALOG_GAMMA_R "analog-gamma-r"
#define SANE_NAME_ANALOG_GAMMA_G "analog-gamma-g" #define SANE_NAME_ANALOG_GAMMA_G "analog-gamma-g"
#define SANE_NAME_ANALOG_GAMMA_B "analog-gamma-b" #define SANE_NAME_ANALOG_GAMMA_B "analog-gamma-b"
#define SANE_NAME_ANALOG_GAMMA_BIND "analog-gamma-bind" #define SANE_NAME_ANALOG_GAMMA_BIND "analog-gamma-bind"
#define SANE_NAME_SMEAR "smear"
#define SANE_NAME_TEN_BIT_MODE "ten-bit-mode"
#define SANE_NAME_TWELVE_BIT_MODE "twelve-bit-mode"
#define SANE_NAME_WARMUP "warmup" #define SANE_NAME_WARMUP "warmup"
#define SANE_NAME_RGB_PREVIEW_PATCH "preview-patch"
#define SANE_NAME_START_SCAN_PATCH "start-scan-patch"
#define SANE_NAME_CAL_EXPOS_TIME "cal-exposure-time" #define SANE_NAME_CAL_EXPOS_TIME "cal-exposure-time"
#define SANE_NAME_CAL_EXPOS_TIME_R "cal-exposure-time-r" #define SANE_NAME_CAL_EXPOS_TIME_R "cal-exposure-time-r"
#define SANE_NAME_CAL_EXPOS_TIME_G "cal-exposure-time-g" #define SANE_NAME_CAL_EXPOS_TIME_G "cal-exposure-time-g"
#define SANE_NAME_CAL_EXPOS_TIME_B "cal-exposure-time-b" #define SANE_NAME_CAL_EXPOS_TIME_B "cal-exposure-time-b"
#define SANE_NAME_SCAN_EXPOS_TIME "scan-exposure-time" #define SANE_NAME_SCAN_EXPOS_TIME "scan-exposure-time"
#define SANE_NAME_SCAN_EXPOS_TIME_R "scan-exposure-time-r" #define SANE_NAME_SCAN_EXPOS_TIME_R "scan-exposure-time-r"
#define SANE_NAME_SCAN_EXPOS_TIME_G "scan-exposure-time-g" #define SANE_NAME_SCAN_EXPOS_TIME_G "scan-exposure-time-g"
#define SANE_NAME_SCAN_EXPOS_TIME_B "scan-exposure-time-b" #define SANE_NAME_SCAN_EXPOS_TIME_B "scan-exposure-time-b"
#define SANE_NAME_SELECT_EXPOSURE_TIME "select-exposure-time" #define SANE_NAME_SELECT_EXPOSURE_TIME "select-exposure-time"
#define SANE_NAME_CAL_LAMP_DEN "cal-lamp-density" #define SANE_NAME_CAL_LAMP_DEN "cal-lamp-density"
#define SANE_NAME_SCAN_LAMP_DEN "scan-lamp-density" #define SANE_NAME_SCAN_LAMP_DEN "scan-lamp-density"
#define SANE_NAME_SELECT_LAMP_DENSITY "select-lamp-density" #define SANE_NAME_SELECT_LAMP_DENSITY "select-lamp-density"
#define SANE_NAME_LAMP_OFF_AT_EXIT "lamp-off-at-exit"
#define SANE_TITLE_NUM_OPTIONS "Number of options" #define SANE_TITLE_NUM_OPTIONS SANE_I18N("Number of options")
#define SANE_TITLE_PREVIEW "Preview" #define SANE_TITLE_PREVIEW SANE_I18N("Preview")
#define SANE_TITLE_GRAY_PREVIEW "Force monochrome preview" #define SANE_TITLE_GRAY_PREVIEW SANE_I18N("Force monochrome
#define SANE_TITLE_BIT_DEPTH "Bit depth" preview")
#define SANE_TITLE_SCAN_MODE "Scan mode" #define SANE_TITLE_BIT_DEPTH SANE_I18N("Bit depth")
#define SANE_TITLE_SCAN_SPEED "Scan speed" #define SANE_TITLE_SCAN_MODE SANE_I18N("Scan mode")
#define SANE_TITLE_SCAN_SOURCE "Scan source" #define SANE_TITLE_SCAN_SPEED SANE_I18N("Scan speed")
#define SANE_TITLE_BACKTRACK "Force backtracking" #define SANE_TITLE_SCAN_SOURCE SANE_I18N("Scan source")
#define SANE_TITLE_SCAN_TL_X "Top-left x" #define SANE_TITLE_BACKTRACK SANE_I18N("Force backtracking")
#define SANE_TITLE_SCAN_TL_Y "Top-left y" #define SANE_TITLE_SCAN_TL_X SANE_I18N("Top-left x")
#define SANE_TITLE_SCAN_BR_X "Bottom-right x" #define SANE_TITLE_SCAN_TL_Y SANE_I18N("Top-left y")
#define SANE_TITLE_SCAN_BR_Y "Bottom-right y" #define SANE_TITLE_SCAN_BR_X SANE_I18N("Bottom-right x")
#define SANE_TITLE_SCAN_RESOLUTION "Scan resolution" #define SANE_TITLE_SCAN_BR_Y SANE_I18N("Bottom-right y")
#define SANE_TITLE_SCAN_X_RESOLUTION "X-resolution" #define SANE_TITLE_SCAN_RESOLUTION SANE_I18N("Scan resolution")
#define SANE_TITLE_SCAN_Y_RESOLUTION "Y-resolution" #define SANE_TITLE_SCAN_X_RESOLUTION SANE_I18N("X-resolution")
#define SANE_TITLE_CUSTOM_GAMMA "Use custom gamma table" #define SANE_TITLE_SCAN_Y_RESOLUTION SANE_I18N("Y-resolution")
#define SANE_TITLE_GAMMA_VECTOR "Image intensity" #define SANE_TITLE_CUSTOM_GAMMA SANE_I18N("Use custom gamma
#define SANE_TITLE_GAMMA_VECTOR_R "Red intensity" table")
#define SANE_TITLE_GAMMA_VECTOR_G "Green intensity" #define SANE_TITLE_GAMMA_VECTOR SANE_I18N("Image intensity")
#define SANE_TITLE_GAMMA_VECTOR_B "Blue intensity" #define SANE_TITLE_GAMMA_VECTOR_R SANE_I18N("Red intensity")
#define SANE_TITLE_BRIGHTNESS "Brightness" #define SANE_TITLE_GAMMA_VECTOR_G SANE_I18N("Green intensity")
#define SANE_TITLE_CONTRAST "Contrast" #define SANE_TITLE_GAMMA_VECTOR_B SANE_I18N("Blue intensity")
#define SANE_TITLE_GRAIN_SIZE "Grain size" #define SANE_TITLE_BRIGHTNESS SANE_I18N("Brightness")
#define SANE_TITLE_HALFTONE "Halftoning" #define SANE_TITLE_CONTRAST SANE_I18N("Contrast")
#define SANE_TITLE_BLACK_LEVEL "Black level" #define SANE_TITLE_GRAIN_SIZE SANE_I18N("Grain size")
#define SANE_TITLE_WHITE_LEVEL "White level" #define SANE_TITLE_HALFTONE SANE_I18N("Halftoning")
#define SANE_TITLE_SHADOW "Shadow" #define SANE_TITLE_BLACK_LEVEL SANE_I18N("Black level")
#define SANE_TITLE_SHADOW_R "Shadow for red" #define SANE_TITLE_WHITE_LEVEL SANE_I18N("White level")
#define SANE_TITLE_SHADOW_G "Shadow for green" #define SANE_TITLE_WHITE_LEVEL_R SANE_I18N("White level for red")
#define SANE_TITLE_SHADOW_B "Shadow for blue" #define SANE_TITLE_WHITE_LEVEL_G SANE_I18N("White level for green")
#define SANE_TITLE_HIGHLIGHT "Highlight" #define SANE_TITLE_WHITE_LEVEL_B SANE_I18N("White level for blue")
#define SANE_TITLE_HIGHLIGHT_R "Highlight for red" #define SANE_TITLE_SHADOW SANE_I18N("Shadow")
#define SANE_TITLE_HIGHLIGHT_G "Highlight for green" #define SANE_TITLE_SHADOW_R SANE_I18N("Shadow for red")
#define SANE_TITLE_HIGHLIGHT_B "Highlight for blue" #define SANE_TITLE_SHADOW_G SANE_I18N("Shadow for green")
#define SANE_TITLE_HUE "Hue" #define SANE_TITLE_SHADOW_B SANE_I18N("Shadow for blue")
#define SANE_TITLE_SATURATION "Saturation" #define SANE_TITLE_HIGHLIGHT SANE_I18N("Highlight")
#define SANE_TITLE_FILE "Filename" #define SANE_TITLE_HIGHLIGHT_R SANE_I18N("Highlight for red")
#define SANE_TITLE_HALFTONE_DIMENSION "Halftone pattern size" #define SANE_TITLE_HIGHLIGHT_G SANE_I18N("Highlight for green")
#define SANE_TITLE_HALFTONE_PATTERN "Halftone pattern" #define SANE_TITLE_HIGHLIGHT_B SANE_I18N("Highlight for blue")
#define SANE_TITLE_RESOLUTION_BIND "Bind X and Y resolution" #define SANE_TITLE_HUE SANE_I18N("Hue")
#define SANE_TITLE_NEGATIVE "Negative" #define SANE_TITLE_SATURATION SANE_I18N("Saturation")
#define SANE_TITLE_QUALITY_CAL "Quality calibration" #define SANE_TITLE_FILE SANE_I18N("Filename")
#define SANE_TITLE_DOR "Double Optical Resolution" #define SANE_TITLE_HALFTONE_DIMENSION SANE_I18N("Halftone pattern size")
#define SANE_TITLE_RGB_BIND "Bind RGB" #define SANE_TITLE_HALFTONE_PATTERN SANE_I18N("Halftone pattern")
#define SANE_TITLE_THRESHOLD "Threshold" #define SANE_TITLE_RESOLUTION_BIND SANE_I18N("Bind X and Y resolution")
#define SANE_TITLE_ANALOG_GAMMA "Analog gamma correction" #define SANE_TITLE_NEGATIVE SANE_I18N("Negative")
#define SANE_TITLE_ANALOG_GAMMA_R "Analog gamma red" #define SANE_TITLE_QUALITY_CAL SANE_I18N("Quality calibration")
#define SANE_TITLE_ANALOG_GAMMA_G "Analog gamma green" #define SANE_TITLE_DOR SANE_I18N("Double Optical Resolution
#define SANE_TITLE_ANALOG_GAMMA_B "Analog gamma blue" ")
#define SANE_TITLE_ANALOG_GAMMA_BIND "Bind analog gamma" #define SANE_TITLE_RGB_BIND SANE_I18N("Bind RGB")
#define SANE_TITLE_SMEAR "Smear" #define SANE_TITLE_THRESHOLD SANE_I18N("Threshold")
#define SANE_TITLE_TEN_BIT_MODE "10 bit-mode" #define SANE_TITLE_ANALOG_GAMMA SANE_I18N("Analog gamma corr
#define SANE_TITLE_TWELVE_BIT_MODE "12 bit-mode" ection")
#define SANE_TITLE_WARMUP "Warmup lamp" #define SANE_TITLE_ANALOG_GAMMA_R SANE_I18N("Analog gamma red")
#define SANE_TITLE_RGB_PREVIEW_PATCH "Preview patch" #define SANE_TITLE_ANALOG_GAMMA_G SANE_I18N("Analog gamma green")
#define SANE_TITLE_START_SCAN_PATCH "Start-scan patch" #define SANE_TITLE_ANALOG_GAMMA_B SANE_I18N("Analog gamma blue")
#define SANE_TITLE_CAL_EXPOS_TIME "Cal. exposure-time" #define SANE_TITLE_ANALOG_GAMMA_BIND SANE_I18N("Bind analog gamma")
#define SANE_TITLE_CAL_EXPOS_TIME_R "Cal. exposure-time for red" #define SANE_TITLE_WARMUP SANE_I18N("Warmup lamp")
#define SANE_TITLE_CAL_EXPOS_TIME_G "Cal. exposure-time for green" #define SANE_TITLE_CAL_EXPOS_TIME SANE_I18N("Cal. exposure-time")
#define SANE_TITLE_CAL_EXPOS_TIME_B "Cal. exposure-time for blue" #define SANE_TITLE_CAL_EXPOS_TIME_R SANE_I18N("Cal. exposure-time for re
#define SANE_TITLE_SCAN_EXPOS_TIME "Scan exposure-time" d")
#define SANE_TITLE_SCAN_EXPOS_TIME_R "Scan exposure-time for red" #define SANE_TITLE_CAL_EXPOS_TIME_G SANE_I18N("Cal. exposure-time for "
#define SANE_TITLE_SCAN_EXPOS_TIME_G "Scan exposure-time for green" \
#define SANE_TITLE_SCAN_EXPOS_TIME_B "Scan exposure-time for blue" "green")
#define SANE_TITLE_SELECT_EXPOSURE_TIME "Set exposure-time" #define SANE_TITLE_CAL_EXPOS_TIME_B SANE_I18N("Cal. exposure-time for bl
#define SANE_TITLE_CAL_LAMP_DEN "Cal. lamp density" ue")
#define SANE_TITLE_SCAN_LAMP_DEN "Scan lamp density" #define SANE_TITLE_SCAN_EXPOS_TIME SANE_I18N("Scan exposure-time")
#define SANE_TITLE_SELECT_LAMP_DENSITY "Set lamp density" #define SANE_TITLE_SCAN_EXPOS_TIME_R SANE_I18N("Scan exposure-time for re
d")
#define SANE_TITLE_SCAN_EXPOS_TIME_G SANE_I18N("Scan exposure-time for "
\
"green")
#define SANE_TITLE_SCAN_EXPOS_TIME_B SANE_I18N("Scan exposure-time for bl
ue")
#define SANE_TITLE_SELECT_EXPOSURE_TIME SANE_I18N("Set exposure-time
")
#define SANE_TITLE_CAL_LAMP_DEN SANE_I18N("Cal. lamp density
")
#define SANE_TITLE_SCAN_LAMP_DEN SANE_I18N("Scan lamp density")
#define SANE_TITLE_SELECT_LAMP_DENSITY SANE_I18N("Set lamp density")
#define SANE_TITLE_LAMP_OFF_AT_EXIT SANE_I18N("Lamp off at exit")
/* Descriptive/help strings for above options: */ /* Descriptive/help strings for above options: */
#define SANE_DESC_NUM_OPTIONS \ #define SANE_DESC_NUM_OPTIONS \
"Read-only option that specifies how many options a specific devices " \ SANE_I18N("Read-only option that specifies how many options a specific " \
"supports." "devices supports.")
#define SANE_DESC_PREVIEW \ #define SANE_DESC_PREVIEW \
"Request a preview-quality scan." SANE_I18N("Request a preview-quality scan.")
#define SANE_DESC_GRAY_PREVIEW \ #define SANE_DESC_GRAY_PREVIEW \
"Request that all previews are done in monochrome mode. On a three-pass " SANE_I18N("Request that all previews are done in monochrome mode. On a " \
\ "three-pass scanner this cuts down the number of passes to one and on a " \
" scanner this cuts down the number of passes to one and on a one-pass " \ "one-pass scanner, it reduces the memory requirements and scan-time of the
"scanner, it reduces the memory requirements and scan-time of the preview." " \
"preview.")
#define SANE_DESC_BIT_DEPTH \ #define SANE_DESC_BIT_DEPTH \
"Number of bits per sample, typical values are 1 for \"line-art\" and 8 " \ SANE_I18N("Number of bits per sample, typical values are 1 for \"line-art\"
"for multibit scans." " \
"and 8 for multibit scans.")
#define SANE_DESC_SCAN_MODE \ #define SANE_DESC_SCAN_MODE \
"Selects the scan mode (e.g., lineart,monochrome, or color)." SANE_I18N("Selects the scan mode (e.g., lineart, monochrome, or color).")
#define SANE_DESC_SCAN_SPEED \ #define SANE_DESC_SCAN_SPEED \
"Determines the speed at which the scan proceeds." SANE_I18N("Determines the speed at which the scan proceeds.")
#define SANE_DESC_SCAN_SOURCE \ #define SANE_DESC_SCAN_SOURCE \
"Selects the scan source (such as a document-feeder)." SANE_I18N("Selects the scan source (such as a document-feeder).")
#define SANE_DESC_BACKTRACK \ #define SANE_DESC_BACKTRACK \
"Controls whether backtracking is forced." SANE_I18N("Controls whether backtracking is forced.")
#define SANE_DESC_SCAN_TL_X \ #define SANE_DESC_SCAN_TL_X \
"Top-left x position of scan area." SANE_I18N("Top-left x position of scan area.")
#define SANE_DESC_SCAN_TL_Y \ #define SANE_DESC_SCAN_TL_Y \
"Top-left y position of scan area." SANE_I18N("Top-left y position of scan area.")
#define SANE_DESC_SCAN_BR_X \ #define SANE_DESC_SCAN_BR_X \
"Bottom-right x position of scan area." SANE_I18N("Bottom-right x position of scan area.")
#define SANE_DESC_SCAN_BR_Y \ #define SANE_DESC_SCAN_BR_Y \
"Bottom-right y position of scan area." SANE_I18N("Bottom-right y position of scan area.")
#define SANE_DESC_SCAN_RESOLUTION \ #define SANE_DESC_SCAN_RESOLUTION \
"Sets the resolution of the scanned image." SANE_I18N("Sets the resolution of the scanned image.")
#define SANE_DESC_SCAN_X_RESOLUTION \ #define SANE_DESC_SCAN_X_RESOLUTION \
"Sets the horizontal resolution of the scanned image." SANE_I18N("Sets the horizontal resolution of the scanned image.")
#define SANE_DESC_SCAN_Y_RESOLUTION \ #define SANE_DESC_SCAN_Y_RESOLUTION \
"Sets the vertical resolution of the scanned image." SANE_I18N("Sets the vertical resolution of the scanned image.")
#define SANE_DESC_CUSTOM_GAMMA \ #define SANE_DESC_CUSTOM_GAMMA \
"Determines whether a builtin or a custom gamma-table should be used." SANE_I18N("Determines whether a builtin or a custom gamma-table should be "
\
"used.")
#define SANE_DESC_GAMMA_VECTOR \ #define SANE_DESC_GAMMA_VECTOR \
"Gamma-correction table. In color mode this option equally affects the " \ SANE_I18N("Gamma-correction table. In color mode this option equally " \
"red, green, and blue channels simultaneously (i.e., it is an intensity " \ "affects the red, green, and blue channels simultaneously (i.e., it is an "
"gamma table)." \
"intensity gamma table).")
#define SANE_DESC_GAMMA_VECTOR_R \ #define SANE_DESC_GAMMA_VECTOR_R \
"Gamma-correction table for the red band." SANE_I18N("Gamma-correction table for the red band.")
#define SANE_DESC_GAMMA_VECTOR_G \ #define SANE_DESC_GAMMA_VECTOR_G \
"Gamma-correction table for the green band." SANE_I18N("Gamma-correction table for the green band.")
#define SANE_DESC_GAMMA_VECTOR_B \ #define SANE_DESC_GAMMA_VECTOR_B \
"Gamma-correction table for the blue band." SANE_I18N("Gamma-correction table for the blue band.")
#define SANE_DESC_BRIGHTNESS \ #define SANE_DESC_BRIGHTNESS \
"Controls the brightness of the acquired image." SANE_I18N("Controls the brightness of the acquired image.")
#define SANE_DESC_CONTRAST \ #define SANE_DESC_CONTRAST \
"Controls the contrast of the acquired image." SANE_I18N("Controls the contrast of the acquired image.")
#define SANE_DESC_GRAIN_SIZE \ #define SANE_DESC_GRAIN_SIZE \
"Selects the \"graininess\" of the acquired image. Smaller values " \ SANE_I18N("Selects the \"graininess\" of the acquired image. Smaller value
"result in sharper images." s " \
"result in sharper images.")
#define SANE_DESC_HALFTONE \ #define SANE_DESC_HALFTONE \
"Selects whether the acquired image should be halftoned (dithered)." SANE_I18N("Selects whether the acquired image should be halftoned (dithered ).")
#define SANE_DESC_BLACK_LEVEL \ #define SANE_DESC_BLACK_LEVEL \
"Selects what radiance level should be considered \"black\"." SANE_I18N("Selects what radiance level should be considered \"black\".")
#define SANE_DESC_WHITE_LEVEL \ #define SANE_DESC_WHITE_LEVEL \
"Selects what radiance level should be considered \"white\"." SANE_I18N("Selects what radiance level should be considered \"white\".")
#define SANE_DESC_WHITE_LEVEL_R \
SANE_I18N("Selects what red radiance level should be considered \"white\"."
)
#define SANE_DESC_WHITE_LEVEL_G \
SANE_I18N("Selects what green radiance level should be considered \"white\"
.")
#define SANE_DESC_WHITE_LEVEL_B \
SANE_I18N("Selects what blue radiance level should be considered \"white\".
")
#define SANE_DESC_SHADOW \ #define SANE_DESC_SHADOW \
"Selects what radiance level should be considered \"black\"." SANE_I18N("Selects what radiance level should be considered \"black\".")
#define SANE_DESC_SHADOW_R \ #define SANE_DESC_SHADOW_R \
"Selects what red radiance level should be considered \"black\"." SANE_I18N("Selects what red radiance level should be considered \"black\"." )
#define SANE_DESC_SHADOW_G \ #define SANE_DESC_SHADOW_G \
"Selects what green radiance level should be considered \"black\"." SANE_I18N("Selects what green radiance level should be considered \"black\" .")
#define SANE_DESC_SHADOW_B \ #define SANE_DESC_SHADOW_B \
"Selects what blue radiance level should be considered \"black\"." SANE_I18N("Selects what blue radiance level should be considered \"black\". ")
#define SANE_DESC_HIGHLIGHT \ #define SANE_DESC_HIGHLIGHT \
"Selects what radiance level should be considered \"white\"." SANE_I18N("Selects what radiance level should be considered \"white\".")
#define SANE_DESC_HIGHLIGHT_R \ #define SANE_DESC_HIGHLIGHT_R \
"Selects what red radiance level should be considered \"full red\"." SANE_I18N("Selects what red radiance level should be considered \"full red\ ".")
#define SANE_DESC_HIGHLIGHT_G \ #define SANE_DESC_HIGHLIGHT_G \
"Selects what green radiance level should be considered \"full green\"." SANE_I18N("Selects what green radiance level should be considered \"full "
\
"green\".")
#define SANE_DESC_HIGHLIGHT_B \ #define SANE_DESC_HIGHLIGHT_B \
"Selects what blue radiance level should be considered \"full blue\"." SANE_I18N("Selects what blue radiance level should be considered \"full " \
"blue\".")
#define SANE_DESC_HUE \ #define SANE_DESC_HUE \
"Controls the \"hue\" (blue-level) of the acquired image." SANE_I18N("Controls the \"hue\" (blue-level) of the acquired image.")
#define SANE_DESC_SATURATION \ #define SANE_DESC_SATURATION \
"The saturation level controls the amount of \"blooming\" that occurs when SANE_I18N("The saturation level controls the amount of \"blooming\" that "
" \ \
"acquiring an image with a camera. Larger values cause more blooming." "occurs when acquiring an image with a camera. Larger values cause more " \
"blooming.")
#define SANE_DESC_FILE "The filename of the image to be loaded." #define SANE_DESC_FILE \
SANE_I18N("The filename of the image to be loaded.")
#define SANE_DESC_HALFTONE_DIMENSION \ #define SANE_DESC_HALFTONE_DIMENSION \
"Sets the size of the halftoning (dithering) pattern used when scanning " \ SANE_I18N("Sets the size of the halftoning (dithering) pattern used when "
"halftoned images." \
"scanning halftoned images.")
#define SANE_DESC_HALFTONE_PATTERN \ #define SANE_DESC_HALFTONE_PATTERN \
"Defines the halftoning (dithering) pattern for scanning halftoned images." SANE_I18N("Defines the halftoning (dithering) pattern for scanning " \
"halftoned images.")
#define SANE_DESC_RESOLUTION_BIND "Use same values for X and Y resolut #define SANE_DESC_RESOLUTION_BIND \
ion" SANE_I18N("Use same values for X and Y resolution")
#define SANE_DESC_NEGATIVE "Swap black and white" #define SANE_DESC_NEGATIVE \
#define SANE_DESC_QUALITY_CAL "Do a quality white-calibration" SANE_I18N("Swap black and white")
#define SANE_DESC_DOR "Use lens that doubles optical resol #define SANE_DESC_QUALITY_CAL \
ution" SANE_I18N("Do a quality white-calibration")
#define SANE_DESC_RGB_BIND "In RGB-mode use same values for eac #define SANE_DESC_DOR \
h color" SANE_I18N("Use lens that doubles optical resolution")
#define SANE_DESC_THRESHOLD "Select minimum-brightness to get a #define SANE_DESC_RGB_BIND \
white point" SANE_I18N("In RGB-mode use same values for each color")
#define SANE_DESC_ANALOG_GAMMA "Analog gamma-correction" #define SANE_DESC_THRESHOLD \
#define SANE_DESC_ANALOG_GAMMA_R "Analog gamma-correction for red" SANE_I18N("Select minimum-brightness to get a white point")
#define SANE_DESC_ANALOG_GAMMA_G "Analog gamma-correction for green" #define SANE_DESC_ANALOG_GAMMA \
#define SANE_DESC_ANALOG_GAMMA_B "Analog gamma-correction for blue" SANE_I18N("Analog gamma-correction")
#define SANE_DESC_ANALOG_GAMMA_BIND "In RGB-mode use same values for eac #define SANE_DESC_ANALOG_GAMMA_R \
h color" SANE_I18N("Analog gamma-correction for red")
#define SANE_DESC_SMEAR "Don't care about image smea #define SANE_DESC_ANALOG_GAMMA_G \
ring problem" SANE_I18N("Analog gamma-correction for green")
#define SANE_DESC_TEN_BIT_MODE "Output with 10 bits instead of 8 bi #define SANE_DESC_ANALOG_GAMMA_B \
ts" SANE_I18N("Analog gamma-correction for blue")
#define SANE_DESC_TWELVE_BIT_MODE "Output with 12 bits instead of 8 bi #define SANE_DESC_ANALOG_GAMMA_BIND \
ts" SANE_I18N("In RGB-mode use same values for each color")
#define SANE_DESC_WARMUP "Warmup lamp before scanning" #define SANE_DESC_WARMUP \
#define SANE_DESC_RGB_PREVIEW_PATCH "Set preview-bit in rgb-mode" SANE_I18N("Warmup lamp before scanning")
#define SANE_DESC_START_SCAN_PATCH "Use special start-scan bits" #define SANE_DESC_CAL_EXPOS_TIME \
#define SANE_DESC_CAL_EXPOS_TIME "Define exposure-time for calibratio SANE_I18N("Define exposure-time for calibration")
n" #define SANE_DESC_CAL_EXPOS_TIME_R \
#define SANE_DESC_CAL_EXPOS_TIME_R "Define exposure-time for red calibr SANE_I18N("Define exposure-time for red calibration")
ation" #define SANE_DESC_CAL_EXPOS_TIME_G \
#define SANE_DESC_CAL_EXPOS_TIME_G "Define exposure-time for green cali SANE_I18N("Define exposure-time for green calibration")
bration" #define SANE_DESC_CAL_EXPOS_TIME_B \
#define SANE_DESC_CAL_EXPOS_TIME_B "Define exposure-time for blue calib SANE_I18N("Define exposure-time for blue calibration")
ration" #define SANE_DESC_SCAN_EXPOS_TIME \
#define SANE_DESC_SCAN_EXPOS_TIME "Define exposure-time for scan" SANE_I18N("Define exposure-time for scan")
#define SANE_DESC_SCAN_EXPOS_TIME_R "Define exposure-time for red scan" #define SANE_DESC_SCAN_EXPOS_TIME_R \
#define SANE_DESC_SCAN_EXPOS_TIME_G "Define exposure-time for green scan SANE_I18N("Define exposure-time for red scan")
" #define SANE_DESC_SCAN_EXPOS_TIME_G \
#define SANE_DESC_SCAN_EXPOS_TIME_B "Define exposure-time for blue scan" SANE_I18N("Define exposure-time for green scan")
#define SANE_DESC_SELECT_EXPOSURE_TIME "Enable selection of exposure-time" #define SANE_DESC_SCAN_EXPOS_TIME_B \
#define SANE_DESC_CAL_LAMP_DEN "Define lamp density for calibration SANE_I18N("Define exposure-time for blue scan")
" #define SANE_DESC_SELECT_EXPOSURE_TIME \
#define SANE_DESC_SCAN_LAMP_DEN "Define lamp density for sca SANE_I18N("Enable selection of exposure-time")
n" #define SANE_DESC_CAL_LAMP_DEN \
#define SANE_DESC_SELECT_LAMP_DENSITY "Enable selection of lamp density" SANE_I18N("Define lamp density for calibration")
#define SANE_DESC_SCAN_LAMP_DEN \
SANE_I18N("Define lamp density for scan")
#define SANE_DESC_SELECT_LAMP_DENSITY \
SANE_I18N("Enable selection of lamp density")
#define SANE_DESC_LAMP_OFF_AT_EXIT \
SANE_I18N("Turn off lamp when program exits")
/* Typical values for stringlists (to keep the backends consistent) */
#define SANE_VALUE_SCAN_MODE_COLOR SANE_I18N("Color")
#define SANE_VALUE_SCAN_MODE_GRAY SANE_I18N("Gray")
#define SANE_VALUE_SCAN_MODE_LINEART SANE_I18N("Lineart")
#endif /* saneopts_h */ #endif /* saneopts_h */
 End of changes. 48 change blocks. 
167 lines changed or deleted 250 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/