25 DC1394_NOT_A_CAMERA = -2,
26 DC1394_FUNCTION_NOT_SUPPORTED = -3,
27 DC1394_CAMERA_NOT_INITIALIZED = -4,
28 DC1394_MEMORY_ALLOCATION_FAILURE = -5,
29 DC1394_TAGGED_REGISTER_NOT_FOUND = -6,
30 DC1394_NO_ISO_CHANNEL = -7,
31 DC1394_NO_BANDWIDTH = -8,
32 DC1394_IOCTL_FAILURE = -9,
33 DC1394_CAPTURE_IS_NOT_SET = -10,
34 DC1394_CAPTURE_IS_RUNNING = -11,
35 DC1394_RAW1394_FAILURE = -12,
36 DC1394_FORMAT7_ERROR_FLAG_1 = -13,
37 DC1394_FORMAT7_ERROR_FLAG_2 = -14,
38 DC1394_INVALID_ARGUMENT_VALUE = -15,
39 DC1394_REQ_VALUE_OUTSIDE_RANGE = -16,
40 DC1394_INVALID_FEATURE = -17,
41 DC1394_INVALID_VIDEO_FORMAT = -18,
42 DC1394_INVALID_VIDEO_MODE = -19,
43 DC1394_INVALID_FRAMERATE = -20,
44 DC1394_INVALID_TRIGGER_MODE = -21,
45 DC1394_INVALID_TRIGGER_SOURCE = -22,
46 DC1394_INVALID_ISO_SPEED = -23,
47 DC1394_INVALID_IIDC_VERSION = -24,
48 DC1394_INVALID_COLOR_CODING = -25,
49 DC1394_INVALID_COLOR_FILTER = -26,
50 DC1394_INVALID_CAPTURE_POLICY = -27,
51 DC1394_INVALID_ERROR_CODE = -28,
52 DC1394_INVALID_BAYER_METHOD = -29,
53 DC1394_INVALID_VIDEO1394_DEVICE = -30,
54 DC1394_INVALID_OPERATION_MODE = -31,
55 DC1394_INVALID_TRIGGER_POLARITY = -32,
56 DC1394_INVALID_FEATURE_MODE = -33,
57 DC1394_INVALID_LOG_TYPE = -34,
58 DC1394_INVALID_BYTE_ORDER = -35,
59 DC1394_INVALID_STEREO_METHOD = -36,
60 DC1394_BASLER_NO_MORE_SFF_CHUNKS = -37,
61 DC1394_BASLER_CORRUPTED_SFF_CHUNK = -38,
62 DC1394_BASLER_UNKNOWN_SFF_CHUNK = -39
64#define DC1394_ERROR_MIN DC1394_BASLER_UNKNOWN_SFF_CHUNK
65#define DC1394_ERROR_MAX DC1394_SUCCESS
66#define DC1394_ERROR_NUM (DC1394_ERROR_MAX - DC1394_ERROR_MIN + 1)
73 DC1394_VIDEO_MODE_160x120_YUV444 = 64,
74 DC1394_VIDEO_MODE_320x240_YUV422,
75 DC1394_VIDEO_MODE_640x480_YUV411,
76 DC1394_VIDEO_MODE_640x480_YUV422,
77 DC1394_VIDEO_MODE_640x480_RGB8,
78 DC1394_VIDEO_MODE_640x480_MONO8,
79 DC1394_VIDEO_MODE_640x480_MONO16,
80 DC1394_VIDEO_MODE_800x600_YUV422,
81 DC1394_VIDEO_MODE_800x600_RGB8,
82 DC1394_VIDEO_MODE_800x600_MONO8,
83 DC1394_VIDEO_MODE_1024x768_YUV422,
84 DC1394_VIDEO_MODE_1024x768_RGB8,
85 DC1394_VIDEO_MODE_1024x768_MONO8,
86 DC1394_VIDEO_MODE_800x600_MONO16,
87 DC1394_VIDEO_MODE_1024x768_MONO16,
88 DC1394_VIDEO_MODE_1280x960_YUV422,
89 DC1394_VIDEO_MODE_1280x960_RGB8,
90 DC1394_VIDEO_MODE_1280x960_MONO8,
91 DC1394_VIDEO_MODE_1600x1200_YUV422,
92 DC1394_VIDEO_MODE_1600x1200_RGB8,
93 DC1394_VIDEO_MODE_1600x1200_MONO8,
94 DC1394_VIDEO_MODE_1280x960_MONO16,
95 DC1394_VIDEO_MODE_1600x1200_MONO16,
96 DC1394_VIDEO_MODE_EXIF,
97 DC1394_VIDEO_MODE_FORMAT7_0,
98 DC1394_VIDEO_MODE_FORMAT7_1,
99 DC1394_VIDEO_MODE_FORMAT7_2,
100 DC1394_VIDEO_MODE_FORMAT7_3,
101 DC1394_VIDEO_MODE_FORMAT7_4,
102 DC1394_VIDEO_MODE_FORMAT7_5,
103 DC1394_VIDEO_MODE_FORMAT7_6,
104 DC1394_VIDEO_MODE_FORMAT7_7
106#define DC1394_VIDEO_MODE_MIN DC1394_VIDEO_MODE_160x120_YUV444
107#define DC1394_VIDEO_MODE_MAX DC1394_VIDEO_MODE_FORMAT7_7
108#define DC1394_VIDEO_MODE_NUM (DC1394_VIDEO_MODE_MAX - DC1394_VIDEO_MODE_MIN + 1)
111#define DC1394_VIDEO_MODE_FORMAT7_MIN DC1394_VIDEO_MODE_FORMAT7_0
112#define DC1394_VIDEO_MODE_FORMAT7_MAX DC1394_VIDEO_MODE_FORMAT7_7
113#define DC1394_VIDEO_MODE_FORMAT7_NUM (DC1394_VIDEO_MODE_FORMAT7_MAX - DC1394_VIDEO_MODE_FORMAT7_MIN + 1)
120 DC1394_COLOR_CODING_MONO8 = 352,
121 DC1394_COLOR_CODING_YUV411,
122 DC1394_COLOR_CODING_YUV422,
123 DC1394_COLOR_CODING_YUV444,
124 DC1394_COLOR_CODING_RGB8,
125 DC1394_COLOR_CODING_MONO16,
126 DC1394_COLOR_CODING_RGB16,
127 DC1394_COLOR_CODING_MONO16S,
128 DC1394_COLOR_CODING_RGB16S,
129 DC1394_COLOR_CODING_RAW8,
130 DC1394_COLOR_CODING_RAW16
131} dc1394color_coding_t;
132#define DC1394_COLOR_CODING_MIN DC1394_COLOR_CODING_MONO8
133#define DC1394_COLOR_CODING_MAX DC1394_COLOR_CODING_RAW16
134#define DC1394_COLOR_CODING_NUM (DC1394_COLOR_CODING_MAX - DC1394_COLOR_CODING_MIN + 1)
146 DC1394_COLOR_FILTER_RGGB = 512,
147 DC1394_COLOR_FILTER_GBRG,
148 DC1394_COLOR_FILTER_GRBG,
149 DC1394_COLOR_FILTER_BGGR
150} dc1394color_filter_t;
151#define DC1394_COLOR_FILTER_MIN DC1394_COLOR_FILTER_RGGB
152#define DC1394_COLOR_FILTER_MAX DC1394_COLOR_FILTER_BGGR
153#define DC1394_COLOR_FILTER_NUM (DC1394_COLOR_FILTER_MAX - DC1394_COLOR_FILTER_MIN + 1)
160typedef enum { DC1394_BYTE_ORDER_UYVY = 800, DC1394_BYTE_ORDER_YUYV } dc1394byte_order_t;
161#define DC1394_BYTE_ORDER_MIN DC1394_BYTE_ORDER_UYVY
162#define DC1394_BYTE_ORDER_MAX DC1394_BYTE_ORDER_YUYV
163#define DC1394_BYTE_ORDER_NUM (DC1394_BYTE_ORDER_MAX - DC1394_BYTE_ORDER_MIN + 1)
171 dc1394color_coding_t codings[DC1394_COLOR_CODING_NUM];
180 dc1394video_mode_t modes[DC1394_VIDEO_MODE_NUM];
186typedef enum { DC1394_FALSE = 0, DC1394_TRUE } dc1394bool_t;
191typedef enum { DC1394_OFF = 0, DC1394_ON } dc1394switch_t;
200 DC1394_BAYER_METHOD_NEAREST = 0,
201 DC1394_BAYER_METHOD_SIMPLE,
202 DC1394_BAYER_METHOD_BILINEAR,
203 DC1394_BAYER_METHOD_HQLINEAR,
204 DC1394_BAYER_METHOD_DOWNSAMPLE,
205 DC1394_BAYER_METHOD_EDGESENSE,
206 DC1394_BAYER_METHOD_VNG,
207 DC1394_BAYER_METHOD_AHD
208} dc1394bayer_method_t;
209#define DC1394_BAYER_METHOD_MIN DC1394_BAYER_METHOD_NEAREST
210#define DC1394_BAYER_METHOD_MAX DC1394_BAYER_METHOD_AHD
211#define DC1394_BAYER_METHOD_NUM (DC1394_BAYER_METHOD_MAX - DC1394_BAYER_METHOD_MIN + 1)
215 dc1394bayer_method_t method;
216 dc1394color_filter_t
filter;
217 int offsetX, offsetY;
257dc1394error_t dc1394_bayer_decoding_8bit(
const uint8_t *bayer, uint8_t *rgb, uint32_t width, uint32_t height,
258 dc1394color_filter_t tile, dc1394bayer_method_t method);
263dc1394error_t dc1394_bayer_decoding_16bit(
const uint16_t *bayer, uint16_t *rgb, uint32_t width, uint32_t height,
264 dc1394color_filter_t tile, dc1394bayer_method_t method, uint32_t bits);
267dc1394error_t dc1394_bayer16_RGBX_NearestNeighbor(
const uint16_t *bayer, uint16_t *rgbx,
int sx,
int sy,
int tile);
QFuture< void > filter(QThreadPool *pool, Sequence &sequence, KeepFunctor &&filterFunction)
A struct containing a list of color codings.
A struct containing a list of video modes.