Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Video format capabilities. More...
#include <video.h>
Data Fields | |
const struct video_format_cap * | format_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. | |
Video format capabilities.
Used to describe video endpoint capabilities.
const struct video_format_cap* video_caps::format_caps |
list of video format capabilities (zero terminated).
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.
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
uint8_t video_caps::min_vbuf_count |
minimal count of video buffers to enqueue before being able to start the stream.