53 if (input ==
nullptr) {
56 if (out_frame ==
nullptr) {
73 if (codec ==
nullptr) {
Annotation-attribute framework macros for ra8-firmware.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
struct ra8_camera_codec_iface ra8_camera_codec_iface_t
Opaque codec vtable; concrete codec backends define its rows.
@ k_ra8_camera_format_jpeg
Complete encoded JPEG byte stream.
static ra8_err_t internal_passthrough_encode(void *ctx, const ra8_camera_frame_t *input, const ra8_camera_buffer_t *output_buffer, ra8_camera_frame_t *out_frame)
Return a JPEG input view unchanged.
ra8_err_t ra8_camera_codec_passthrough_init(ra8_camera_codec_t *codec)
Bind the zero-copy JPEG passthrough codec.
static const ra8_camera_codec_iface_t s_passthrough_codec_iface
Stateless passthrough codec vtable.
Zero-copy JPEG passthrough codec backend.
Private source and codec vtables for ra8_camera backends.
Error Code Definitions for ra8-firmware.
@ k_ra8_err_not_supported
Requested feature not compiled in, not wired, or not supported by this MCU variant.
@ k_ra8_ok
Success – operation completed with all postconditions satisfied.
@ k_ra8_err_null_ptr
Pointer was NULL where a valid pointer was required.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Caller-owned writable byte-buffer description.
Caller-owned handle binding one image codec and its context.
void * ctx
Caller-owned backend context.
const ra8_camera_codec_iface_t * iface
Bound codec vtable (private).
Immutable view of one captured or encoded image.
ra8_camera_format_t format
Pixel or compressed-image layout.