|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Zero-copy JPEG passthrough codec backend. More...
Go to the source code of this file.
Functions | |
| ra8_err_t | ra8_camera_codec_passthrough_init (ra8_camera_codec_t *codec) |
| Bind the zero-copy JPEG passthrough codec. | |
Zero-copy JPEG passthrough codec backend.
A source which already produces complete JPEG frames should not be decoded and re-encoded. This codec validates that the input format is JPEG and returns an exact view of the same bytes without using output storage.
Definition in file ra8_camera_codec_passthrough.h.
|
nodiscard |
Bind the zero-copy JPEG passthrough codec.
| [out] | codec | Caller-owned codec handle to bind. |
| k_ra8_ok | Codec bound. |
| k_ra8_err_null_ptr | codec was NULL. |
Definition at line 71 of file ra8_camera_codec_passthrough.c.
References ra8_camera_codec_t::ctx, ra8_camera_codec_t::iface, k_ra8_err_null_ptr, k_ra8_ok, and s_passthrough_codec_iface.
Referenced by internal_bring_up_capture_pipeline().