Перейти до основного вмісту

UsbCameraInputOptions Struct

Options for UsbCameraInput, with CameraInputOptions' field names and defaults. More...

Declaration​

struct simaai::neat::UsbCameraInputOptions { ... }

Included Headers​

#include <UsbCameraInput.h>

Public Member Attributes Index​

std::stringcamera_name
std::uint32_twidth = 1920
std::uint32_theight = 1080
std::uint32_tframerate_num = 30
std::uint32_tframerate_den = 1
std::stringbuffer_name = "camera"
boolinsert_queue = true
boolleaky_queue = true
std::uint32_tqueue_depth = 2

Description​

Options for UsbCameraInput, with CameraInputOptions' field names and defaults.

camera_name is required here, and there is no format: the node outputs the camera's JPEG frames, and usb_camera_info() says which layout they decode to.

Definition at line 27 of file UsbCameraInput.h.

Public Member Attributes​

buffer_name​

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

Definition at line 38 of file UsbCameraInput.h.

camera_name​

std::string simaai::neat::UsbCameraInputOptions::camera_name

Definition at line 29 of file UsbCameraInput.h.

framerate_den​

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

Definition at line 35 of file UsbCameraInput.h.

framerate_num​

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

Definition at line 34 of file UsbCameraInput.h.

height​

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

Definition at line 33 of file UsbCameraInput.h.

insert_queue​

bool simaai::neat::UsbCameraInputOptions::insert_queue = true

Definition at line 41 of file UsbCameraInput.h.

leaky_queue​

bool simaai::neat::UsbCameraInputOptions::leaky_queue = true

Definition at line 42 of file UsbCameraInput.h.

queue_depth​

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

Definition at line 43 of file UsbCameraInput.h.

width​

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

Definition at line 32 of file UsbCameraInput.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.