Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Video buffer structure. More...
#include <video.h>
Data Fields | |
void * | driver_data |
pointer to driver specific data. | |
uint8_t * | buffer |
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. | |
Video buffer structure.
Represent a video frame.
uint8_t* video_buffer::buffer |
pointer to the start of the buffer.
uint32_t video_buffer::bytesused |
number of bytes occupied by the valid data in the buffer.
void* video_buffer::driver_data |
pointer to driver specific data.
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.
uint32_t video_buffer::size |
size of the buffer in bytes.
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.