Transport-neutral camera source and image-codec facade.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Caller-owned writable byte-buffer description.
Operation every codec backend supplies.
ra8_err_t(* encode)(void *ctx, const ra8_camera_frame_t *input, const ra8_camera_buffer_t *output_buffer, ra8_camera_frame_t *out_frame)
Produce one encoded frame.
Immutable view of one captured or encoded image.
Operations every source backend supplies.
ra8_err_t(* capture)(void *ctx, const ra8_camera_buffer_t *buffer, ra8_camera_frame_t *out_frame)
Capture one frame.
ra8_err_t(* get_info)(void *ctx, ra8_camera_source_info_t *out_info)
Query geometry.
Native geometry and worst-case storage required by a source.