8 #ifndef NTV2DEVICESCANNER_H 9 #define NTV2DEVICESCANNER_H 222 static bool GetDeviceAtIndex (
const ULWord inDeviceIndexNumber,
CNTV2Card & outDevice);
239 static bool GetFirstDeviceWithName (
const std::string & inNameSubString,
CNTV2Card & outDevice);
249 static bool GetVirtualDeviceWithName (
const std::string & inNameString,
CNTV2Card & outDevice,
const bool inRescan =
true);
258 static bool GetFirstDeviceWithSerial (
const std::string & inSerialStr,
CNTV2Card & outDevice);
267 static bool GetDeviceWithSerial (
const std::string & inSerialNumber,
CNTV2Card & outDevice);
281 static bool GetFirstDeviceFromArgument (
const std::string & inArgument,
CNTV2Card & outDevice);
283 static size_t GetNumDevices (
void);
289 static std::string GetDeviceRefName (
CNTV2Card & inDevice);
295 static bool IsLegalSerialNumber (
const std::string & inStr);
297 #if !defined(NTV2_DEPRECATE_17_1) 298 static NTV2_DEPRECATED_17_1(
bool IsLegalDecimalNumber (
const std::string & inStr,
const size_t maxLen = 2));
304 #endif // !defined(NTV2_DEPRECATE_17_1) 305 #if !defined(NTV2_DEPRECATE_17_5) 307 #endif // !defined(NTV2_DEPRECATE_17_5) 312 #if !defined(NTV2_DEPRECATE_16_3) 314 #endif // !defined(NTV2_DEPRECATE_16_3) 317 static void ScanHardware (
void);
318 #if !defined(NTV2_DEPRECATE_17_1) 320 #endif // !defined(NTV2_DEPRECATE_17_1) 321 static bool DeviceIDPresent (
const NTV2DeviceID inDeviceID,
const bool inRescan =
false);
322 static bool GetDeviceInfo (
const ULWord inDeviceIndexNumber,
NTV2DeviceInfo & outDeviceInfo,
const bool inRescan =
false);
336 #endif // NTV2DEVICESCANNER_H bool programmableCSCSupport
Programmable color space converter?
NTV2DeviceInfoList GetDeviceInfoList(void)
bool ipSupport
Supports IP IO?
UWord numAnalogAudioInputChannels
Total number of analog audio input channels.
UWord numAnalogAudioOutputChannels
Total number of analog audio output channels.
This class is used to enumerate AJA devices that are attached and known to the local host computer...
I interrogate and control an AJA video/audio capture/playout device.
UWord numOutputConverters
Total number of output converters.
UWord numAnlgVidInputs
Total number of analog video inputs.
NTV2AudioPhysicalFormatList::const_iterator NTV2AudioPhysicalFormatListConstIter
bool ltcInOnRefPort
Supports LTC on reference input?
NTV2AudioPhysicalFormatList::iterator NTV2AudioPhysicalFormatListIter
#define NTV2_DEPRECATED_17_1(__f__)
NTV2DeviceInfoList::iterator NTV2DeviceInfoListIter
AudioChannelsPerFrameEnum
UWord numVidOutputs
Total number of video outputs – analog, digital, whatever.
NTV2AudioBitsPerSampleList::iterator NTV2AudioBitsPerSampleListIter
UWord numEmbeddedAudioInputChannels
Total number of embedded (SDI) audio input channels.
bool has2KSupport
Supports 2K formats?
Declares common audio macros and structs used in the SDK.
UWord numHDMIAudioInputChannels
Total number of HDMI audio input channels.
ULWord pciSlot
PCI slot (if applicable and/or known)
NTV2AudioSampleRateList audioSampleRateList
My supported audio sample rates.
NTV2AudioSourceList audioInSourceList
My supported audio input sources (AES, ADAT, etc.)
UWord numAnlgVidOutputs
Total number of analog video outputs.
UWord numDMAEngines
Total number of DMA engines.
bool ltcOutSupport
Supports LTC output?
bool proResSupport
Supports ProRes?
bool breakoutBoxSupport
Can support a breakout box?
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
std::vector< AudioBitsPerSampleEnum > NTV2AudioBitsPerSampleList
UWord numHDMIVidOutputs
Total number of HDMI outputs.
bool ltcInSupport
Accepts LTC input?
NTV2AudioChannelsPerFrameList::const_iterator NTV2AudioChannelsPerFrameListConstIter
NTV2AudioBitsPerSampleList::const_iterator NTV2AudioBitsPerSampleListConstIter
bool has4KSupport
Supports 4K formats?
std::string serialNumber
Unique device serial number (new in SDK 17.5)
std::vector< NTV2DeviceInfo > NTV2DeviceInfoList
I am an ordered list of NTV2DeviceInfo structs.
NTV2AudioChannelsPerFrameList::iterator NTV2AudioChannelsPerFrameListIter
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
bool has8KSupport
Supports 8K formats?
bool sdi12GSupport
Supports 12G?
UWord numUpConverters
Total number of up-converters.
NTV2DeviceInfoList::const_iterator NTV2DeviceInfoListConstIter
bool colorCorrectionSupport
Supports color correction?
static void SortDeviceInfoList(void)
UWord numAESAudioInputChannels
Total number of AES audio input channels.
bool biDirectionalSDI
Supports Bi-directional SDI.
std::vector< AudioChannelsPerFrameEnum > NTV2AudioChannelsPerFrameList
ULWord deviceIndex
Device index number – this will be phased out someday.
UWord numHDMIVidInputs
Total number of HDMI inputs.
std::vector< AudioSampleRateEnum > NTV2AudioSampleRateList
UWord numVidInputs
Total number of video inputs – analog, digital, whatever.
bool operator==(const NTV2DeviceInfo &rhs) const
UWord numDownConverters
Total number of down-converters.
uint64_t deviceSerialNumber
Unique device serial number (obsolete)
NTV2AudioChannelsPerFrameList audioNumChannelsList
My supported number of audio channels per frame.
struct NTV2DeviceInfo NTV2DeviceInfo
UWord numSerialPorts
Total number of serial ports.
bool quarterExpandSupport
bool stereoOutSupport
Supports stereo output?
UWord numAudioStreams
Maximum number of independent audio streams.
UWord numInputConverters
Total number of input converters.
Declares the CNTV2Card class.
bool dualLinkSupport
Supports dual-link?
NTV2AudioSampleRateList::const_iterator NTV2AudioSampleRateListConstIter
#define NTV2_DEPRECATED_17_5(__f__)
UWord numEmbeddedAudioOutputChannels
Total number of embedded (SDI) audio output channels.
bool stereoInSupport
Supports stereo input?
bool rgbAlphaOutputSupport
Supports RGB alpha channel?
static void ScanHardware(const UWord inMask)
UWord numHDMIAudioOutputChannels
Total number of HDMI audio output channels.
NTV2AudioBitsPerSampleList audioBitsPerSampleList
My supported audio bits-per-sample.
NTV2DeviceID deviceID
Device ID/species (e.g., DEVICE_ID_KONA3G, DEVICE_ID_IOXT, etc.)
std::vector< NTV2AudioPhysicalFormat > NTV2AudioPhysicalFormatList
I am an ordered list of NTV2AudioPhysicalFormat structs.
std::vector< AudioSourceEnum > NTV2AudioSourceList
NTV2AudioSampleRateList::iterator NTV2AudioSampleRateListIter
bool has3GLevelConversion
Supports 3G Level Conversion?
bool multiFormat
Supports multiple video formats?
NTV2AudioSourceList::const_iterator NTV2AudioSourceListConstIter
NTV2AudioSourceList::iterator NTV2AudioSourceListIter
NTV2AudioSourceList audioOutSourceList
My supported audio output destinations (AES, etc.)
bool operator!=(const NTV2DeviceInfo &rhs) const
UWord numAESAudioOutputChannels
Total number of AES audio output channels.
std::ostream & operator<<(std::ostream &inOutStr, const NTV2AudioSampleRateList &inList)
Streams the NTV2AudioSampleRateList to the given output stream in a human-readable format...
bool sdi3GSupport
Supports 3G?
std::string deviceIdentifier
Device name as seen in Control Panel, Watcher, Cables, etc.