Convenience class/API for inquiring about device capabilities of physical and virtual devices. Instead of calling the old global ::NTV2DeviceCanDoXXX(mDeviceID) functions, call mCard.features().CanDoXXX(). Instead of calling ::NTV2DeviceGetNumYYY(mDeviceID), call mCard.features().GetNumYYY().
More...
#include <ntv2devicecapabilities.h>
Convenience class/API for inquiring about device capabilities of physical and virtual devices. Instead of calling the old global ::NTV2DeviceCanDoXXX(mDeviceID) functions, call mCard.features().CanDoXXX(). Instead of calling ::NTV2DeviceGetNumYYY(mDeviceID), call mCard.features().GetNumYYY().
- See also
- vidop-features
Definition at line 20 of file ntv2devicecapabilities.h.
◆ DeviceCapabilities()
◆ CanDoChannel()
bool DeviceCapabilities::CanDoChannel |
( |
const NTV2Channel |
inChannel | ) |
|
|
inline |
- Parameters
-
[in] | inChannel | Specifies the channel or FrameStore of interest. |
- Returns
- True if the device has the given FrameStore; otherwise false.
Definition at line 199 of file ntv2devicecapabilities.h.
◆ CanDoConversionMode()
- Parameters
-
[in] | inMode | Specifies the NTV2ConversionMode of interest. |
- Returns
- True if the device can perform the requested conversion; otherwise false.
Definition at line 208 of file ntv2devicecapabilities.h.
◆ CanDoDSKMode()
bool DeviceCapabilities::CanDoDSKMode |
( |
const NTV2DSKMode |
inMode | ) |
|
|
inline |
- Parameters
-
[in] | inMode | Specifies the NTV2DSKMode of interest. |
- Returns
- True if the device's Mixer/Keyer widget(s) can accommodate the requested downstream keyer mode; otherwise false.
Definition at line 217 of file ntv2devicecapabilities.h.
◆ CanDoFrameBufferFormat()
bool DeviceCapabilities::CanDoFrameBufferFormat |
( |
const NTV2PixelFormat |
inPF | ) |
|
|
inline |
- Parameters
-
[in] | inPF | Specifies the NTV2PixelFormat of interest. |
- Returns
- True if the device's FrameStore widget(s) can read or write the requested pixel format; otherwise false.
Definition at line 226 of file ntv2devicecapabilities.h.
◆ CanDoInputSource()
- Parameters
-
[in] | inSrc | Specifies the NTV2InputSource of interest. |
- Returns
- True if the device has the requested input source; otherwise false.
Definition at line 236 of file ntv2devicecapabilities.h.
◆ CanDoInputTCIndex()
bool DeviceCapabilities::CanDoInputTCIndex |
( |
const NTV2TCIndex |
inTCNdx | ) |
|
|
inline |
- Parameters
-
[in] | inTCNdx | Specifies the NTV2TimecodeIndex of interest. |
- Returns
- True if the device can read the given timecode; otherwise false.
Definition at line 323 of file ntv2devicecapabilities.h.
◆ CanDoOutputDestination()
- Parameters
-
[in] | inDest | Specifies the NTV2OutputDestination of interest. |
- Returns
- True if the device has the requested output destination connector; otherwise false.
Definition at line 245 of file ntv2devicecapabilities.h.
◆ CanDoOutputTCIndex()
bool DeviceCapabilities::CanDoOutputTCIndex |
( |
const NTV2TCIndex |
inTCNdx | ) |
|
|
inline |
- Parameters
-
[in] | inTCNdx | Specifies the NTV2TimecodeIndex of interest. |
- Returns
- True if the device can write the given timecode; otherwise false.
Definition at line 332 of file ntv2devicecapabilities.h.
◆ CanDoPixelFormat()
◆ CanDoVideoFormat()
- Parameters
-
[in] | inVF | Specifies the NTV2VideoFormat of interest. |
- Returns
- True if the device's FrameStore(s) can handle the given video format; otherwise false.
Definition at line 254 of file ntv2devicecapabilities.h.
◆ CanDoWidget() [1/2]
bool DeviceCapabilities::CanDoWidget |
( |
const NTV2WidgetID |
inWgtID | ) |
|
|
inline |
- Parameters
-
[in] | inWgtID | Specifies the NTV2WidgetID of interest. |
- Returns
- True if the device firmware implements the given widget; otherwise false.
Definition at line 263 of file ntv2devicecapabilities.h.
◆ CanDoWidget() [2/2]
- Parameters
-
[in] | inWgtType | Specifies the NTV2WidgetType. |
[in] | index0 | Specifies the widget of interest as a zero-based index. |
- Returns
- True if the device firmware implements the given widget; otherwise false.
Definition at line 521 of file ntv2card.cpp.
◆ InputTCIndexes()
- Returns
- The set of unique NTV2TimecodeIndex values that can be ingested and captured by the device.
Definition at line 300 of file ntv2devicecapabilities.h.
◆ OutputTCIndexes()
- Returns
- The set of unique NTV2TimecodeIndex values that can be output by the device.
Definition at line 311 of file ntv2devicecapabilities.h.
◆ PixelFormats()
- Returns
- The set of unique NTV2PixelFormat values supported by the device's FrameStore(s).
Definition at line 278 of file ntv2devicecapabilities.h.
◆ VideoFormats()
- Returns
- The set of unique NTV2VideoFormat values supported by the device's FrameStore(s).
Definition at line 289 of file ntv2devicecapabilities.h.
The documentation for this class was generated from the following files:
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/ajantv2/includes/ntv2devicecapabilities.h
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/ajantv2/src/ntv2card.cpp