Transport-neutral camera source and image-codec facade.
ra8_err_t ra8_camera_codec_jpeg_sw_init(ra8_camera_codec_t *codec, ra8_camera_codec_jpeg_sw_state_t *state, const ra8_camera_codec_jpeg_sw_cfg_t *cfg)
Bind the software baseline-JPEG encoder backend.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Configuration and caller-owned RGB workspace for software JPEG.
uint16_t output_width
Encoded image width.
uint32_t rgb_workspace_capacity
Writable workspace bytes.
uint8_t quality
JPEG quality passed to the encoder.
uint16_t output_height
Encoded image height.
uint8_t * rgb_workspace
Caller-owned packed RGB workspace.
Caller-owned private state for the software JPEG backend.
ra8_camera_codec_jpeg_sw_cfg_t cfg
Validated configuration (private).
Caller-owned handle binding one image codec and its context.