Zephyr-specific functions.
More...
Zephyr-specific functions.
SPDX-License-Identifier: Apache-2.0
◆ mpix_image_from_vbuf()
static void mpix_image_from_vbuf |
( |
struct mpix_image * |
img, |
|
|
struct video_buffer * |
vbuf, |
|
|
struct video_format * |
vfmt |
|
) |
| |
|
inlinestatic |
Initialize an image from a zephyr video buffer.
- Parameters
-
img | Image to initialize. |
vbuf | Video buffer that contains the image data to process. |
fmt | Video format describing the buffer. |
◆ mpix_image_to_vbuf()
static int mpix_image_to_vbuf |
( |
struct mpix_image * |
img, |
|
|
struct video_buffer * |
vbuf |
|
) |
| |
|
inlinestatic |
Initialize an image from a memory buffer.
- Parameters
-
img | Image being processed. |
vbuf | Video buffer that receives the image data. |
- Returns
- 0 on success or negative error code.
◆ mpix_zephyr_set_format()
static void mpix_zephyr_set_format |
( |
struct mpix_image * |
img, |
|
|
struct video_format * |
vfmt |
|
) |
| |
|
inlinestatic |
Initialize an image with Zephyr native types.
- Parameters
-
img | Image to initialize. |
vbuf | Video buffer that contains the image data to process. |
fmt | Video format describing the buffer. |