7 #ifndef NTV2WINDRIVERINTERFACE_H 8 #define NTV2WINDRIVERINTERFACE_H 42 const ULWord inFrameNumber,
44 const ULWord inCardOffsetBytes,
46 const bool inSynchronous =
true);
50 const ULWord inFrameNumber,
52 const ULWord inCardOffsetBytes,
54 const ULWord inNumSegments,
55 const ULWord inSegmentHostPitch,
56 const ULWord inSegmentCardPitch,
57 const bool inSynchronous =
true);
61 const bool inIsTarget,
62 const ULWord inFrameNumber,
63 const ULWord inCardOffsetBytes,
65 const ULWord inNumSegments,
66 const ULWord inSegmentHostPitch,
67 const ULWord inSegmentCardPitch,
86 AJA_VIRTUAL bool RestoreHardwareProcampRegisters (
void);
88 #if !defined(NTV2_DEPRECATE_16_0) 103 #endif // !defined(NTV2_DEPRECATE_16_0) 104 #if !defined(NTV2_DEPRECATE_17_6) 108 #if !defined(NTV2_NULL_DEVICE) 113 #endif // !defined(NTV2_NULL_DEVICE) 124 #if !defined(NTV2_DEPRECATE_16_0) 127 #endif // !defined(NTV2_DEPRECATE_16_0) 130 #endif // NTV2WINDRIVERINTERFACE_H Defines & structs shared between user-space and Windows kernel driver.
virtual bool UnmapFrameBuffers(void)
Declares the CNTV2DriverInterface base class.
virtual bool GetStreamingApplication(ULWord &outAppType, int32_t &outPID)
virtual bool MapFrameBuffers(void)
virtual bool UnmapRegisters(void)
#define NTV2_DEPRECATED_17_6(__f__)
virtual bool ConfigureInterrupt(const bool bEnable, const INTERRUPT_ENUMS eInterruptType)
DMA_LOCKED_VEC _vecDmaLocked
ULWord _previousAudioState
NTV2_DriverDebugMessageSet
virtual bool DmaTransfer(const NTV2DMAEngine inDMAEngine, const bool inIsRead, const ULWord inFrameNumber, ULWord *pFrameBuffer, const ULWord inCardOffsetBytes, const ULWord inTotalByteCount, const bool inSynchronous=(!(0)))
Transfers data between the AJA device and the host. This function will block and not return to the ca...
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
PSP_DEVICE_INTERFACE_DETAIL_DATA _pspDevIFaceDetailData
virtual bool GetStreamingApplication(ULWord *pAppType, int32_t *pPID)
ULWord _previousAudioSelection
virtual bool GetStreamingApplication(ULWord &outAppType, int32_t &outProcessID)
Answers with the four-CC type and process ID of the application that currently "owns" the AJA device ...
I'm the base class that undergirds the platform-specific derived classes (from which CNTV2Card is ult...
virtual bool OpenLocalPhysical(const UWord inDeviceIndex)
Opens the local/physical device connection.
SP_DEVINFO_DATA _spDevInfoData
Defines the import/export macros for producing DLLs or LIBs.
virtual bool ReadRegister(const ULWord inRegNum, ULWord &outValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0)
Reads all or part of the 32-bit contents of a specific register (real or virtual) on the AJA device...
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
virtual bool CloseLocalPhysical(void)
Releases host resources associated with the local/physical device connection.
enum _INTERRUPT_ENUMS_ INTERRUPT_ENUMS
All new NTV2 structs start with this common header.
virtual bool MapXena2Flash(void)
NTV2_GlobalAudioPlaybackMode
std::vector< ULWord * > DMA_LOCKED_VEC
virtual bool WriteRegister(const ULWord inRegNum, const ULWord inValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0)
Updates or replaces all or part of the 32-bit contents of a specific register (real or virtual) on th...
virtual bool UnmapXena2Flash(void)
virtual bool NTV2Message(NTV2_HEADER *pInMessage)
Sends a message to the NTV2 driver (the new, improved, preferred way).
virtual bool DriverGetBitFileInformation(BITFILE_INFO_STRUCT &outBitFileInfo, const NTV2BitFileType inBitFileType=NTV2_VideoProcBitFile)
defined(NTV2_DEPRECATE_17_2)
virtual bool MapRegisters(void)
virtual bool GetInterruptCount(const INTERRUPT_ENUMS eInterrupt, ULWord &outCount)
Answers with the number of interrupts of the given type processed by the driver.
virtual bool SetStrictTiming(ULWord strictTiming)
virtual bool WaitForInterrupt(const INTERRUPT_ENUMS eInterrupt, const ULWord timeOutMs=68)
virtual bool PrepareMemoryForDMA(ULWord *pHostBuffer, const ULWord inNumBytes)
virtual bool ConfigureSubscription(const bool bSubscribe, const INTERRUPT_ENUMS inInterruptType, PULWord &outSubcriptionHdl)
virtual bool CompleteMemoryForDMA(ULWord *pHostBuffer)
virtual bool HevcSendMessage(HevcMessageHeader *pMsg)
#define NTV2_DEPRECATED_16_0(__f__)
virtual bool ControlDriverDebugMessages(NTV2_DriverDebugMessageSet msgSet, bool enable)
Physical device implementations of CNTV2DriverInterface methods through AJA Windows driver...
virtual bool AutoCirculate(AUTOCIRCULATE_DATA &pAutoCircData)
Sends an AutoCirculate command to the NTV2 driver.
Declares device capability functions.
virtual bool DmaUnlock(void)
virtual bool GetStrictTiming(ULWord *strictTiming)