Developer World
Spresense SDK Library v3.2.0-ebc0364
v4l2_buffer Struct Reference

Parameter of ioctl(VIDIOC_QBUF) and ioctl(VIDIOC_DQBUF).
Currently, support only index, type, bytesused, memory, m.userptr, and length. More...

#include <video.h>

Collaboration diagram for v4l2_buffer:

Public Attributes

uint16_t index
 
uint16_t type
 
uint32_t bytesused
 
uint16_t flags
 
uint16_t field
 
struct timeval timestamp
 
struct v4l2_timecode timecode
 
uint16_t sequence
 
uint16_t memory
 
union {
   uint32_t   offset
 
   unsigned long   userptr
 
   struct v4l2_plane *   planes
 
   int   fd
 
m
 
uint32_t length
 

Detailed Description

Parameter of ioctl(VIDIOC_QBUF) and ioctl(VIDIOC_DQBUF).
Currently, support only index, type, bytesused, memory, m.userptr, and length.

Member Data Documentation

◆ index

uint16_t index

Buffer id

◆ type

uint16_t type

◆ bytesused

uint32_t bytesused

Driver sets the image size

◆ flags

uint16_t flags

Buffer flags.

◆ field

uint16_t field

The field order of the image

◆ timestamp

struct timeval timestamp

Frame timestamp

◆ timecode

struct v4l2_timecode timecode

Frame timecode

◆ sequence

uint16_t sequence

Frame sequence number

◆ memory

uint16_t memory

◆ userptr

unsigned long userptr

Address of buffer

◆ length

uint32_t length

User set the buffer size


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