26typedef enum : uint32_t {
cam_image_size_t
Captured VGA geometry and RGB888 buffer contract.
@ k_cam_uyvy_frame_bytes
640 x 480 x 2-byte packed UYVY input.
@ k_cam_image_height_px
Unrotated and 180-degree height.
@ k_cam_image_width_px
Unrotated and 180-degree width.
@ k_cam_rgb_frame_bytes
640 x 480 x 3 bytes.
@ k_cam_rgb_bytes_per_px
RGB888 bytes per output pixel.
ra8_err_t cam_image_generate(const uint8_t *uyvy, uint32_t source_bytes)
Convert one packed Cb-Y0-Cr-Y1 VGA frame into all four RGB views.
const uint32_t g_cam_rgb_frame_bytes
Stable byte count of each exported RGB888 buffer.
uint8_t g_cam_rgb_180[k_cam_rgb_frame_bytes]
Clockwise-180-degree 640x480 RGB888 image in external SDRAM.
uint8_t g_cam_rgb_90[k_cam_rgb_frame_bytes]
Clockwise-90-degree 480x640 RGB888 image in external SDRAM.
uint8_t g_cam_rgb_0[k_cam_rgb_frame_bytes]
Unrotated 640x480 RGB888 image in external SDRAM.
uint8_t g_cam_rgb_270[k_cam_rgb_frame_bytes]
Clockwise-270-degree 480x640 RGB888 image in external SDRAM.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.