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

Native geometry and worst-case storage required by a source. More...

#include <ra8_camera.h>

Data Fields

uint32_t frame_bytes_max
 Required capture-buffer capacity.
uint32_t stride_bytes
 Native row stride, or zero/JPEG.
uint16_t width
 Native width in pixels.
uint16_t height
 Native height in pixels.
ra8_camera_format_t format
 Native output format.

Detailed Description

Native geometry and worst-case storage required by a source.

Query this before allocating a capture buffer. frame_bytes_max is a hard bound: a successful capture never reports more bytes.

Invariant
Width, height, stride, and frame_bytes_max are non-zero.
Since
0.1.0

Definition at line 114 of file ra8_camera.h.

Field Documentation

◆ format

ra8_camera_format_t ra8_camera_source_info_t::format

Native output format.

Definition at line 119 of file ra8_camera.h.

Referenced by internal_ceu_capture(), and internal_ceu_cfg_valid().

◆ frame_bytes_max

uint32_t ra8_camera_source_info_t::frame_bytes_max

Required capture-buffer capacity.

Definition at line 115 of file ra8_camera.h.

Referenced by internal_ceu_capture(), internal_ceu_cfg_valid(), and internal_ceu_frame_bytes().

◆ height

uint16_t ra8_camera_source_info_t::height

Native height in pixels.

Definition at line 118 of file ra8_camera.h.

Referenced by internal_ceu_capture(), and internal_ceu_cfg_valid().

◆ stride_bytes

uint32_t ra8_camera_source_info_t::stride_bytes

Native row stride, or zero/JPEG.

Definition at line 116 of file ra8_camera.h.

Referenced by internal_ceu_capture(), and internal_ceu_cfg_valid().

◆ width

uint16_t ra8_camera_source_info_t::width

Native width in pixels.

Definition at line 117 of file ra8_camera.h.

Referenced by internal_ceu_capture(), and internal_ceu_cfg_valid().


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