Developer World
Spresense SDK Library v1.4.1-ee8f2dd
Collaboration diagram for Defines:

Macros

#define VIDEO_HSIZE_QVGA   (320)
 
#define VIDEO_VSIZE_QVGA   (240)
 
#define VIDEO_HSIZE_VGA   (640)
 
#define VIDEO_VSIZE_VGA   (480)
 
#define VIDEO_HSIZE_QUADVGA   (1280)
 
#define VIDEO_VSIZE_QUADVGA   (960)
 
#define VIDEO_HSIZE_HD   (1280)
 
#define VIDEO_VSIZE_HD   (720)
 
#define VIDEO_HSIZE_FULLHD   (1920)
 
#define VIDEO_VSIZE_FULLHD   (1080)
 
#define VIDEO_HSIZE_5M   (2560)
 
#define VIDEO_VSIZE_5M   (1920)
 
#define VIDEO_HSIZE_3M   (2048)
 
#define VIDEO_VSIZE_3M   (1536)
 
#define v4l2_fourcc(a, b, c, d)
 
#define v4l2_fourcc_be(a, b, c, d)   (v4l2_fourcc(a, b, c, d) | (1 << 31))
 
#define V4L2_PIX_FMT_UYVY   v4l2_fourcc('U', 'Y', 'V', 'Y')
 
#define V4L2_PIX_FMT_RGB565   v4l2_fourcc('R', 'G', 'B', 'P')
 
#define V4L2_PIX_FMT_JPEG   v4l2_fourcc('J', 'P', 'E', 'G')
 
#define V4L2_PIX_FMT_JPEG_WITH_SUBIMG   v4l2_fourcc('J', 'S', 'U', 'B')
 
#define V4L2_FMT_DSC_MAX   (32)
 
#define V4L2_CTRL_MAX_DIMS   (4)
 
#define V4L2_REQBUFS_COUNT_MAX   (256)
 
#define V4L2_BUF_FLAG_ERROR   (0x0001)
 

Detailed Description

Macro Definition Documentation

◆ VIDEO_HSIZE_QVGA

#define VIDEO_HSIZE_QVGA   (320)

QVGA horizontal size

◆ VIDEO_VSIZE_QVGA

#define VIDEO_VSIZE_QVGA   (240)

QVGA vertical size

◆ VIDEO_HSIZE_VGA

#define VIDEO_HSIZE_VGA   (640)

VGA horizontal size

◆ VIDEO_VSIZE_VGA

#define VIDEO_VSIZE_VGA   (480)

VGA vertical size

◆ VIDEO_HSIZE_QUADVGA

#define VIDEO_HSIZE_QUADVGA   (1280)

QUADVGA horizontal size

◆ VIDEO_VSIZE_QUADVGA

#define VIDEO_VSIZE_QUADVGA   (960)

QUADVGA vertical size

◆ VIDEO_HSIZE_HD

#define VIDEO_HSIZE_HD   (1280)

HD horizontal size

◆ VIDEO_VSIZE_HD

#define VIDEO_VSIZE_HD   (720)

HD vertical size

◆ VIDEO_HSIZE_FULLHD

#define VIDEO_HSIZE_FULLHD   (1920)

FULLHD horizontal size

◆ VIDEO_VSIZE_FULLHD

#define VIDEO_VSIZE_FULLHD   (1080)

FULLHD vertical size

◆ VIDEO_HSIZE_5M

#define VIDEO_HSIZE_5M   (2560)

5M horizontal size

◆ VIDEO_VSIZE_5M

#define VIDEO_VSIZE_5M   (1920)

5M vertical size

◆ VIDEO_HSIZE_3M

#define VIDEO_HSIZE_3M   (2048)

3M horizontal size

◆ VIDEO_VSIZE_3M

#define VIDEO_VSIZE_3M   (1536)

3M vertical size

◆ v4l2_fourcc

#define v4l2_fourcc (   a,
  b,
  c,
 
)
Value:
((uint32_t)(a) | ((uint32_t)(b) << 8) | \
((uint32_t)(c) << 16) | ((uint32_t)(d) << 24))

Four-character-code (FOURCC)

◆ V4L2_PIX_FMT_UYVY

#define V4L2_PIX_FMT_UYVY   v4l2_fourcc('U', 'Y', 'V', 'Y')

YUV 4:2:2

◆ V4L2_PIX_FMT_RGB565

#define V4L2_PIX_FMT_RGB565   v4l2_fourcc('R', 'G', 'B', 'P')

RGB565

◆ V4L2_PIX_FMT_JPEG

#define V4L2_PIX_FMT_JPEG   v4l2_fourcc('J', 'P', 'E', 'G')

JFIF JPEG

◆ V4L2_PIX_FMT_JPEG_WITH_SUBIMG

#define V4L2_PIX_FMT_JPEG_WITH_SUBIMG   v4l2_fourcc('J', 'S', 'U', 'B')

JPEG + sub image

◆ V4L2_FMT_DSC_MAX

#define V4L2_FMT_DSC_MAX   (32)

MAX length of v4l2_fmtdesc description string

◆ V4L2_CTRL_MAX_DIMS

#define V4L2_CTRL_MAX_DIMS   (4)

MAX length of v4l2_query_ext_ctrl dims array

◆ V4L2_REQBUFS_COUNT_MAX

#define V4L2_REQBUFS_COUNT_MAX   (256)

MAX value of VIDIOC_REQBUFS count parameter

◆ V4L2_BUF_FLAG_ERROR

#define V4L2_BUF_FLAG_ERROR   (0x0001)

Buffer error flag