AJA NTV2 SDK  18.0.0.2717
NTV2 SDK 18.0.0.2717
v4l2_loopback_config Struct Reference

#include <v4l2loopback.h>

Public Attributes

int output_nr
 
int unused
 
char card_label [32]
 
unsigned int min_width
 
unsigned int max_width
 
unsigned int min_height
 
unsigned int max_height
 
int max_buffers
 
int max_openers
 
int debug
 
int announce_all_caps
 

Detailed Description

Definition at line 19 of file v4l2loopback.h.

Member Data Documentation

◆ announce_all_caps

int v4l2_loopback_config::announce_all_caps
whether to announce OUTPUT/CAPTURE capabilities exclusively
for this device or not
(!exclusive_caps)

NOTE: this is going to be removed once separate output/capture devices are implemented

Definition at line 77 of file v4l2loopback.h.

◆ card_label

char v4l2_loopback_config::card_label[32]

a nice name for your device if (*card_label)==0, an automatic name is assigned

Definition at line 42 of file v4l2loopback.h.

◆ debug

int v4l2_loopback_config::debug

set the debugging level for this device

Definition at line 68 of file v4l2loopback.h.

◆ max_buffers

int v4l2_loopback_config::max_buffers

number of buffers to allocate for the queue if set to <=0, default values are used

Definition at line 57 of file v4l2loopback.h.

◆ max_height

unsigned int v4l2_loopback_config::max_height

Definition at line 51 of file v4l2loopback.h.

◆ max_openers

int v4l2_loopback_config::max_openers

how many consumers are allowed to open this device concurrently if set to <=0, default values are used

Definition at line 63 of file v4l2loopback.h.

◆ max_width

unsigned int v4l2_loopback_config::max_width

Definition at line 49 of file v4l2loopback.h.

◆ min_height

unsigned int v4l2_loopback_config::min_height

Definition at line 50 of file v4l2loopback.h.

◆ min_width

unsigned int v4l2_loopback_config::min_width

allowed frame size if too low, default values are used

Definition at line 48 of file v4l2loopback.h.

◆ output_nr

int v4l2_loopback_config::output_nr
the device-number (/dev/video<nr>)
V4L2LOOPBACK_CTL_ADD:
setting this to a value<0, will allocate an available one
if nr>=0 and the device already exists, the ioctl will EEXIST
if output_nr and capture_nr are the same, only a single device will be created

NOTE: currently split-devices (where output_nr and capture_nr differ) are not implemented yet. until then, requesting different device-IDs will result in EINVAL.

V4L2LOOPBACK_CTL_QUERY: either both output_nr and capture_nr must refer to the same loopback, or one (and only one) of them must be -1

Definition at line 35 of file v4l2loopback.h.

◆ unused

int v4l2_loopback_config::unused

Definition at line 36 of file v4l2loopback.h.


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