piuspatch  v0.1
USB addition to PIE backend
Data Fields
Pie_Scanner Struct Reference

This structure holds information about an instance of an 'opened' scanner. More...

Data Fields

struct Pie_Scannernext
Pie_Devicedevice
int sfd
int bufsize
SANE_Option_Descriptor opt [NUM_OPTIONS]
Option_Value val [NUM_OPTIONS]
SANE_Int * gamma_table [4]
SANE_Range gamma_range
int gamma_length
uint16_t * gamma_lut8
uint16_t * gamma_lut16
double * ln_lut
int scanning
SANE_Parameters params
SANE_Pid parking_pid
SANE_Pid reader_pid
int pipe
int reader_fds
int colormode
int processing
int resolution
int cal_mode
int cal_filter
PIE_USB_Calibrationcal_data
int filter_offset1
int filter_offset2
int bytes_per_line
SANEI_IR_bufptr img_buffer
int total_bytes_stored
int total_bytes_read

Detailed Description

This structure holds information about an instance of an 'opened' scanner.

Definition at line 394 of file pie.c.


Field Documentation

int bufsize

max scsi buffer size

Definition at line 400 of file pie.c.

number of bytes per line

Definition at line 431 of file pie.c.

USB only, is updated during calibration

Definition at line 426 of file pie.c.

set to indicate which filters will provide data for cal

Definition at line 425 of file pie.c.

int cal_mode

set to value to compare cal_info mode to

Definition at line 423 of file pie.c.

int colormode

whether RGBI, RGB, GRAY, LINEART, HALFTONE

Definition at line 420 of file pie.c.

pointer to physical scanner

Definition at line 397 of file pie.c.

offsets between colors in indexed scan mode

Definition at line 428 of file pie.c.

Definition at line 429 of file pie.c.

size of gamma table

Definition at line 406 of file pie.c.

uint16_t* gamma_lut16

Definition at line 409 of file pie.c.

uint16_t* gamma_lut8

USB scanners gamma lookup tables

Definition at line 408 of file pie.c.

SANE_Range gamma_range

Definition at line 405 of file pie.c.

SANE_Int* gamma_table[4]

gamma tables for this instance

Definition at line 404 of file pie.c.

USB: store a whole image in RGB(I) format

Definition at line 433 of file pie.c.

double* ln_lut

USB scanners logarithm lookup

Definition at line 410 of file pie.c.

struct Pie_Scanner* next

Definition at line 396 of file pie.c.

SANE_Option_Descriptor opt[NUM_OPTIONS]

option descriptions for this instance

Definition at line 402 of file pie.c.

SANE_Parameters params

Definition at line 413 of file pie.c.

SANE_Pid parking_pid

USB scanners may use a thread to watch parking

Definition at line 415 of file pie.c.

int pipe

Definition at line 417 of file pie.c.

USB scanners may process scan data

Definition at line 421 of file pie.c.

Definition at line 418 of file pie.c.

SANE_Pid reader_pid

Definition at line 416 of file pie.c.

Definition at line 422 of file pie.c.

int scanning

true if actually doing a scan

Definition at line 412 of file pie.c.

int sfd

scanner file desc.

Definition at line 399 of file pie.c.

what has been read from the stored image

Definition at line 435 of file pie.c.

Definition at line 434 of file pie.c.

Option_Value val[NUM_OPTIONS]

option settings for this instance

Definition at line 403 of file pie.c.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines