kopia lustrzana https://gitlab.com/sane-project/backends
spelling fixes for coolscan backend
rodzic
e78667e32d
commit
e1ea09c834
|
@ -279,7 +279,7 @@ static scsiblk window_parameter_data_block =
|
|||
|
||||
static unsigned char window_descriptor_blockC[] =
|
||||
{
|
||||
/* Any field maked with 'R' (e.g. R0x55) indicate a filed provided for
|
||||
/* Any field marked with 'R' (e.g. R0x55) indicate a field provided for
|
||||
* development. In normal operation, 0 is set here. If any other value is set,
|
||||
* operationis not guaranteed! */
|
||||
|
||||
|
|
|
@ -52,10 +52,10 @@
|
|||
. - sane_open() : open a particular scanner-device
|
||||
. . - sane_set_io_mode : set blocking-mode
|
||||
. . - sane_get_select_fd : get scanner-fd
|
||||
. . - sane_get_option_descriptor() : get option informations
|
||||
. . - sane_get_option_descriptor() : get option information
|
||||
. . - sane_control_option() : change option values
|
||||
. .
|
||||
. . - sane_start() : start image aquisition
|
||||
. . - sane_start() : start image acquisition
|
||||
. . - sane_get_parameters() : returns actual scan-parameters
|
||||
. . - sane_read() : read image-data (from pipe)
|
||||
. .
|
||||
|
@ -380,7 +380,7 @@ resValToDiv (int res_val)
|
|||
}
|
||||
}
|
||||
/*
|
||||
* use mode select to force a mesurement divisor of 2700
|
||||
* use mode select to force a measurement divisor of 2700
|
||||
*/
|
||||
static unsigned char mode_select[] =
|
||||
{
|
||||
|
@ -615,9 +615,9 @@ coolscan_set_window_param_LS20 (Coolscan_t * s, int prescan)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* Quote spec: "It is recomended that analog gamma bits 5, 4 and 3 be
|
||||
/* Quote spec: "It is recommended that analog gamma bits 5, 4 and 3 be
|
||||
* set to 1 (OFF) when the object type of byte 48 is positive and the
|
||||
* gamma specificateion of byte 51 is linear, and to 0 (ON) in all
|
||||
* gamma specification of byte 51 is linear, and to 0 (ON) in all
|
||||
* other cases." */
|
||||
/*
|
||||
int foo;
|
||||
|
@ -771,7 +771,7 @@ coolscan_set_window_param_LS30 (Coolscan_t * s, int wid, int prescan)
|
|||
else
|
||||
set_WD_composition (buffer_r, WD_comp_rgb_full); /* RGB composition */
|
||||
|
||||
set_WD_composition (buffer_r, WD_comp_rgb_full); /* allways RGB composition */
|
||||
set_WD_composition (buffer_r, WD_comp_rgb_full); /* always RGB composition */
|
||||
|
||||
/* Bits per pixel */
|
||||
set_WD_bitsperpixel(buffer_r, s->bits_per_color);
|
||||
|
@ -838,7 +838,7 @@ coolscan_set_window_param (Coolscan_t * s, int prescan)
|
|||
ret=0;
|
||||
DBG (10, "set_window_param\n");
|
||||
|
||||
if(s->LS<2) /* distinquish between old and new scanners */
|
||||
if(s->LS<2) /* distinguish between old and new scanners */
|
||||
{ ret=coolscan_set_window_param_LS20 (s,prescan);
|
||||
}
|
||||
else
|
||||
|
@ -993,7 +993,7 @@ coolscan_get_window_param (Coolscan_t * s, int prescanok)
|
|||
DBG (10, "get_window_param\n");
|
||||
|
||||
ret=0;
|
||||
if(s->LS<2) /* distinquish between old and new scanners */
|
||||
if(s->LS<2) /* distinguish between old and new scanners */
|
||||
{ ret=coolscan_get_window_param_LS20 (s);
|
||||
}
|
||||
else
|
||||
|
@ -1466,7 +1466,7 @@ get_inquiery_part_LS30 (Coolscan_t * s, unsigned char part)
|
|||
{
|
||||
int size;
|
||||
|
||||
/* Get length of reponse */
|
||||
/* Get length of response */
|
||||
inquiry.cmd[1]=0x01;
|
||||
inquiry.cmd[2]=part;
|
||||
size=4;
|
||||
|
@ -1686,7 +1686,7 @@ get_internal_info (Coolscan_t * s)
|
|||
|
||||
DBG (10, "get_internal_info\n");
|
||||
|
||||
if(s->LS<2) /* distinquish between old and new scanners */
|
||||
if(s->LS<2) /* distinguish between old and new scanners */
|
||||
{ ret=get_internal_info_LS20 (s);
|
||||
}
|
||||
else
|
||||
|
@ -2178,7 +2178,7 @@ typedef struct Color_correct_s
|
|||
|
||||
function: RGBIfix
|
||||
|
||||
taks: Correct the infrared channel
|
||||
task: Correct the infrared channel
|
||||
|
||||
import: unsigned char * rgbimat - RGBI - matrix from scanner
|
||||
int size - number of pixels to correct
|
||||
|
@ -2265,7 +2265,7 @@ static int Calc_fix_LUT(Coolscan_t * s)
|
|||
|
||||
function: RGBIfix
|
||||
|
||||
taks: Correct the infrared channel
|
||||
task: Correct the infrared channel
|
||||
|
||||
import: unsigned char * rgbimat - RGBI - matrix from scanner
|
||||
int size - number of pixels to correct
|
||||
|
@ -2332,7 +2332,7 @@ static int RGBIfix(Coolscan_t * scanner,
|
|||
|
||||
function: RGBIfix16
|
||||
|
||||
taks: Correct the infrared channel for 16 bit images
|
||||
task: Correct the infrared channel for 16 bit images
|
||||
(doesn't do anything for now)
|
||||
|
||||
import: unsigned char * rgbimat - RGBI - matrix from scanner
|
||||
|
@ -2387,7 +2387,7 @@ static int RGBIfix16(Coolscan_t * scanner,
|
|||
|
||||
function: rgb2g
|
||||
|
||||
taks: Convert RGB data to grey
|
||||
task: Convert RGB data to grey
|
||||
|
||||
import: unsigned char * rgbimat - RGB - matrix from scanner
|
||||
int size - size of input data (num pixel)
|
||||
|
@ -2426,8 +2426,8 @@ static int rgb2g(unsigned char* rgbimat,unsigned char* gomat,
|
|||
|
||||
function: RGBIfix1
|
||||
|
||||
taks: Correct the infrared channel.
|
||||
The input image data is the output of scaning
|
||||
task: Correct the infrared channel.
|
||||
The input image data is the output of scanning
|
||||
with LUT. To calculate the original values
|
||||
the lutr and luti is applied.
|
||||
The infrared values is corrected by:
|
||||
|
|
|
@ -147,7 +147,7 @@ typedef struct Coolscan
|
|||
|
||||
int LS; /* index in scanner_str */
|
||||
int cont; /* continue although scanner is unknown */
|
||||
int verbose; /* 1,2=output informations */
|
||||
int verbose; /* 1,2=output information */
|
||||
int asf; /* Automatic Slide Feeder enabled? */
|
||||
|
||||
int MUD; /* Measurement Unit Divisor (1200 or 2700) */
|
||||
|
@ -317,7 +317,7 @@ static char *scanner_str[] =
|
|||
|
||||
#define known_scanners 4
|
||||
|
||||
/* Comment this line if you havn't patched sane.h to include
|
||||
/* Comment this line if you haven't patched sane.h to include
|
||||
SANE_FRAME_RGBA */
|
||||
/* #define HAS_IRED 1 */
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue