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

Caller-owned handle binding one source backend and its context. More...

#include <ra8_camera.h>

Collaboration diagram for ra8_camera_source_t:

Data Fields

const ra8_camera_source_iface_tiface
 Bound source vtable (private).
void * ctx
 Caller-owned backend context.

Detailed Description

Caller-owned handle binding one source backend and its context.

Zero-initialise, then pass to a source backend's _init() helper. Treat both fields as private and dispatch only through this facade.

Invariant
iface is non-NULL after a successful backend init.
Since
0.1.0

Definition at line 131 of file ra8_camera.h.

Field Documentation

◆ ctx

void* ra8_camera_source_t::ctx

Caller-owned backend context.

Definition at line 133 of file ra8_camera.h.

Referenced by ra8_camera_source_capture(), ra8_camera_source_get_info(), and ra8_camera_source_memory_init().

◆ iface

const ra8_camera_source_iface_t* ra8_camera_source_t::iface

Bound source vtable (private).

Definition at line 132 of file ra8_camera.h.

Referenced by internal_source_validate(), ra8_camera_source_capture(), ra8_camera_source_get_info(), and ra8_camera_source_memory_init().


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