11 #if defined (MSWindows) 13 #elif defined (AJAMac) 15 #elif defined (AJALinux) 17 #elif defined (AJABareMetal) 29 #
if defined (MSWindows)
31 #elif defined (AJAMac) 33 #elif defined (AJALinux) 35 #elif defined (AJABareMetal) 58 const std::string & inHostName = std::string());
93 AJA_VIRTUAL std::string GetDeviceVersionString (
void);
99 AJA_VIRTUAL std::string GetDriverVersionString (
void);
124 AJA_VIRTUAL bool GetSerialNumberString (std::string & outSerialNumberString);
141 AJA_VIRTUAL bool GetLPExternalConfigurationURLString (std::string & outURLString);
142 AJA_VIRTUAL bool GetLPTunnelConfigurationURLString (std::string & outURLString);
143 AJA_VIRTUAL int GetSFPConfigurationURLStrings(std::vector<std::string> & sfpURLStrings);
149 #if !defined(NTV2_DEPRECATE_16_3) 167 #endif // defined(NTV2_DEPRECATE_16_3) 290 const ULWord inCardOffsetBytes,
291 const ULWord inSegmentByteCount,
292 const ULWord inNumSegments,
293 const ULWord inSegmentHostPitch,
294 const ULWord inSegmentCardPitch);
312 const ULWord * pFrameBuffer,
313 const ULWord inOffsetBytes,
314 const ULWord inSegmentByteCount,
315 const ULWord inNumSegments,
316 const ULWord inSegmentHostPitch,
317 const ULWord inSegmentCardPitch);
332 ULWord segmentTargetPitch,
353 const ULWord inOffsetBytes,
354 const ULWord inByteCount);
372 const ULWord * pInAudioBuffer,
373 const ULWord inOffsetBytes,
374 const ULWord inByteCount);
494 return DMABufferUnlock(
NTV2Buffer(pInBuffer, inByteCount));
512 AJA_VIRTUAL bool DMABufferAutoLock (
const bool inEnable,
const bool inMap =
false,
const ULWord64 inMaxLockSize = 0);
526 const UWord inEndFrameNumber,
541 uint64_t & outAddress, uint64_t & outLength);
544 bool & outMultiFmt,
bool & outQuad,
bool & outQuadQuad,
bool & outSquares,
bool & outTSI,
545 uint64_t & outAddress, uint64_t & outLength);
592 #define AJA_RETAIL_DEFAULT true 593 #else // else !defined (AJAMac) 594 #define AJA_RETAIL_DEFAULT false 595 #endif // !defined (AJAMac) 705 AJA_VIRTUAL bool EnableFramePulseReference (
const bool inEnable);
714 AJA_VIRTUAL bool GetEnableFramePulseReference (
bool & outEnabled);
1082 AJA_VIRTUAL bool SetDualLinkOutputEnable (
const bool inIsEnabled);
1083 AJA_VIRTUAL bool GetDualLinkOutputEnable (
bool & outIsEnabled);
1085 AJA_VIRTUAL bool SetDualLinkInputEnable (
const bool inIsEnabled);
1086 AJA_VIRTUAL bool GetDualLinkInputEnable (
bool & outIsEnabled);
1194 #if !defined(NTV2_DEPRECATE_18_1) 1198 #if !defined(NTV2_DEPRECATE_18_0) 1201 #endif // defined(NTV2_DEPRECATE_18_0) 1202 #if !defined(NTV2_DEPRECATE_16_3) 1205 #endif // defined(NTV2_DEPRECATE_16_3) 1206 #if !defined(NTV2_DEPRECATE_16_2) 1213 #endif // !defined(NTV2_DEPRECATE_16_2) 1214 #if !defined(NTV2_DEPRECATE_16_0) 1218 #define Set425FrameEnable SetTsiFrameEnable // Replace calls to Set425FrameEnable with calls to SetTsiFrameEnable instead 1219 #define Get425FrameEnable GetTsiFrameEnable // Replace calls to Get425FrameEnable with calls to GetTsiFrameEnable instead 1220 #endif // NTV2_DEPRECATE_16_0 1237 AJA_VIRTUAL bool SetMixerVancOutputFromForeground (
const UWord inWhichMixer,
const bool inFromForegroundSource =
true);
1248 AJA_VIRTUAL bool GetMixerVancOutputFromForeground (
const UWord inWhichMixer,
bool & outIsFromForegroundSource);
1331 AJA_VIRTUAL bool GetMixerSyncStatus (
const UWord inWhichMixer,
bool & outIsSyncOK);
1340 AJA_VIRTUAL bool GetMixerFGMatteEnabled (
const UWord inWhichMixer,
bool & outIsEnabled);
1349 AJA_VIRTUAL bool SetMixerFGMatteEnabled (
const UWord inWhichMixer,
const bool inIsEnabled);
1358 AJA_VIRTUAL bool GetMixerBGMatteEnabled (
const UWord inWhichMixer,
bool & outIsEnabled);
1367 AJA_VIRTUAL bool SetMixerBGMatteEnabled (
const UWord inWhichMixer,
const bool inIsEnabled);
1393 AJA_VIRTUAL bool MixerHasRGBModeSupport (
const UWord inWhichMixer,
bool & outIsSupported);
1613 const NTV2AudioSystem inAudioSystem,
const bool inCaptureBuffer =
false);
2044 AJA_VIRTUAL bool GetSuspendHostAudio (
bool & outIsSuspended);
2054 AJA_VIRTUAL bool SetSuspendHostAudio (
const bool inSuspend);
2176 AJA_VIRTUAL bool EnableBOBAnalogAudioIn (
bool inEnable);
2196 #if !defined(NTV2_DEPRECATE_16_0) 2203 #endif // !defined(NTV2_DEPRECATE_16_0) 2204 #if !defined(NTV2_DEPRECATE_16_1) 2210 #endif // !defined(NTV2_DEPRECATE_16_1) 2211 #if !defined(NTV2_DEPRECATE_16_3) 2213 #endif // !defined(NTV2_DEPRECATE_16_3) 2214 #if !defined(NTV2_DEPRECATE_17_0) 2216 #endif // !defined(NTV2_DEPRECATE_17_0) 2217 #if !defined(NTV2_DEPRECATE_17_5) 2220 #endif // defined(NTV2_DEPRECATE_17_5) 2411 #if !defined(NTV2_DEPRECATE_16_3) 2414 #endif // !defined(NTV2_DEPRECATE_16_3) 2491 AJA_VIRTUAL bool GetRunningFirmwareDate (std::string & outDate, std::string & outTime);
2502 #if !defined(NTV2_DEPRECATE_16_0) 2508 #endif // !defined(NTV2_DEPRECATE_16_0) 2509 #if !defined(NTV2_DEPRECATE_17_0) 2520 #endif // !defined(NTV2_DEPRECATE_17_0) 2521 #if !defined(NTV2_DEPRECATE_18_1) 2526 #endif // !defined(NTV2_DEPRECATE_18_1) 3037 #if !defined (NTV2_DEPRECATE_16_0) 3040 #endif // NTV2_DEPRECATE_16_0 3098 const UWord inFrameCount = 7,
3100 const ULWord inOptionFlags = 0,
3101 const UByte inNumChannels = 1,
3102 const UWord inStartFrameNumber = 0,
3103 const UWord inEndFrameNumber = 0);
3136 const ULWord inOptionFlags = 0,
3137 const UByte inNumChannels = 1);
3181 const UWord inFrameCount = 7,
3183 const ULWord inOptionFlags = 0,
3184 const UByte inNumChannels = 1,
3185 const UWord inStartFrameNumber = 0,
3186 const UWord inEndFrameNumber = 0);
3219 const ULWord inOptionFlags = 0,
3220 const UByte inNumChannels = 1);
3455 #define NTV2_STREAM_SUCCESS(__status__) (__status__ == NTV2_STREAM_SUCCESS) 3457 #define NTV2_STREAM_FAIL(__status__) (__status__ != NTV2_STREAM_SUCCESS) 3545 #if defined(READREGMULTICHANGE) 3557 #endif // defined(READREGMULTICHANGE) 3593 AJA_VIRTUAL bool WriteVirtualData (
const ULWord inTag,
const void* inVirtualData,
const ULWord inVirtualDataSize);
3639 #if !defined(NTV2_DEPRECATE_17_2) 3721 AJA_VIRTUAL bool GetNominalMinMaxHV (
int & outNominalH,
int & outMinH,
int & outMaxH,
int & outNominalV,
int & outMinV,
int & outMaxV);
3735 AJA_VIRTUAL bool SetVideoHOffset (
const int inHOffset,
const UWord inOutputSpigot = 0);
3747 AJA_VIRTUAL bool GetVideoHOffset (
int & outHOffset,
const UWord inOutputSpigot = 0);
3760 AJA_VIRTUAL bool SetVideoVOffset (
const int inVOffset,
const UWord inOutputSpigot = 0);
3772 AJA_VIRTUAL bool GetVideoVOffset (
int & outVOffset,
const UWord inOutputSpigot = 0);
3908 AJA_VIRTUAL bool SetEnableConverter (
const bool inValue);
3909 AJA_VIRTUAL bool GetEnableConverter (
bool & outValue);
4197 #if !defined(R2_DEPRECATE) 4208 static NTV2VideoFormat GetNTV2VideoFormat (
NTV2FrameRate frameRate,
UByte inputGeometry,
bool progressiveTransport,
bool isThreeG,
bool progressivePicture=
false);
4492 #if !defined(NTV2_DEPRECATE_17_0) 4494 #endif // !defined(NTV2_DEPRECATE_17_0) 4522 AJA_VIRTUAL bool WriteSDProcAmpControlsInitialized (
const ULWord inNewValue = 1);
4530 AJA_VIRTUAL bool WriteHDProcAmpControlsInitialized (
const ULWord inNewValue = 1);
4567 #if !defined(R2_DEPRECATE) 4720 AJA_VIRTUAL bool SetHDMIOut3DPresent (
const bool inIs3DPresent);
4721 AJA_VIRTUAL bool GetHDMIOut3DPresent (
bool & outIs3DPresent);
4726 AJA_VIRTUAL bool SetHDMIV2TxBypass (
const bool inBypass);
5087 AJA_VIRTUAL bool SetHDMIOutDecimateMode (
const bool inEnable);
5089 AJA_VIRTUAL bool GetHDMIOutDecimateMode (
bool & outIsEnabled);
5096 AJA_VIRTUAL bool SetHDMIOutTsiIO (
const bool inTsiEnable);
5098 AJA_VIRTUAL bool GetHDMIOutTsiIO (
bool & tsiEnabled);
5105 AJA_VIRTUAL bool SetHDMIOutLevelBMode (
const bool inEnable);
5107 AJA_VIRTUAL bool GetHDMIOutLevelBMode (
bool & outIsEnabled);
5165 AJA_VIRTUAL bool SetLTCInputEnable (
const bool inEnable);
5177 AJA_VIRTUAL bool GetLTCInputEnable (
bool & outIsEnabled);
5189 AJA_VIRTUAL bool GetLTCInputPresent (
bool & outIsPresent,
const UWord inLTCInputNdx = 0);
5283 #if !defined(NTV2_DEPRECATE_16_3) 5288 #endif // !defined(NTV2_DEPRECATE_16_3) 5525 AJA_VIRTUAL bool GetSDIWatchdogEnable (
bool & outIsEnabled,
const UWord inIndex0);
5540 AJA_VIRTUAL bool SetSDIWatchdogEnable (
const bool inEnable,
const UWord inIndex0);
5586 AJA_VIRTUAL bool Enable4KDCRGBMode(
bool inEnable);
5588 AJA_VIRTUAL bool GetEnable4KDCRGBMode(
bool & outIsEnabled);
5596 AJA_VIRTUAL bool Enable4KDCYCC444Mode(
bool inEnable);
5598 AJA_VIRTUAL bool GetEnable4KDCYCC444Mode(
bool & outIsEnabled);
5606 AJA_VIRTUAL bool Enable4KDCPSFInMode(
bool inEnable);
5608 AJA_VIRTUAL bool GetEnable4KDCPSFInMode(
bool & outIsEnabled);
5616 AJA_VIRTUAL bool Enable4KPSFOutMode(
bool inEnable);
5618 AJA_VIRTUAL bool GetEnable4KPSFOutMode(
bool & outIsEnabled);
5639 AJA_VIRTUAL bool SetSDIInLevelBtoLevelAConversion (
const UWord inInputSpigot,
const bool inEnable);
5647 AJA_VIRTUAL bool GetSDIInLevelBtoLevelAConversion (
const UWord inInputSpigot,
bool & outIsEnabled);
5656 AJA_VIRTUAL bool SetSDIOutLevelAtoLevelBConversion (
const UWord inOutputSpigot,
const bool inEnable);
5674 AJA_VIRTUAL bool GetSDIOutLevelAtoLevelBConversion (
const UWord inOutputSpigot,
bool & outIsEnabled);
5682 AJA_VIRTUAL bool SetSDIOutRGBLevelAConversion (
const UWord inOutputSpigot,
const bool inEnable);
5700 AJA_VIRTUAL bool GetSDIOutRGBLevelAConversion (
const UWord inOutputSpigot,
bool & outIsEnabled);
5876 const bool inVancY,
const bool inVancC,
5877 const bool inHancY,
const bool inHancC);
5888 AJA_VIRTUAL bool AncInsertSetEnable (
const UWord inSDIOutput,
const bool inIsEnabled);
5897 AJA_VIRTUAL bool AncInsertIsEnabled (
const UWord inSDIOutput,
bool & outIsEnabled);
5956 AJA_VIRTUAL bool AncInsertGetReadInfo (
const UWord inSDIOutput, uint64_t & outF1StartAddr, uint64_t & outF2StartAddr);
5990 const bool inVancY,
const bool inVancC,
5991 const bool inHancY,
const bool inHancC);
6003 AJA_VIRTUAL bool AncExtractSetEnable (
const UWord inSDIInput,
const bool inIsEnabled);
6013 AJA_VIRTUAL bool AncExtractIsEnabled (
const UWord inSDIInput,
bool & outIsEnabled);
6067 uint64_t & outF1StartAddr, uint64_t & outF1EndAddr,
6068 uint64_t & outF2StartAddr, uint64_t & outF2EndAddr);
6124 AJA_VIRTUAL bool AncExtractGetBufferOverrun (
const UWord inSDIInput,
bool & outIsOverrun,
const UWord inField = 0);
6133 AJA_VIRTUAL bool AncExtractIsProgressive (
const UWord inSDIInput,
bool & outIsProgressive);
6139 static UWord AncExtractGetMaxNumFilterDIDs (
void);
6148 static NTV2DIDSet AncExtractGetDefaultDIDs (
const bool inHDAudio =
true);
6195 const bool inVauxY,
const bool inVauxC,
6196 const bool inHauxY,
const bool inHauxC);
6206 AJA_VIRTUAL bool AuxInsertSetEnable (
const UWord inHDMIOutput,
const bool inIsEnabled);
6214 AJA_VIRTUAL bool AuxInsertIsEnabled (
const UWord inHDMIOutput,
bool & outIsEnabled);
6271 AJA_VIRTUAL bool AuxInsertGetReadInfo (
const UWord inHDMIOutput, uint64_t & outF1StartAddr, uint64_t & outF2StartAddr);
6299 AJA_VIRTUAL bool AuxExtractSetEnable (
const UWord inHDMIInput,
const bool inIsEnabled);
6308 AJA_VIRTUAL bool AuxExtractIsEnabled (
const UWord inHDMIInput,
bool & outIsEnabled);
6359 uint64_t & outF1StartAddr, uint64_t & outF1EndAddr,
6360 uint64_t & outF2StartAddr, uint64_t & outF2EndAddr);
6408 AJA_VIRTUAL bool AuxExtractSetFilterInclusionMode (
const UWord inHDMIInput,
const bool inEnable);
6417 AJA_VIRTUAL bool AuxExtractGetFilterInclusionMode (
const UWord inHDMIInput,
bool & outEnabled);
6431 AJA_VIRTUAL bool AuxExtractGetBufferOverrun (
const UWord inHDMIInput,
bool & outIsOverrun,
const UWord inField = 0);
6439 AJA_VIRTUAL bool AuxExtractIsProgressive (
const UWord inHDMIInput,
bool & outIsProgressive);
6445 static UWord AuxExtractGetMaxNumPacketFilters (
void);
6451 static NTV2DIDSet AuxExtractGetDefaultPacketFilters (
void);
6481 AJA_VIRTUAL bool GetDieVoltage (
double & outVoltage);
6492 AJA_VIRTUAL std::string GetPCIFPGAVersionString (
void);
6511 AJA_VIRTUAL bool GetInstalledBitfileInfo (
ULWord & outNumBytes, std::string & outDateStr, std::string & outTimeStr);
6529 AJA_VIRTUAL bool IsFailSafeBitfileLoaded (
bool & outIsFailSafe);
6538 AJA_VIRTUAL bool CanWarmBootFPGA (
bool & outCanWarmBoot);
6567 AJA_VIRTUAL bool AddDynamicBitfile (
const std::string & inBitfilePath);
6575 AJA_VIRTUAL bool AddDynamicDirectory (
const std::string & inDirectory);
6590 } ColorCorrectionColor;
6596 #if !defined(NTV2_DEPRECATE_17_6) 6604 #endif//defined(NTV2_DEPRECATE_17_6) 6842 AJA_VIRTUAL bool SetMultiRasterBypassEnable (
const bool inEnable);
6843 AJA_VIRTUAL bool GetMultiRasterBypassEnable (
bool & outEnabled);
6847 #if !defined(NTV2_DEPRECATE_17_5) 6849 #endif // NTV2_DEPRECATE_17_5 6851 #if !defined(NTV2_DEPRECATE_16_1) 6854 #endif // NTV2_DEPRECATE_16_1 6863 AJA_VIRTUAL bool IS_HDMI_INPUT_SPIGOT_INVALID (
const UWord inInputHDMIPort);
6896 #if !defined(NTV2_DEPRECATE_17_2) 6908 #if !defined(NTV2_DEPRECATE_16_2) 6915 #endif // !defined(NTV2_DEPRECATE_16_2) 6917 #define SetTablesToHardware LoadLUTTables 6918 #define GetTablesFromHardware GetLUTTables 7060 std::ostream &
RawDump (std::ostream & oss)
const;
7067 std::ostream &
DumpBlocks (std::ostream & oss)
const;
7080 bool TagMemoryBlock (
const uint64_t inStartAddr,
const uint64_t inByteLength,
const std::string & inTag)
7086 typedef std::pair<UWord, NTV2StringSet> FrameTag;
7087 typedef std::map<UWord, NTV2StringSet> FrameTags;
7088 typedef FrameTags::const_iterator FrameTagsConstIter;
7091 FrameTags mFrameTags;
7097 #endif // NTV2CARD_H SDRAMAuditor()
My default constructor. I am not ready for use until my SDRAMAuditor::Assess method has been called...
Everything needed to call CNTV2Card::ReadRegister or CNTV2Card::WriteRegister functions.
#define NTV2_DEPRECATED_18_0(__f__)
size_t GetTagCount(const UWord inIndex) const
NTV2LutBitDepth
This specifies the LUT bit depth.
virtual bool IsSupported(const NTV2BoolParamID inParamID)
NTV2AudioSystem
Used to identify an Audio System on an NTV2 device. See Audio System Operation for more information...
bool GetBadRegions(ULWordSequence &outBlks) const
Answers with the list of colliding and illegal memory regions.
#define NTV2_DEPRECATED_17_2(__f__)
static NTV2Buffer NULL_POINTER
Used for default empty NTV2Buffer parameters – do not modify.
NTV2Crosspoint
Logically, these are an NTV2Channel combined with an NTV2Mode.
#define NTV2VANCModeFromBools(_tall_, _taller_)
std::vector< double > NTV2DoubleArray
An array of double-precision floating-point values.
NTV2AudioBufferSize
Represents the size of the audio buffer used by a device audio system for storing captured samples or...
NTV2HDMIColorSpace
Indicates or specifies HDMI Color Space.
SDRAMAuditor(CNTV2Card &inDevice)
Constructs me and automatically assesses the given device.
virtual bool ReadFlashProgramControl(ULWord &outVal)
This class is used to enumerate AJA devices that are attached and known to the local host computer...
Declares CNTV2SignalRouter class.
I interrogate and control an AJA video/audio capture/playout device.
NTV2FieldID
These values are used to identify fields for interlaced video. See Field/Frame Interrupts and CNTV2Ca...
NTV2FrameBufferFormat
Identifies a particular video frame buffer pixel format. See Device Frame Buffer Formats for details...
#define NTV2_DEPRECATED_16_3(__f__)
defined(NTV2_DEPRECATE_17_6)
NTV2TaskMode
Describes the task mode state. See also: NTV2 Device Sharing.
virtual bool ReadAudioLastIn(ULWord &outValue, const NTV2Channel inChannel)
bool AssessDevice(CNTV2Card &inDevice, const bool inIgnoreStoppedAudioBuffers=(0))
Assesses the given device.
bool HasFrameIndex(const UWord inIndex) const
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
Audits an NTV2 device's SDRAM utilization, and can report contiguous regions of SDRAM, whether unused/free, those being read/written by AutoCirculate, those being read/written by non-AutoCirculating FrameStores, those that are in conflict (AutoCirculate, FrameStore and/or Audio collisions), plus invalid/out-of-bounds regions being accessed.
enum NTV2VPIDLuminance NTV2HDRLuminance
bool TranslateRegions(ULWordSequence &outRgns, const ULWordSequence &inRgns, const bool inIsQuad, const bool inIsQuadQuad) const
Translates an 8MB-chunked list of regions into another list of regions with frame indexes and sizes e...
enum NTV2VideoFrameBufferOrientation NTV2FBOrientation
enum NTV2VPIDColorimetry NTV2HDRColorimetry
virtual bool Read3GInput5678StatusRegister(ULWord *pVal)
#define NTV2_DEPRECATED_17_6(__f__)
std::map< ULWord, ULWord > NTV2RegisterValueMap
A mapping of distinct NTV2RegisterNumbers to their corresponding ULWord values.
virtual bool ReadGlobalControl(ULWord *pOutVal)
std::bitset< 16 > NTV2AudioChannelsMuted16
Per-audio-channel mute state for up to 16 audio channels.
NTV2EmbeddedAudioClock
This enum value determines/states the device audio clock reference source. It was important to set th...
if(!(riid==IID_IUnknown) &&!(riid==IID_IClassFactory))
virtual bool GetLEDState(ULWord &outValue)
Answers with the current state of the four on-board LEDs.
virtual bool SupportsP2PTransfer(void)
NTV2HDMIAudioChannels
Indicates or specifies the HDMI audio channel count.
NTV2RelayState
This enumerated data type identifies the two possible states of the bypass relays. See CNTV2Card::GetSDIRelayPosition, CNTV2Card::GetSDIRelayManualControl, CNTV2Card::GetSDIWatchdogStatus, etc.
NTV2LutType
This specifies what function(s) are currently loaded into the LUTs.
virtual ULWord GetFrameBufferSize(void) const
std::ostream & RawDump(std::ostream &oss) const
Dumps a human-readable list of regions into the given stream.
NTV2HDMIRange
Indicates or specifies the HDMI RGB range.
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
This class is a collection of widget input-to-output connections that can be applied all-at-once to a...
virtual class DeviceCapabilities & features(void)
True if device can directly transmit data to another PCIe device via peer-to-peer DMA...
std::set< NTV2AudioChannelPair > NTV2AudioChannelPairs
A set of distinct NTV2AudioChannelPair values.
virtual bool SupportsP2PTarget(void)
This struct replaces the old RP188_STRUCT.
bool HasTag(const UWord inIndex) const
virtual bool HasMultiRasterWidget(void)
AutoCirculate Frame Range.
bool HasConflicts(const UWord inIndex) const
I'm the base class that undergirds the platform-specific derived classes (from which CNTV2Card is ult...
NTV2FrameRate
Identifies a particular video frame rate.
virtual CNTV2DriverInterface & driverInterface(void)
virtual bool DMABufferUnlock(const ULWord *pInBuffer, const ULWord inByteCount)
Unlocks the given host buffer that was previously locked using CNTV2Card::DMABufferLock.
NTV2Standard
Identifies a particular video standard.
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
static ULWordSet CoalesceRegions(const ULWordSequence &inRgn1, const ULWordSequence &inRgn2, const ULWordSequence &inRgn3)
enum NTV2VPIDTransferCharacteristics NTV2HDRXferChars
NTV2_RS422_PARITY
These enum values identify RS-422 serial port parity configuration.
virtual bool DeviceCanDoAudioMixer(void)
std::set< std::string > NTV2StringSet
NTV2ReferenceSource
These enum values identify a specific source for the device's (output) reference clock.
NTV2BreakoutType
Identifies the Breakout Boxes and Cables that may be attached to an AJA NTV2 device.
Identifies "all" ancillary data regions.
virtual bool ReadRegisters(NTV2RegisterReads &inOutValues)
Reads the register(s) specified by the given NTV2RegInfo sequence.
True if device has attached breakout board. (New in SDK 17.0)
bool TagMemoryBlock(const uint64_t inStartAddr, const uint64_t inByteLength, const std::string &inTag)
bool GetFreeRegions(ULWordSequence &outBlks) const
Answers with the list of free memory regions.
virtual bool ReadAudioLastOut(ULWord &outValue, const NTV2Channel inChannel)
#define NTV2_DEPRECATED_18_1(__f__)
Reports HDMI output status information.
NTV2AudioLoopBack
This enum value determines/states if an audio output embedder will embed silence (zeroes) or de-embed...
virtual bool SetEveryFrameServices(const NTV2TaskMode m)
enum _INTERRUPT_ENUMS_ INTERRUPT_ENUMS
NTV2QuarterSizeExpandMode
NTV2RegisterNumberSet NTV2RegNumSet
A set of distinct NTV2RegisterNumbers.
NTV2AudioChannelPair
Identifies a pair of audio channels.
std::set< ULWord > ULWordSet
A collection of unique ULWord (uint32_t) values.
NTV2MixerKeyerInputControl
These enum values identify the Mixer/Keyer foreground and background input control values...
#define NTV2_SHOULD_BE_DEPRECATED(__f__)
std::vector< uint16_t > UWordSequence
An ordered sequence of UWord (uint16_t) values.
std::set< NTV2AudioSystem > NTV2AudioSystemSet
A set of distinct NTV2AudioSystem values. New in SDK 16.2.
NTV2HDMIProtocol
Indicates or specifies the HDMI protocol.
bool GetRegions(ULWordSequence &outFree, ULWordSequence &outUsed, ULWordSequence &outBad) const
Answers with the lists of free, in-use and conflicting 8MB memory blocks. Each ULWord represents a re...
True if device can rasterize 4 HD signals into a single HDMI output.
#define NTV2_WILL_BE_DEPRECATED(__f__)
virtual bool HasCanConnectROM(void)
virtual bool IS_CHANNEL_VALID(const NTV2Channel inChannel) const
CNTV2Card CNTV2Device
Instances of this class are able to interrogate and control an NTV2 AJA video/audio capture/playout d...
virtual bool DeviceIsDNxIV(void)
virtual std::string GetDescription(void) const
NTV2Framesize
Kona2/Xena2 specific enums.
virtual bool GetLTCOnReference(bool &outVal)
virtual bool Read3GInputStatus2Register(ULWord *pVal)
Describes a user-space buffer on the host computer. I have an address and a length, plus some optional attributes (allocated by SDK?, page-aligned? etc.).
virtual bool AuxSetFrameBufferSize(const ULWord inF1Size, const ULWord inF2Size)
Sets the capacity of the HDMI AUX buffers in device frame memory.
NTV2Mode
Used to identify the mode of a widget_framestore, or the direction of an AutoCirculate stream: either...
Declares the MSWindows-specific flavor of CNTV2DriverInterface.
NTV2InputSource
Identifies a specific video input source.
NTV2HDMIColorimetry
Indicates or specifies the HDMI colorimetry.
const ULWord LUTTablePartitionSize
True if device has a crosspoint connection ROM (New in SDK 17.0)
This object specifies the information that will be transferred to or from the AJA device in the CNTV2...
bool TagVideoFrames(CNTV2Card &inDevice)
virtual bool GetEveryFrameServices(NTV2TaskMode &m)
defined(NTV2_DEPRECATE_18_1)
True if device can directly receive data from another PCIe device via peer-to-peer DMA...
NTV2VPIDTransferCharacteristics
NTV2FrameGeometry
Identifies a particular video frame geometry.
std::set< NTV2Channel > NTV2ChannelSet
A set of distinct NTV2Channel values.
This identifies the first Audio System.
#define AJA_RETAIL_DEFAULT
Declares numerous NTV2 utility functions.
virtual bool DMABufferLock(const ULWord *pInBuffer, const ULWord inByteCount, bool inMap=(0), bool inRDMA=(0))
Page-locks the given host buffer to reduce transfer time and CPU usage of DMA transfers.
bool TagAudioBuffers(CNTV2Card &inDevice, const bool inMarkStoppedAudioBuffersFree)
Describes the horizontal and vertical size dimensions of a raster, bitmap, frame or image...
std::set< NTV2InputXptID > NTV2InputXptIDSet
A collection of distinct NTV2InputXptID values.
NTV2OutputCrosspointID
Identifies a widget output, a signal source, that potentially can drive another widget's input (ident...
NTV2InputCrosspointID
Identifies a widget input that potentially can accept a signal emitted from another widget's output (...
This is returned from the CNTV2Card::AutoCirculateGetStatus function.
CNTV2Card CNTV2ColorCorrection
Specifies channel or FrameStore 1 (or the first item).
virtual bool WriteGlobalControl(const ULWord inVal)
virtual bool SetLTCOnReference(bool val)
NTV2VideoLimiting
These enum values identify the available SDI video output limiting modes.
virtual bool CanDoAudioWaitForVBI(void)
NTV2AncillaryDataRegion
These enumerations identify the various ancillary data regions located at the bottom of each frame bu...
NTV2VANCMode
These enum values identify the available VANC modes.
NTV2RegisterWriteMode
These values are used to determine when certain register writes actually take effect. See CNTV2Card::SetRegisterWriteMode or Field/Frame Interrupts.
virtual bool GetRegisterWritemode(NTV2RegisterWriteMode &outVal, const NTV2Channel inChan=NTV2_CHANNEL1)
virtual bool SetRegisterWritemode(NTV2RegisterWriteMode inVal, const NTV2Channel inChan=NTV2_CHANNEL1)
mDevice DMABufferLock(mVideoBuffer,(!(0)))
True if device has HDMI AUX data extractor(s).
bool GetTagsForFrameIndex(const UWord inIndex, NTV2StringSet &outTags) const
Answers with the list of tags for the given frame number.
virtual bool SetAudioOutputMonitorSource(const NTV2AudioMonitorSelect inChannelPair, const NTV2Channel inAudioSystem=NTV2_CHANNEL1)
Declares the CNTV2LinuxDriverInterface class.
NTV2AudioSource
This enum value determines/states where an audio system will obtain its audio samples.
virtual bool Read3GInputStatusRegister(ULWord *pVal)
virtual bool GetAudioOutputMonitorSource(NTV2AudioMonitorSelect &chp, NTV2Channel &ch)
std::pair< NTV2InputXptID, NTV2OutputXptID > NTV2XptConnection
#define NTV2_DEPRECATED_17_5(__f__)
enum NTV2InputCrosspointID NTV2InputXptID
Convenience class/API for inquiring about device capabilities of physical and virtual devices...
std::multimap< NTV2InputXptID, NTV2OutputXptID > NTV2PossibleConnections
A map of zero or more one-to-many possible NTV2InputXptID to NTV2OutputXptID connections.
This class/object reports information about the current and/or requested AutoCirculate frame...
virtual bool GetPCIDeviceID(ULWord &outPCIDeviceID)
Answers with my PCI device ID.
True if device audio systems can wait for VBI before starting. (New in SDK 17.0)
std::vector< uint32_t > ULWordSequence
An ordered sequence of ULWord (uint32_t) values.
#define NTV2_DEPRECATED_16_0(__f__)
std::set< NTV2InputXptID > NTV2InputCrosspointIDSet
bool TagMemoryBlock(const ULWord inStartAddr, const ULWord inByteLength, const std::string &inTag)
True if device has a microphone input connector.
std::string SerialNum64ToString(const uint64_t &inSerNum)
#define NTV2_DEPRECATED_17_0(__f__)
virtual bool SetLEDState(const ULWord inValue)
The four on-board LEDs can be set by writing 0-15.
std::set< NTV2DeviceID > NTV2DeviceIDSet
A set of NTV2DeviceIDs.
NTV2ConversionMode GetConversionMode(const NTV2VideoFormat inFormat, const NTV2VideoFormat outFormat)
CNTV2Card CNTV2TestPattern
True if device has a firmware audio mixer.
std::map< NTV2InputXptID, NTV2OutputXptID > NTV2XptConnections
This is used by the CNTV2Card::ReadSDIStatistics function.
std::ostream & DumpBlocks(std::ostream &oss) const
Dumps all 8MB blocks/frames and their tags, if any, into the given stream.
NTV2Audio4ChannelSelect
Identifies a contiguous, adjacent group of four audio channels.
bool GetUsedRegions(ULWordSequence &outBlks) const
Answers with the list of used memory regions.
ULWord GetIntrinsicFrameByteCount(void) const
A Mac-specific implementation of CNTV2DriverInterface.
std::vector< NTV2RegInfo > NTV2RegisterWrites
NTV2_RS422_BAUD_RATE
These enum values identify RS-422 serial port baud rate configuration.
Identifies the 1st SDI video input.
std::vector< NTV2DeviceID > NTV2DeviceIDList
An ordered list of NTV2DeviceIDs.
virtual bool SetVANCMode(const NTV2VANCMode m, const NTV2Standard st, const NTV2FrameGeometry fg, const NTV2Channel ch=NTV2_CHANNEL1)
Physical device implementations of CNTV2DriverInterface methods through AJA Windows driver...
std::set< NTV2OutputXptID > NTV2OutputXptIDSet
A collection of distinct NTV2OutputXptID values.
NTV2EmbeddedAudioInput
This enum value determines/states which SDI video input will be used to supply audio samples to an au...
Implements the MacOS-specific flavor of CNTV2DriverInterface.
NTV2HDMIBitDepth
Indicates or specifies the HDMI video bit depth.
#define NTV2_DEPRECATED_16_2(__f__)
NTV2StereoCompressorOutputMode
#define NTV2_DEPRECATED_16_1(__f__)
Linux implementation of CNTV2DriverInterface.
NTV2HDMIOut3DMode
This specifies the HDMI Out Stereo 3D Mode.
NTV2MixerKeyerMode
These enum values identify the mixer mode.
NTV2Audio8ChannelSelect
Identifies a contiguous, adjacent group of eight audio channels.
Declares the DeviceCapabilities class.
std::set< UByte > NTV2DIDSet
A set of distinct NTV2DID values.
NTV2AudioMixerInput
Identifies the Audio Mixer's audio inputs.
virtual bool DeviceHasMicInput(void)
NTV2ColorCorrectionHostAccessBank