Skip to main content

PCIeSrcOptions Struct

Construction options for a PCIeSrc Node. More...

Declaration

struct simaai::neat::PCIeSrcOptions { ... }

Included Headers

#include <PCIeSrc.h>

Public Member Attributes Index

intbuffer_size = 4194304

Size in bytes of each incoming frame buffer. More...

std::stringformat

Optional caps enforcement — when format, width, and height are all set, a capsfilter is appended to lock the negotiated format. More...

intwidth = -1

Frame width in pixels; -1 = no caps lock. More...

intheight = -1

Frame height in pixels; -1 = no caps lock. More...

intfps_n = 0

Framerate numerator (caps lock); 0 = unset. More...

intfps_d = 1

Framerate denominator (caps lock). More...

Description

Construction options for a PCIeSrc Node.

Definition at line 27 of file PCIeSrc.h.

Public Member Attributes

buffer_size

int simaai::neat::PCIeSrcOptions::buffer_size = 4194304

Size in bytes of each incoming frame buffer.

Default 4 MB matches the simaaipciesrc default.

Definition at line 30 of file PCIeSrc.h.

30 int buffer_size = 4194304;

format

std::string simaai::neat::PCIeSrcOptions::format

Optional caps enforcement — when format, width, and height are all set, a capsfilter is appended to lock the negotiated format.

Pixel format (e.g. "NV12"); empty = no caps lock.

Definition at line 34 of file PCIeSrc.h.

34 std::string format;

fps_d

int simaai::neat::PCIeSrcOptions::fps_d = 1

Framerate denominator (caps lock).

Definition at line 38 of file PCIeSrc.h.

38 int fps_d = 1;

fps_n

int simaai::neat::PCIeSrcOptions::fps_n = 0

Framerate numerator (caps lock); 0 = unset.

Definition at line 37 of file PCIeSrc.h.

37 int fps_n = 0;

height

int simaai::neat::PCIeSrcOptions::height = -1

Frame height in pixels; -1 = no caps lock.

Definition at line 36 of file PCIeSrc.h.

36 int height = -1;

width

int simaai::neat::PCIeSrcOptions::width = -1

Frame width in pixels; -1 = no caps lock.

Definition at line 35 of file PCIeSrc.h.

35 int width = -1;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.