Skip to main content

CameraInputOptions Struct

Options for CameraInput, a live libcamera/MIPI source. More...

Declaration

struct simaai::neat::CameraInputOptions { ... }

Included Headers

#include <CameraInput.h>

Public Member Attributes Index

std::optional< std::string >camera_name
std::uint32_twidth = 1920
std::uint32_theight = 1080
std::uint32_tframerate_num = 30
std::uint32_tframerate_den = 1
std::stringformat = "NV12"
std::stringbuffer_name = "camera"
boolinsert_queue = true
boolleaky_queue = true
std::uint32_tqueue_depth = 2
boolallow_cpu_fallback = false

Description

Options for CameraInput, a live libcamera/MIPI source.

The public contract is deliberately camera/frame oriented. When fallback is enabled, Neat inserts a private adaptive camera memory bridge: EV74 SiMaAI buffers pass through; OS/libcamera buffers are copied into pooled EV74 SiMaAI memory and stamped with GstSimaMeta. Users do not expose an OsToSima node.

Definition at line 27 of file CameraInput.h.

Public Member Attributes

allow_cpu_fallback

bool simaai::neat::CameraInputOptions::allow_cpu_fallback = false

Definition at line 50 of file CameraInput.h.

buffer_name

std::string simaai::neat::CameraInputOptions::buffer_name = "camera"

Definition at line 39 of file CameraInput.h.

camera_name

std::optional<std::string> simaai::neat::CameraInputOptions::camera_name

Definition at line 30 of file CameraInput.h.

format

std::string simaai::neat::CameraInputOptions::format = "NV12"

Definition at line 36 of file CameraInput.h.

framerate_den

std::uint32_t simaai::neat::CameraInputOptions::framerate_den = 1

Definition at line 35 of file CameraInput.h.

framerate_num

std::uint32_t simaai::neat::CameraInputOptions::framerate_num = 30

Definition at line 34 of file CameraInput.h.

height

std::uint32_t simaai::neat::CameraInputOptions::height = 1080

Definition at line 33 of file CameraInput.h.

insert_queue

bool simaai::neat::CameraInputOptions::insert_queue = true

Definition at line 42 of file CameraInput.h.

leaky_queue

bool simaai::neat::CameraInputOptions::leaky_queue = true

Definition at line 43 of file CameraInput.h.

queue_depth

std::uint32_t simaai::neat::CameraInputOptions::queue_depth = 2

Definition at line 44 of file CameraInput.h.

width

std::uint32_t simaai::neat::CameraInputOptions::width = 1920

Definition at line 32 of file CameraInput.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.