Developer World
Spresense SDK Library v1.4.2-3df2e9d
v4l2_pix_format Struct Reference

#include <video.h>

Public Attributes

uint16_t width
 
uint16_t height
 
uint32_t pixelformat
 
uint16_t subimg_width
 
uint16_t subimg_height
 
uint32_t subimg_pixelformat
 
uint32_t field
 
uint32_t bytesperline
 
uint32_t sizeimage
 
uint32_t colorspace
 
uint32_t priv
 
uint32_t flags
 
union {
   uint32_t   ycbcr_enc
 
   uint32_t   hsv_enc
 
}; 
 
uint32_t quantization
 
uint32_t xfer_func
 

Detailed Description

Single-planar format structure.

Member Data Documentation

◆ width

uint16_t width

Image width in pixels

◆ height

uint16_t height

Image height in pixels

◆ pixelformat

uint32_t pixelformat

The pixel format or type of compression. V4L2_PIX_FMT_UYVY or V4L2_PIX_FMT_JPEG or V4L2_PIX_FMT_JPEG_WITH_SUBIMG

◆ subimg_width

uint16_t subimg_width

sub image width in pixels in case of pixelformat = V4L2_PIX_FMT_JPEG_WITH_SUBIMG

◆ subimg_height

uint16_t subimg_height

sub image height in pixels in case of pixelformat = V4L2_PIX_FMT_JPEG_WITH_SUBIMG

◆ subimg_pixelformat

uint32_t subimg_pixelformat

The pixel format of sub image in case of pixelformat = V4L2_PIX_FMT_JPEG_WITH_SUBIMG

◆ field

uint32_t field

enum v4l2_field

◆ bytesperline

uint32_t bytesperline

for padding, zero if unused

◆ sizeimage

uint32_t sizeimage

Size in bytes of the buffer to hold a complete image

◆ colorspace

uint32_t colorspace

Image colorspace

◆ priv

uint32_t priv

private data, depends on pixelformat

◆ flags

uint32_t flags

format flags (V4L2_PIX_FMT_FLAG_*)

◆ ycbcr_enc

uint32_t ycbcr_enc

enum v4l2_ycbcr_encoding

◆ hsv_enc

uint32_t hsv_enc

enum v4l2_hsv_encoding

◆ quantization

uint32_t quantization

enum v4l2_quantization

◆ xfer_func

uint32_t xfer_func

enum v4l2_xfer_func


The documentation for this struct was generated from the following file: