Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Video APIs

Video public APIs. More...

Functions

int video_import_buffer (uint8_t *mem, size_t sz, uint16_t *idx)
 Import an external memory to the video buffer pool.

Detailed Description

Video public APIs.

Since
4.4
Version
0.1.0

Function Documentation

◆ video_import_buffer()

int video_import_buffer ( uint8_t * mem,
size_t sz,
uint16_t * idx )

#include <zephyr/video/video.h>

Import an external memory to the video buffer pool.

Import an externally allocated memory as a video_buffer in the video buffer pool

Parameters
memPointer to the external memory
szSize of the external memory
idxReturned index of the imported video buffer in the video buffer pool
Return values
0on success or a negative errno code on failure.