#include <Capture.h>
Data Fields | |
int | fd |
int | ctrlFd |
int | inputs |
int | standards |
int | formats |
unsigned long | source_width |
unsigned long | source_height |
unsigned long | output_width |
unsigned long | output_height |
unsigned int | output_pixfmt |
eIOType | ioType |
float | fFrameRate |
BOOL | CroppingActive |
int | CroppingTop |
int | CroppingLeft |
int | CroppingWidth |
int | CroppingHeight |
int | capture_count |
int | timestamp |
int | livestream |
int | delay |
v4l2_capability | caps |
v4l2_input * | pInputs |
v4l2_std_id | standard |
v4l2_standard * | pStandards |
v4l2_fmtdesc * | pFormats |
v4l2_format | src_fmt |
v4l2_format | fmt |
v4l2_streamparm | StrmParm |
v4l2_requestbuffers | req |
unsigned int | buffers |
sBuffer | pBuffers [NUM_STREAMING_BUFFERS] |
pthread_t | CaptureThread |
unsigned int _sCapture::buffers |
struct v4l2_capability _sCapture::caps |
The video4linux capabilities structure.
The number of frames to capture. <0 = infinite
pthread_t _sCapture::CaptureThread |
Capture thread handle.
The cropping rectangle is active
The cropping height for the capture
The y origin for the capture (cropping)
The x origin for the capture (cropping)
The cropping width for the capture
File descriptor for the control device.
int _sCapture::delay |
Delay in ms between dequeued frames
int _sCapture::fd |
File descriptor for the video4linux device.
float _sCapture::fFrameRate |
The desired capture frame rate (in Hz, 2 dp.).
struct v4l2_format _sCapture::fmt |
Output buffer video4linux format structure.
the number of enumerated formats on the device.
the number of enumerated inputs on the device.
The IO capture method, read or mmap.
liveStream is enabled(1) or disabled(0)
unsigned long _sCapture::output_height |
The output buffer height.
unsigned int _sCapture::output_pixfmt |
The output buffer pixel format (chroma).
unsigned long _sCapture::output_width |
The output buffer width.
sBuffer _sCapture::pBuffers[NUM_STREAMING_BUFFERS] |
struct v4l2_fmtdesc* _sCapture::pFormats |
Dynamically allocated video4linux format description structures.
struct v4l2_input* _sCapture::pInputs |
Dynamically allocated video4linux input structures.
struct v4l2_standard* _sCapture::pStandards |
Dynamically allocated video4linux standard structures.
struct v4l2_requestbuffers _sCapture::req |
unsigned long _sCapture::source_height |
The input source height.
unsigned long _sCapture::source_width |
The input source width.
struct v4l2_format _sCapture::src_fmt |
Input source video4linux format structure.
v4l2_std_id _sCapture::standard |
Currently selected video4linux standard.
the number of enumerated video standards on the device.
struct v4l2_streamparm _sCapture::StrmParm |
Streaming parameters, includes time per frame interval in seconds
Output of timestamp information is enabled(1) or disabled(0)