Internal definitions and macros that are used in the CamCap source code. More...
#include <cstring>
#include <libv4l2.h>
Macros | |
#define | ZERO(x) std::memset( &x, '\0', sizeof x) |
Zero out the given structure. More... | |
#define | V4L2_CAP_SDR_CAPTURE 0x00100000 |
The device supports the SDR Capture interface. More... | |
#define | V4L2_CAP_EXT_PIX_FORMAT 0x00200000 |
The device supports the struct v4l2_pix_format extended fields. More... | |
#define | V4L2_CAP_SDR_OUTPUT 0x00400000 |
The device supports the SDR Output interface. More... | |
#define | V4L2_CAP_TOUCH 0x10000000 |
This is a touch device. More... | |
#define | V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe |
Indicates whether the remaining fields of the struct v4l2_pix_format are valid. More... | |
#define | V4L2_COLORSPACE_DEFAULT 0 |
The default colorspace. More... | |
#define | V4L2_COLORSPACE_RAW 11 |
Raw colorspace: for RAW unprocessed images. More... | |
Internal definitions and macros that are used in the CamCap source code.
#define ZERO | ( | x | ) | std::memset( &x, '\0', sizeof x) |
Zero out the given structure.
Referenced by CC::BufferDetail::BufferDetail(), CC::Device::capture_using_mmap_buffers(), CC::Device::capture_using_read(), CC::CaptureAndBuffer::CaptureAndBuffer(), CC::Device::get_all_controls(), CC::Device::get_control(), CC::Device::get_dimensions(), CC::Device::initialize(), CC::Device::release_memory_mapped_buffers(), CC::Device::request_memory_mapped_buffers(), CC::Device::reset(), CC::Device::set_control(), and CC::Device::set_format().
#define V4L2_CAP_SDR_CAPTURE 0x00100000 |
The device supports the SDR Capture interface.
Referenced by CC::Device::get_capability_flags().
#define V4L2_CAP_EXT_PIX_FORMAT 0x00200000 |
The device supports the struct v4l2_pix_format extended fields.
Referenced by CC::Device::get_capability_flags().
#define V4L2_CAP_SDR_OUTPUT 0x00400000 |
The device supports the SDR Output interface.
Referenced by CC::Device::get_capability_flags().
#define V4L2_CAP_TOUCH 0x10000000 |
This is a touch device.
Referenced by CC::Device::get_capability_flags().
#define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe |
Indicates whether the remaining fields of the struct v4l2_pix_format are valid.
Referenced by CC::Device::set_format().
#define V4L2_COLORSPACE_DEFAULT 0 |
The default colorspace.
Referenced by CC::Device::describe().
#define V4L2_COLORSPACE_RAW 11 |
Raw colorspace: for RAW unprocessed images.
Referenced by CC::Device::describe().