Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
video_buffer Struct Reference

Video buffer structure. More...

#include <video.h>

Data Fields

enum video_buf_type type
 type of the buffer
 
void * driver_data
 pointer to driver specific data.
 
uint8_tbuffer
 pointer to the start of the buffer.
 
uint32_t size
 size of the buffer in bytes.
 
uint32_t bytesused
 number of bytes occupied by the valid data in the buffer.
 
uint32_t timestamp
 time reference in milliseconds at which the last data byte was actually received for input endpoints or to be consumed for output endpoints.
 
uint16_t line_offset
 Line offset within frame this buffer represents, from the beginning of the frame.
 

Detailed Description

Video buffer structure.

Represent a video frame.

Field Documentation

◆ buffer

uint8_t* video_buffer::buffer

pointer to the start of the buffer.

◆ bytesused

uint32_t video_buffer::bytesused

number of bytes occupied by the valid data in the buffer.

◆ driver_data

void* video_buffer::driver_data

pointer to driver specific data.

◆ line_offset

uint16_t video_buffer::line_offset

Line offset within frame this buffer represents, from the beginning of the frame.

This offset is given in pixels, so line_offset * pitch provides offset from the start of the frame in bytes.

◆ size

uint32_t video_buffer::size

size of the buffer in bytes.

◆ timestamp

uint32_t video_buffer::timestamp

time reference in milliseconds at which the last data byte was actually received for input endpoints or to be consumed for output endpoints.

◆ type

enum video_buf_type video_buffer::type

type of the buffer


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