Data Structures | |
struct | v4l2CaptureHandle |
Macros | |
#define | V4L2_CAPTURE_DEFAULT_WIDTH 1920 |
#define | V4L2_CAPTURE_DEFAULT_HEIGHT 1080 |
#define | V4L2_CAPTURE_DEFAULT_PIX_FMT V4L2_PIX_FMT_SRGGB8 |
#define | V4L2_CAPTURE_DEFAULT_DEVICE "/dev/video-imx219-cam0" |
#define | V4L2_CAPTURE_DEFAULT_BUFQ_DEPTH 4 |
#define | V4L2_CAPTURE_MAX_BUFQ_DEPTH 8 |
#define | V4L2_CAPTURE_MAX_RETRIES 10 |
#define | V4L2_CAPTURE_STREAMON_DELAY 2 |
Functions | |
void | v4l2_capture_init_cfg (v4l2CaptureCfg *cfg) |
static int | xioctl (int fh, int request, void *arg) |
int | v4l2_capture_check_caps (v4l2CaptureHandle *handle) |
int | v4l2_capture_set_fmt (v4l2CaptureHandle *handle) |
int | v4l2_capture_request_buffers (v4l2CaptureHandle *handle) |
v4l2CaptureHandle * | v4l2_capture_create_handle (v4l2CaptureCfg *cfg) |
int | v4l2_capture_start (v4l2CaptureHandle *handle) |
int | v4l2_capture_enqueue_buf (v4l2CaptureHandle *handle, Buf *tiovx_buffer) |
Buf * | v4l2_capture_dqueue_buf (v4l2CaptureHandle *handle) |
int | v4l2_capture_stop (v4l2CaptureHandle *handle) |
int | v4l2_capture_delete_handle (v4l2CaptureHandle *handle) |
#define V4L2_CAPTURE_DEFAULT_WIDTH 1920 |
#define V4L2_CAPTURE_DEFAULT_HEIGHT 1080 |
#define V4L2_CAPTURE_DEFAULT_PIX_FMT V4L2_PIX_FMT_SRGGB8 |
#define V4L2_CAPTURE_DEFAULT_DEVICE "/dev/video-imx219-cam0" |
#define V4L2_CAPTURE_DEFAULT_BUFQ_DEPTH 4 |
#define V4L2_CAPTURE_MAX_BUFQ_DEPTH 8 |
#define V4L2_CAPTURE_MAX_RETRIES 10 |
#define V4L2_CAPTURE_STREAMON_DELAY 2 |
void v4l2_capture_init_cfg | ( | v4l2CaptureCfg * | cfg | ) |
|
static |
int v4l2_capture_check_caps | ( | v4l2CaptureHandle * | handle | ) |
int v4l2_capture_set_fmt | ( | v4l2CaptureHandle * | handle | ) |
int v4l2_capture_request_buffers | ( | v4l2CaptureHandle * | handle | ) |
v4l2CaptureHandle* v4l2_capture_create_handle | ( | v4l2CaptureCfg * | cfg | ) |
int v4l2_capture_start | ( | v4l2CaptureHandle * | handle | ) |
int v4l2_capture_enqueue_buf | ( | v4l2CaptureHandle * | handle, |
Buf * | tiovx_buffer | ||
) |
Buf* v4l2_capture_dqueue_buf | ( | v4l2CaptureHandle * | handle | ) |
int v4l2_capture_stop | ( | v4l2CaptureHandle * | handle | ) |
int v4l2_capture_delete_handle | ( | v4l2CaptureHandle * | handle | ) |