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) 709 AJA_VIRTUAL bool EnableFramePulseReference (
const bool inEnable);
718 AJA_VIRTUAL bool GetEnableFramePulseReference (
bool & outEnabled);
1086 AJA_VIRTUAL bool SetDualLinkOutputEnable (
const bool inIsEnabled);
1087 AJA_VIRTUAL bool GetDualLinkOutputEnable (
bool & outIsEnabled);
1089 AJA_VIRTUAL bool SetDualLinkInputEnable (
const bool inIsEnabled);
1090 AJA_VIRTUAL bool GetDualLinkInputEnable (
bool & outIsEnabled);
1198 #if !defined(NTV2_DEPRECATE_18_1) 1202 #if !defined(NTV2_DEPRECATE_18_0) 1205 #endif // defined(NTV2_DEPRECATE_18_0) 1206 #if !defined(NTV2_DEPRECATE_16_3) 1209 #endif // defined(NTV2_DEPRECATE_16_3) 1210 #if !defined(NTV2_DEPRECATE_16_2) 1217 #endif // !defined(NTV2_DEPRECATE_16_2) 1218 #if !defined(NTV2_DEPRECATE_16_0) 1222 #define Set425FrameEnable SetTsiFrameEnable // Replace calls to Set425FrameEnable with calls to SetTsiFrameEnable instead 1223 #define Get425FrameEnable GetTsiFrameEnable // Replace calls to Get425FrameEnable with calls to GetTsiFrameEnable instead 1224 #endif // NTV2_DEPRECATE_16_0 1241 AJA_VIRTUAL bool SetMixerVancOutputFromForeground (
const UWord inWhichMixer,
const bool inFromForegroundSource =
true);
1252 AJA_VIRTUAL bool GetMixerVancOutputFromForeground (
const UWord inWhichMixer,
bool & outIsFromForegroundSource);
1335 AJA_VIRTUAL bool GetMixerSyncStatus (
const UWord inWhichMixer,
bool & outIsSyncOK);
1344 AJA_VIRTUAL bool GetMixerFGMatteEnabled (
const UWord inWhichMixer,
bool & outIsEnabled);
1353 AJA_VIRTUAL bool SetMixerFGMatteEnabled (
const UWord inWhichMixer,
const bool inIsEnabled);
1362 AJA_VIRTUAL bool GetMixerBGMatteEnabled (
const UWord inWhichMixer,
bool & outIsEnabled);
1371 AJA_VIRTUAL bool SetMixerBGMatteEnabled (
const UWord inWhichMixer,
const bool inIsEnabled);
1397 AJA_VIRTUAL bool MixerHasRGBModeSupport (
const UWord inWhichMixer,
bool & outIsSupported);
1617 const NTV2AudioSystem inAudioSystem,
const bool inCaptureBuffer =
false);
2048 AJA_VIRTUAL bool GetSuspendHostAudio (
bool & outIsSuspended);
2058 AJA_VIRTUAL bool SetSuspendHostAudio (
const bool inSuspend);
2180 AJA_VIRTUAL bool EnableBOBAnalogAudioIn (
bool inEnable);
2200 #if !defined(NTV2_DEPRECATE_16_0) 2207 #endif // !defined(NTV2_DEPRECATE_16_0) 2208 #if !defined(NTV2_DEPRECATE_16_1) 2214 #endif // !defined(NTV2_DEPRECATE_16_1) 2215 #if !defined(NTV2_DEPRECATE_16_3) 2217 #endif // !defined(NTV2_DEPRECATE_16_3) 2218 #if !defined(NTV2_DEPRECATE_17_0) 2220 #endif // !defined(NTV2_DEPRECATE_17_0) 2221 #if !defined(NTV2_DEPRECATE_17_5) 2224 #endif // defined(NTV2_DEPRECATE_17_5) 2415 #if !defined(NTV2_DEPRECATE_16_3) 2418 #endif // !defined(NTV2_DEPRECATE_16_3) 2495 AJA_VIRTUAL bool GetRunningFirmwareDate (std::string & outDate, std::string & outTime);
2506 #if !defined(NTV2_DEPRECATE_16_0) 2512 #endif // !defined(NTV2_DEPRECATE_16_0) 2513 #if !defined(NTV2_DEPRECATE_17_0) 2524 #endif // !defined(NTV2_DEPRECATE_17_0) 2525 #if !defined(NTV2_DEPRECATE_18_1) 2530 #endif // !defined(NTV2_DEPRECATE_18_1) 3002 #if !defined (NTV2_DEPRECATE_16_0) 3005 #endif // NTV2_DEPRECATE_16_0 3084 const UWord inFrameCount = 7,
3086 const ULWord inOptionFlags = 0,
3087 const UByte inNumChannels = 1,
3088 const UWord inStartFrameNumber = 0,
3089 const UWord inEndFrameNumber = 0);
3143 const ULWord inOptionFlags = 0,
3144 const UByte inNumChannels = 1);
3207 const UWord inFrameCount = 7,
3209 const ULWord inOptionFlags = 0,
3210 const UByte inNumChannels = 1,
3211 const UWord inStartFrameNumber = 0,
3212 const UWord inEndFrameNumber = 0);
3263 const ULWord inOptionFlags = 0,
3264 const UByte inNumChannels = 1);
3507 #define NTV2_STREAM_SUCCESS(__status__) (__status__ == NTV2_STREAM_SUCCESS) 3509 #define NTV2_STREAM_FAIL(__status__) (__status__ != NTV2_STREAM_SUCCESS) 3597 #if defined(READREGMULTICHANGE) 3609 #endif // defined(READREGMULTICHANGE) 3645 AJA_VIRTUAL bool WriteVirtualData (
const ULWord inTag,
const void* inVirtualData,
const ULWord inVirtualDataSize);
3691 #if !defined(NTV2_DEPRECATE_17_2) 3773 AJA_VIRTUAL bool GetNominalMinMaxHV (
int & outNominalH,
int & outMinH,
int & outMaxH,
int & outNominalV,
int & outMinV,
int & outMaxV);
3787 AJA_VIRTUAL bool SetVideoHOffset (
const int inHOffset,
const UWord inOutputSpigot = 0);
3799 AJA_VIRTUAL bool GetVideoHOffset (
int & outHOffset,
const UWord inOutputSpigot = 0);
3812 AJA_VIRTUAL bool SetVideoVOffset (
const int inVOffset,
const UWord inOutputSpigot = 0);
3824 AJA_VIRTUAL bool GetVideoVOffset (
int & outVOffset,
const UWord inOutputSpigot = 0);
3960 AJA_VIRTUAL bool SetEnableConverter (
const bool inValue);
3961 AJA_VIRTUAL bool GetEnableConverter (
bool & outValue);
4249 #if !defined(R2_DEPRECATE) 4260 static NTV2VideoFormat GetNTV2VideoFormat (
NTV2FrameRate frameRate,
UByte inputGeometry,
bool progressiveTransport,
bool isThreeG,
bool progressivePicture=
false);
4544 #if !defined(NTV2_DEPRECATE_17_0) 4546 #endif // !defined(NTV2_DEPRECATE_17_0) 4574 AJA_VIRTUAL bool WriteSDProcAmpControlsInitialized (
const ULWord inNewValue = 1);
4582 AJA_VIRTUAL bool WriteHDProcAmpControlsInitialized (
const ULWord inNewValue = 1);
4619 #if !defined(R2_DEPRECATE) 4772 AJA_VIRTUAL bool SetHDMIOut3DPresent (
const bool inIs3DPresent);
4773 AJA_VIRTUAL bool GetHDMIOut3DPresent (
bool & outIs3DPresent);
4778 AJA_VIRTUAL bool SetHDMIV2TxBypass (
const bool inBypass);
5139 AJA_VIRTUAL bool SetHDMIOutDecimateMode (
const bool inEnable);
5141 AJA_VIRTUAL bool GetHDMIOutDecimateMode (
bool & outIsEnabled);
5148 AJA_VIRTUAL bool SetHDMIOutTsiIO (
const bool inTsiEnable);
5150 AJA_VIRTUAL bool GetHDMIOutTsiIO (
bool & tsiEnabled);
5157 AJA_VIRTUAL bool SetHDMIOutLevelBMode (
const bool inEnable);
5159 AJA_VIRTUAL bool GetHDMIOutLevelBMode (
bool & outIsEnabled);
5217 AJA_VIRTUAL bool SetLTCInputEnable (
const bool inEnable);
5229 AJA_VIRTUAL bool GetLTCInputEnable (
bool & outIsEnabled);
5241 AJA_VIRTUAL bool GetLTCInputPresent (
bool & outIsPresent,
const UWord inLTCInputNdx = 0);
5335 #if !defined(NTV2_DEPRECATE_16_3) 5340 #endif // !defined(NTV2_DEPRECATE_16_3) 5577 AJA_VIRTUAL bool GetSDIWatchdogEnable (
bool & outIsEnabled,
const UWord inIndex0);
5592 AJA_VIRTUAL bool SetSDIWatchdogEnable (
const bool inEnable,
const UWord inIndex0);
5638 AJA_VIRTUAL bool Enable4KDCRGBMode(
bool inEnable);
5640 AJA_VIRTUAL bool GetEnable4KDCRGBMode(
bool & outIsEnabled);
5648 AJA_VIRTUAL bool Enable4KDCYCC444Mode(
bool inEnable);
5650 AJA_VIRTUAL bool GetEnable4KDCYCC444Mode(
bool & outIsEnabled);
5658 AJA_VIRTUAL bool Enable4KDCPSFInMode(
bool inEnable);
5660 AJA_VIRTUAL bool GetEnable4KDCPSFInMode(
bool & outIsEnabled);
5668 AJA_VIRTUAL bool Enable4KPSFOutMode(
bool inEnable);
5670 AJA_VIRTUAL bool GetEnable4KPSFOutMode(
bool & outIsEnabled);
5691 AJA_VIRTUAL bool SetSDIInLevelBtoLevelAConversion (
const UWord inInputSpigot,
const bool inEnable);
5699 AJA_VIRTUAL bool GetSDIInLevelBtoLevelAConversion (
const UWord inInputSpigot,
bool & outIsEnabled);
5708 AJA_VIRTUAL bool SetSDIOutLevelAtoLevelBConversion (
const UWord inOutputSpigot,
const bool inEnable);
5726 AJA_VIRTUAL bool GetSDIOutLevelAtoLevelBConversion (
const UWord inOutputSpigot,
bool & outIsEnabled);
5734 AJA_VIRTUAL bool SetSDIOutRGBLevelAConversion (
const UWord inOutputSpigot,
const bool inEnable);
5752 AJA_VIRTUAL bool GetSDIOutRGBLevelAConversion (
const UWord inOutputSpigot,
bool & outIsEnabled);
5928 const bool inVancY,
const bool inVancC,
5929 const bool inHancY,
const bool inHancC);
5940 AJA_VIRTUAL bool AncInsertSetEnable (
const UWord inSDIOutput,
const bool inIsEnabled);
5949 AJA_VIRTUAL bool AncInsertIsEnabled (
const UWord inSDIOutput,
bool & outIsEnabled);
6008 AJA_VIRTUAL bool AncInsertGetReadInfo (
const UWord inSDIOutput, uint64_t & outF1StartAddr, uint64_t & outF2StartAddr);
6042 const bool inVancY,
const bool inVancC,
6043 const bool inHancY,
const bool inHancC);
6055 AJA_VIRTUAL bool AncExtractSetEnable (
const UWord inSDIInput,
const bool inIsEnabled);
6065 AJA_VIRTUAL bool AncExtractIsEnabled (
const UWord inSDIInput,
bool & outIsEnabled);
6119 uint64_t & outF1StartAddr, uint64_t & outF1EndAddr,
6120 uint64_t & outF2StartAddr, uint64_t & outF2EndAddr);
6176 AJA_VIRTUAL bool AncExtractGetBufferOverrun (
const UWord inSDIInput,
bool & outIsOverrun,
const UWord inField = 0);
6185 AJA_VIRTUAL bool AncExtractIsProgressive (
const UWord inSDIInput,
bool & outIsProgressive);
6191 static UWord AncExtractGetMaxNumFilterDIDs (
void);
6200 static NTV2DIDSet AncExtractGetDefaultDIDs (
const bool inHDAudio =
true);
6247 const bool inVauxY,
const bool inVauxC,
6248 const bool inHauxY,
const bool inHauxC);
6258 AJA_VIRTUAL bool AuxInsertSetEnable (
const UWord inHDMIOutput,
const bool inIsEnabled);
6266 AJA_VIRTUAL bool AuxInsertIsEnabled (
const UWord inHDMIOutput,
bool & outIsEnabled);
6323 AJA_VIRTUAL bool AuxInsertGetReadInfo (
const UWord inHDMIOutput, uint64_t & outF1StartAddr, uint64_t & outF2StartAddr);
6351 AJA_VIRTUAL bool AuxExtractSetEnable (
const UWord inHDMIInput,
const bool inIsEnabled);
6360 AJA_VIRTUAL bool AuxExtractIsEnabled (
const UWord inHDMIInput,
bool & outIsEnabled);
6411 uint64_t & outF1StartAddr, uint64_t & outF1EndAddr,
6412 uint64_t & outF2StartAddr, uint64_t & outF2EndAddr);
6460 AJA_VIRTUAL bool AuxExtractSetFilterInclusionMode (
const UWord inHDMIInput,
const bool inEnable);
6469 AJA_VIRTUAL bool AuxExtractGetFilterInclusionMode (
const UWord inHDMIInput,
bool & outEnabled);
6483 AJA_VIRTUAL bool AuxExtractGetBufferOverrun (
const UWord inHDMIInput,
bool & outIsOverrun,
const UWord inField = 0);
6491 AJA_VIRTUAL bool AuxExtractIsProgressive (
const UWord inHDMIInput,
bool & outIsProgressive);
6497 static UWord AuxExtractGetMaxNumPacketFilters (
void);
6503 static NTV2DIDSet AuxExtractGetDefaultPacketFilters (
void);
6533 AJA_VIRTUAL bool GetDieVoltage (
double & outVoltage);
6544 AJA_VIRTUAL std::string GetPCIFPGAVersionString (
void);
6563 AJA_VIRTUAL bool GetInstalledBitfileInfo (
ULWord & outNumBytes, std::string & outDateStr, std::string & outTimeStr);
6581 AJA_VIRTUAL bool IsFailSafeBitfileLoaded (
bool & outIsFailSafe);
6590 AJA_VIRTUAL bool CanWarmBootFPGA (
bool & outCanWarmBoot);
6619 AJA_VIRTUAL bool AddDynamicBitfile (
const std::string & inBitfilePath);
6627 AJA_VIRTUAL bool AddDynamicDirectory (
const std::string & inDirectory);
6642 } ColorCorrectionColor;
6648 #if !defined(NTV2_DEPRECATE_17_6) 6656 #endif//defined(NTV2_DEPRECATE_17_6) 6894 AJA_VIRTUAL bool SetMultiRasterBypassEnable (
const bool inEnable);
6895 AJA_VIRTUAL bool GetMultiRasterBypassEnable (
bool & outEnabled);
6899 #if !defined(NTV2_DEPRECATE_17_5) 6901 #endif // NTV2_DEPRECATE_17_5 6903 #if !defined(NTV2_DEPRECATE_16_1) 6906 #endif // NTV2_DEPRECATE_16_1 6915 AJA_VIRTUAL bool IS_HDMI_INPUT_SPIGOT_INVALID (
const UWord inInputHDMIPort);
6953 AJA_VIRTUAL bool FlushGlobalControlWrite (GlobalControlRegWrite * pGlobalControl);
6968 #if !defined(NTV2_DEPRECATE_17_2) 6981 #if !defined(NTV2_DEPRECATE_16_2) 6988 #endif // !defined(NTV2_DEPRECATE_16_2) 6990 #define SetTablesToHardware LoadLUTTables 6991 #define GetTablesFromHardware GetLUTTables 7133 std::ostream &
RawDump (std::ostream & oss)
const;
7140 std::ostream &
DumpBlocks (std::ostream & oss)
const;
7153 bool TagMemoryBlock (
const uint64_t inStartAddr,
const uint64_t inByteLength,
const std::string & inTag)
7159 typedef std::pair<UWord, NTV2StringSet> FrameTag;
7160 typedef std::map<UWord, NTV2StringSet> FrameTags;
7161 typedef FrameTags::const_iterator FrameTagsConstIter;
7164 FrameTags mFrameTags;
7170 #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.
size_t GetTagCount(const UWord inIndex) const
#define NTV2_DEPRECATED_17_0(__f__)
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...
#define NTV2_DEPRECATED_17_2(__f__)
bool GetBadRegions(ULWordSequence &outBlks) const
Answers with the list of colliding and illegal memory regions.
#define NTV2_DEPRECATED_16_0(__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...
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 SubscribeOutputVerticalEvent(const NTV2Channel inChannel=NTV2_CHANNEL1)
Causes me to be notified when an output vertical blanking interrupt is generated for the given output...
virtual bool Read3GInput5678StatusRegister(ULWord *pVal)
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)
INTERRUPT_ENUMS NTV2ChannelToInputInterrupt(const NTV2Channel inChannel)
Converts the given NTV2Channel value into the equivalent input INTERRUPT_ENUMS value.
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.
#define NTV2_DEPRECATED_16_1(__f__)
bool HasTag(const UWord inIndex) const
virtual bool HasMultiRasterWidget(void)
A helper class used in CNTV2Card::AutoCirculateInitForInput and CNTV2Card::AutoCirculateInitForOutput...
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)
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)
virtual bool SubscribeInputVerticalEvent(const NTV2Channel inChannel=NTV2_CHANNEL1)
Causes me to be notified when an input vertical blanking interrupt occurs on the given input channel...
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...
std::vector< uint16_t > UWordSequence
An ordered sequence of UWord (uint16_t) values.
#define NTV2_DEPRECATED_16_2(__f__)
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.
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...
#define NTV2_DEPRECATED_18_1(__f__)
#define NTV2_DEPRECATED_17_6(__f__)
virtual bool DeviceIsDNxIV(void)
#define NTV2_SHOULD_BE_DEPRECATED(__f__)
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.
virtual bool UnsubscribeOutputVerticalEvent(const NTV2Channel inChannel)
Unregisters me so I'm no longer notified when an output VBI is signaled on the given output channel...
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)
#define NTV2_DEPRECATED_17_5(__f__)
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...
GlobalControlRegWrite(void)
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 (...
#define NTV2_WILL_BE_DEPRECATED(__f__)
This is returned from the CNTV2Card::AutoCirculateGetStatus function.
CNTV2Card CNTV2ColorCorrection
Specifies channel or FrameStore 1 (or the first item).
virtual bool UnsubscribeInputVerticalEvent(const NTV2Channel inChannel=NTV2_CHANNEL1)
Unregisters me so I'm no longer notified when an input VBI is signaled on the given input channel...
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)
#define NTV2_DEPRECATED_18_0(__f__)
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.
#define NTV2_DEPRECATED_16_3(__f__)
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
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.
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)
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.
INTERRUPT_ENUMS NTV2ChannelToOutputInterrupt(const NTV2Channel inChannel)
Converts the given NTV2Channel value into the equivalent output INTERRUPT_ENUMS value.
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.
NTV2StereoCompressorOutputMode
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