Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
video_caps Struct Reference

Video format capabilities. More...

#include <video.h>

Data Fields

const struct video_format_capformat_caps
 list of video format capabilities (zero terminated).
 
uint8_t min_vbuf_count
 minimal count of video buffers to enqueue before being able to start the stream.
 
int16_t min_line_count
 Denotes minimum line count of a video buffer that this endpoint can fill or process.
 
int16_t max_line_count
 Denotes maximum line count of a video buffer that this endpoint can fill or process.
 

Detailed Description

Video format capabilities.

Used to describe video endpoint capabilities.

Field Documentation

◆ format_caps

const struct video_format_cap* video_caps::format_caps

list of video format capabilities (zero terminated).

◆ max_line_count

int16_t video_caps::max_line_count

Denotes maximum line count of a video buffer that this endpoint can fill or process.

Similar constraints to min_line_count, but LINE_COUNT_HEIGHT indicates that the endpoint will never fill or process more than a full video frame in one video buffer.

◆ min_line_count

int16_t video_caps::min_line_count

Denotes minimum line count of a video buffer that this endpoint can fill or process.

Each line is expected to consume the number of bytes the selected video format's pitch uses, so the video buffer must be at least pitch * min_line_count bytes. LINE_COUNT_HEIGHT is a special value, indicating the endpoint only supports video buffers with at least enough bytes to store a full video frame

◆ min_vbuf_count

uint8_t video_caps::min_vbuf_count

minimal count of video buffers to enqueue before being able to start the stream.


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