CamCap  v0.0.1-2379
C++ camera capture library and tool
CamCap_defines.h File Reference

Internal definitions and macros that are used in the CamCap source code. More...

#include <cstring>
#include <libv4l2.h>
Include dependency graph for CamCap_defines.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Internal definitions and macros that are used in the CamCap source code.

Macro Definition Documentation

◆ ZERO

◆ V4L2_CAP_SDR_CAPTURE

#define V4L2_CAP_SDR_CAPTURE   0x00100000

The device supports the SDR Capture interface.

Referenced by CC::Device::get_capability_flags().

◆ V4L2_CAP_EXT_PIX_FORMAT

#define V4L2_CAP_EXT_PIX_FORMAT   0x00200000

The device supports the struct v4l2_pix_format extended fields.

Referenced by CC::Device::get_capability_flags().

◆ V4L2_CAP_SDR_OUTPUT

#define V4L2_CAP_SDR_OUTPUT   0x00400000

The device supports the SDR Output interface.

Referenced by CC::Device::get_capability_flags().

◆ V4L2_CAP_TOUCH

#define V4L2_CAP_TOUCH   0x10000000

This is a touch device.

Referenced by CC::Device::get_capability_flags().

◆ V4L2_PIX_FMT_PRIV_MAGIC

#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().

◆ V4L2_COLORSPACE_DEFAULT

#define V4L2_COLORSPACE_DEFAULT   0

The default colorspace.

Referenced by CC::Device::describe().

◆ V4L2_COLORSPACE_RAW

#define V4L2_COLORSPACE_RAW   11

Raw colorspace: for RAW unprocessed images.

Referenced by CC::Device::describe().