summaryrefslogtreecommitdiff
path: root/backend/umax.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
commitecaaf250cb33ff61f37a7b441f2337584a655350 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/umax.h
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parent351b7328520c16730ceb46e5acae16038c42185e (diff)
Update upstream source from tag 'upstream/1.0.32'
Update to upstream version '1.0.32' with Debian dir 2c1111c59d9d68bcbf479a4a4de7697fe2de127f
Diffstat (limited to 'backend/umax.h')
-rw-r--r--backend/umax.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/backend/umax.h b/backend/umax.h
index e6b83fd..c3c1228 100644
--- a/backend/umax.h
+++ b/backend/umax.h
@@ -15,9 +15,7 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- MA 02111-1307, USA.
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
As a special exception, the authors of SANE give permission for
additional uses of the libraries contained in this release of SANE.
@@ -183,7 +181,7 @@ enum Umax_Option
/* LIST OF AVAILABLE SCANNERS, THE VALUES LISTED HERE ARE THE SAME FOR DIFFERENT APPLICATIONS
THAT USE THE SAME DEVICE */
-/* Umax_Device contains values relevant for the device that are not intersting for the sane interface */
+/* Umax_Device contains values relevant for the device that are not interesting for the sane interface */
typedef struct Umax_Device
{
@@ -354,21 +352,21 @@ typedef struct Umax_Device
int use_exposure_time_def_b; /* exposure time default */
int wdb_len; /* use this length of WDB */
- unsigned int width_in_pixels; /* thats the wanted width in pixels */
- unsigned int length_in_pixels; /* thats the wanted length in pixels */
- unsigned int scanwidth; /* thats the width in pixels at x_coordinate_base dpi */
- unsigned int scanlength; /* thats the length in pixels at y_coordinate_base dpi */
+ unsigned int width_in_pixels; /* that's the wanted width in pixels */
+ unsigned int length_in_pixels; /* that's the wanted length in pixels */
+ unsigned int scanwidth; /* that's the width in pixels at x_coordinate_base dpi */
+ unsigned int scanlength; /* that's the length in pixels at y_coordinate_base dpi */
unsigned int bytes_per_color; /* bytes per each color */
unsigned int x_resolution; /* scan-resolution for x in dpi */
unsigned int y_resolution; /* scan-resolution for y in dpi */
double scale_x; /* x-scaling of optical resolution */
double scale_y; /* y-scaling of optical resolution */
- int upper_left_x; /* thats the left edge in points at 1200pt/inch */
- int upper_left_y; /* thats the top edge in points at 1200pt/inch */
+ int upper_left_x; /* that's the left edge in points at 1200pt/inch */
+ int upper_left_y; /* that's the top edge in points at 1200pt/inch */
- unsigned int x_coordinate_base; /* x base in pixels/inch, normaly 1200 */
- unsigned int y_coordinate_base; /* y base in pixels/inch, normaly 1200 */
+ unsigned int x_coordinate_base; /* x base in pixels/inch, normally 1200 */
+ unsigned int y_coordinate_base; /* y base in pixels/inch, normally 1200 */
unsigned int bits_per_pixel; /* number of bits per pixel */
int bits_per_pixel_code; /* 1 = 24bpp, 4 = 30 bpp, 8 = 36 bpp */
@@ -396,7 +394,7 @@ typedef struct Umax_Device
int adf; /* 1 if ADF turned on */
int uta; /* 1 if UTA turned on */
int calibration; /* calibration :0=ignore, 1=driver, 2=by image */
- int low_byte_first; /* 10 bit mode: 0=high byte frist, 1=low byte frist */
+ int low_byte_first; /* 10 bit mode: 0=high byte first, 1=low byte first */
int colormode; /* LINEART, HALFTONE, GRAYSCALE or RGB */
# define LINEART 1
# define HALFTONE 2