|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
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. | |
Video public APIs.
#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
| mem | Pointer to the external memory |
| sz | Size of the external memory |
| idx | Returned index of the imported video buffer in the video buffer pool |
| 0 | on success or a negative errno code on failure. |