|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
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. | |
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.
Definition at line 43 of file ra8_camera_codec_jpeg_sw.h.
| 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().
| 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().
| 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().
| 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().
| 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().