spelling fixes for avision backend

merge-requests/540/head
Peter Marschall 2020-08-29 08:32:00 +02:00
rodzic f611cab816
commit 269a7c0413
2 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -58,7 +58,7 @@
Copyright 2010, 2011 by
"Mike Kelly" <mike@piratehaven.org>
Additional Contributers:
Additional Contributors:
"Gunter Wagner"
(some fixes and the transparency option)
"Martin Jelínek" <mates@sirrah.troja.mff.cuni.cz>
@ -4880,7 +4880,7 @@ send_tune_scan_length (Avision_Scanner* s)
set_double (payload.vertical, top);
/* set_double (payload.horizontal, 0); */
/* we alway send it, even for 0 as the scanner keeps it in RAM and
/* we always send it, even for 0 as the scanner keeps it in RAM and
previous runs could already have set something */
status = avision_cmd (&s->av_con, &scmd, sizeof (scmd),
@ -6266,7 +6266,7 @@ set_window (Avision_Scanner* s)
cmd.window.avision.highlight = 0xFF;
cmd.window.avision.shadow = 0x00;
/* mode dependant settings */
/* mode dependent settings */
switch (s->c_mode)
{
case AV_THRESHOLDED:

Wyświetl plik

@ -120,7 +120,7 @@ typedef struct Avision_HWEntry {
/* if the scan area and resolution needs to be forced for films */
#define AV_FORCE_FILM ((uint64_t)1<<6)
/* does not suport, or very broken background (added for AV610C2) */
/* does not support, or very broken background (added for AV610C2) */
#define AV_NO_BACKGROUND ((uint64_t)1<<7)
/* is film scanner - no detection yet */
@ -171,7 +171,7 @@ typedef struct Avision_HWEntry {
/* though marked as GRAY only the scanner can do GRAY modes */
#define AV_GRAY_MODES ((uint64_t)1<<23)
/* no seperate, single REAR scan (AV122, DM152, ...) */
/* no separate, single REAR scan (AV122, DM152, ...) */
#define AV_NO_REAR ((uint64_t)1<<24)
/* only scan with some known good hardware resolutions, as the
@ -180,11 +180,11 @@ typedef struct Avision_HWEntry {
interpolate to all the others */
#define AV_SOFT_SCALE ((uint64_t)1<<25)
/* does keep window though it does not advertice it - the AV122/DM152
/* does keep window though it does not advertise it - the AV122/DM152
mess up image data if window is resend between ADF pages */
#define AV_DOES_KEEP_WINDOW ((uint64_t)1<<26)
/* does keep gamma though it does not advertice it */
/* does keep gamma though it does not advertise it */
#define AV_DOES_KEEP_GAMMA ((uint64_t)1<<27)
/* does the scanner contain a Cancel button? */
@ -463,12 +463,12 @@ typedef struct Avision_Device
int scsi_buffer_size; /* nice to have SCSI buffer size */
int read_stripe_size; /* stripes to be read at-a-time */
/* film scanner atributes - maybe these should be in the scanner struct? */
/* film scanner attributes - maybe these should be in the scanner struct? */
SANE_Range frame_range;
SANE_Word current_frame;
SANE_Word holder_type;
/* some versin corrections */
/* some version corrections */
uint16_t data_dq; /* was ox0A0D - but hangs some new scanners */
Avision_HWEntry* hw;
@ -773,7 +773,7 @@ typedef struct calibration_format
uint16_t g_dark_shading_target;
uint16_t b_dark_shading_target;
/* not returned but usefull in some places */
/* not returned but useful in some places */
uint8_t channels;
} calibration_format;