Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
Main Page
Data Structures
Files
File List
Globals
get
qcr
qcr.h
Go to the documentation of this file.
1
#
include
<
errno
.
h
>
2
#
include
<
fcntl
.
h
>
3
#
include
<
stdio
.
h
>
4
5
#
define
RED
0
6
#
define
GREEN
1
7
#
define
BLUE
2
8
9
/* Command defs for QCR-Z Film Recorder */
10
11
/* These are for 8 bit Look Up Tables */
12
13
#
define
LUT_LOAD
0x00
14
#
define
LUT_VERIFY
0x01
15
16
#
define
NEUTRAL_LUT
0x1d
17
#
define
NEUTRAL_VERIFY
0x1e
18
19
20
/* These commands are for the 12 bit LUTs */
21
22
#
define
LOAD_12_LUT
0x4c
23
#
define
VERIFY_12
0x4e
24
#
define
LOAD_12_NEUTRAL
0x4d
25
#
define
VERIFY_12_NEUTRAL
0x4f
26
27
/* Start a color image recording, reading Red, Blue than Green */
28
29
#
define
THREE_PASS_PIXEL
0x06
30
31
/* For a three pass RLE image */
32
#
define
THREE_PASS_RLE
0x16
33
34
35
/* These are for single passes of data, fully specified (Non-RLE) */
36
#
define
NEUTRAL_PIXEL
0x02
37
#
define
RED_PIXEL
0x03
38
#
define
GREEN_PIXEL
0x04
39
#
define
BLUE_PIXEL
0x05
40
41
/* These are for single passes of data, run length format */
42
#
define
NEUTRAL_RLE
0x12
43
#
define
RED_RLE
0x13
44
#
define
GREEN_RLE
0x14
45
#
define
BLUE_RLE
0x15
46
47
#
define
TEST_PAT_0
0x0a
48
#
define
TEST_PAT_1
0x0b
49
50
#
define
SET_LINE_DELAY
0x0c
51
#
define
GET_VERSION_ID
0x0d
52
#
define
IDLENGTH
14
53
#
define
SET_DIMENSIONS
0x0e
54
55
#
define
MIRROR_DISABLE
0x30
56
#
define
MIRROR_ENABLE
0x31
57
58
#
define
WARBLE_DISABLE
0x21
59
#
define
WARBLE_ENABLE
0x22
60
61
#
define
RED_REPEAT_ON
0x39
62
#
define
RED_REPEAT_OFF
0x38
63
64
#
define
AUTO_SHUTTER_OFF
0x0f
65
#
define
AUTO_SHUTTER_ON
0x10
66
67
#
define
AUTO_FILTER_OFF
0x18
68
#
define
AUTO_FILTER_ON
0x19
69
70
#
define
QCR_BELL
0x11
71
72
#
define
AUTO_CAL_OFF
0x1f
73
#
define
AUTO_CAL_ON
0x20
74
75
#
define
END_WARBLE_OFF
0x21
76
#
define
END_WARBLE_ON
0x22
77
78
#
define
LOAD_INTERN_LUT
0x23
79
80
#
define
LUT_LINEAR
1
/* Canned luts */
81
#
define
LUT_Polaroid59
2
82
#
define
LUT_Ektachrome100
3
83
#
define
LUT_Ektachrome100_4K
4
84
#
define
LUT_Polaroid59_4K
5
85
#
define
LUT_Polaroid809_4K
6
86
87
#
define
EXTENDED_STATUS
0x24
88
#
define
MODULE_ID
0x25
89
90
#
define
START_CAL
0x26
91
#
define
START_CAL_ALL
0x27
92
93
#
define
SHUTTER_CLOSE
0x1a
94
#
define
SHUTTER_OPEN
0x1b
95
96
#
define
BLACK_JUMP_OFF
0x28
97
#
define
BLACK_JUMP_ON
0x29
98
99
#
define
RESOLUTION_2K
0x2a
100
#
define
RESOLUTION_4K
0x2b
101
102
#
define
GET_BRIGHTNESS
0x2c
103
#
define
SET_BRIGHTNESS
0x2d
104
105
#
define
ROTATE_90_OFF
0x2e
106
#
define
ROTATE_90_ON
0x2f
107
108
#
define
RETURN_BRIGHT_LEVELS
0x2c
109
#
define
LOAD_BRIGHT_LEVELS
0x2d
110
111
#
define
RETURN_BRIGHT_TABLE
0x3b
112
#
define
LOAD_BRIGHT_TABLE
0x3a
113
114
/* Special for QCR-Z */
115
116
#
define
RETURN_STATUS
0x3c
117
#
define
SET_FRAME_COUNTER
0x3d
118
#
define
GET_FRAME_COUNTER
0x3e
119
#
define
RES_2K_SAME_STATUS
0x3f
120
#
define
RES_4K_SAME_STATUS
0x40
121
#
define
REWIND_FILM
0x41
122
#
define
ADVANCE_FILM
0x42
123
#
define
MULT_RGB_LUTS
0x43
124
#
define
MULT_GRAY_LUTS
0x44
125
#
define
LOAD_FILM
0x45
126
#
define
UNLOAD_FILM
0x46
127
#
define
NOTCH_FILM
0x47
128
#
define
DISABLE_HALF_FRAME
0x48
129
#
define
ENABLE_HALF_FRAME
0x49
130
#
define
DISABLE_180_ROTATE
0x4a
131
#
define
ENABLE_180_ROTATE
0x4b
Generated on Thu Sep 24 2015 11:47:03 for Utah Raster Toolkit by
1.8.10