ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_camera_codec_jpeg_sw_cfg_t Struct Reference

Configuration and caller-owned RGB workspace for software JPEG. More...

#include <ra8_camera_codec_jpeg_sw.h>

Data Fields

uint8_t * rgb_workspace
 Caller-owned packed RGB workspace.
uint32_t rgb_workspace_capacity
 Writable workspace bytes.
uint16_t output_width
 Encoded image width.
uint16_t output_height
 Encoded image height.
uint8_t quality
 JPEG quality passed to the encoder.

Detailed Description

Configuration and caller-owned RGB workspace for software JPEG.

rgb_workspace_capacity must cover output_width * output_height * 3 bytes. For VGA UYVY to QVGA, configure 320x240 and provide 230400 bytes.

Invariant
Output dimensions are non-zero and their RGB byte count fits uint32_t.
quality is in the inclusive range 1..100.
Since
0.1.0

Definition at line 43 of file ra8_camera_codec_jpeg_sw.h.

Field Documentation

◆ output_height

uint16_t ra8_camera_codec_jpeg_sw_cfg_t::output_height

Encoded image height.

Definition at line 47 of file ra8_camera_codec_jpeg_sw.h.

Referenced by internal_jpeg_sw_encode(), internal_jpeg_sw_prepare_rgb(), and ra8_camera_codec_jpeg_sw_init().

◆ output_width

uint16_t ra8_camera_codec_jpeg_sw_cfg_t::output_width

Encoded image width.

Definition at line 46 of file ra8_camera_codec_jpeg_sw.h.

Referenced by internal_jpeg_sw_encode(), internal_jpeg_sw_prepare_rgb(), and ra8_camera_codec_jpeg_sw_init().

◆ quality

uint8_t ra8_camera_codec_jpeg_sw_cfg_t::quality

JPEG quality passed to the encoder.

Definition at line 48 of file ra8_camera_codec_jpeg_sw.h.

Referenced by internal_jpeg_sw_encode(), and ra8_camera_codec_jpeg_sw_init().

◆ rgb_workspace

uint8_t* ra8_camera_codec_jpeg_sw_cfg_t::rgb_workspace

Caller-owned packed RGB workspace.

Definition at line 44 of file ra8_camera_codec_jpeg_sw.h.

Referenced by internal_jpeg_sw_encode(), internal_jpeg_sw_prepare_rgb(), and ra8_camera_codec_jpeg_sw_init().

◆ rgb_workspace_capacity

uint32_t ra8_camera_codec_jpeg_sw_cfg_t::rgb_workspace_capacity

Writable workspace bytes.

Definition at line 45 of file ra8_camera_codec_jpeg_sw.h.

Referenced by ra8_camera_codec_jpeg_sw_init().


The documentation for this struct was generated from the following file: