22 #if !defined(NTV2_DEPRECATE_17_2) 29 return outputs > 0 ?
true :
false;
38 return inputs > 0 ?
true :
false;
49 default:
return false;
59 default:
return false;
77 default:
return false;
191 #endif // !defined(NTV2_DEPRECATE_17_2) 205 default:
return false;
217 default:
return false;
233 default:
return false;
245 default:
return false;
251 #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 263 #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 277 else switch (boardID)
300 #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 310 #endif // #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 313 #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 323 #endif // #if defined(__CPLUSPLUS__) || defined(__cplusplus) 630 #if (defined(__CPLUSPLUS__) || defined(__cplusplus)) && !defined(NTV2_BUILDING_DRIVER) 642 ULWord hwBytesPerFrame = 0;
643 ULWord videoMemorySize = 0;
650 hwBytesPerFrame = gFrameSizeToByteCount [inFrameSize] * 1024 * 1024;
655 videoMemorySize = activeMemorySize - numAudioBytes;
658 return hwBytesPerFrame ? videoMemorySize / hwBytesPerFrame : 0;
678 const ULWord inIsSMPTE372Enabled)
687 const ULWord inIsSMPTE372Enabled,
688 const bool inIsProgressivePicture)
697 const ULWord inIsSMPTE372Enabled,
698 const bool inIsProgressivePicture,
699 const bool inIsSquareDivision)
714 default:
return false;
730 default:
return false;
740 if (inIsSMPTE372Enabled)
752 if (inIsSMPTE372Enabled)
764 if (inIsSMPTE372Enabled)
781 if (inIsSMPTE372Enabled)
796 if (inIsSMPTE372Enabled)
823 default:
return false;
983 default:
return false;
991 #define MAX_OF(__a__,__b__) ((__a__) > (__b__) ? (__a__) : (__b__)) 1166 #if !defined(NTV2_DEPRECATE_17_0) 1186 #endif // !defined(NTV2_DEPRECATE_17_0) Fractional rate of 15,000 frames per 1,001 seconds.
bool NTV2DeviceGetVideoFormatFromState_Ex2(NTV2VideoFormat *pOutValue, const NTV2FrameRate inFrameRate, const NTV2FrameGeometry inFrameGeometry, const NTV2Standard inStandard, const ULWord inIsSMPTE372Enabled, const bool inIsProgressivePicture, const bool inIsSquareDivision)
UWord Get8MBFrameSizeFactor(const NTV2FrameGeometry inFG, const NTV2FrameBufferFormat inFBF)
NTV2AudioSystem
Used to identify an Audio System on an NTV2 device. See Audio System Operation for more information...
UWord NTV2DeviceGetNumLTCInputs(const NTV2DeviceID inDeviceID)
Identifies SMPTE HD 1080p.
bool NTV2DeviceCanDoAudioOut(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDo292In(NTV2DeviceID boardID, UWord index0)
UWord NTV2DeviceGetNumAnalogAudioOutputChannels(const NTV2DeviceID inDeviceID)
1920x1080, for 1080i and 1080p, NTV2_VANCMODE_TALL
NTV2FrameBufferFormat
Identifies a particular video frame buffer pixel format. See Device Frame Buffer Formats for details...
bool NTV2DeviceCanDo3GOut(NTV2DeviceID boardID, UWord index0)
#define XENA2_FRAMEBUFFER_SIZE
720x576, for PAL 625i, NTV2_VANCMODE_TALL
NTV2AudioSystem NTV2DeviceGetHostAudioSystem(const NTV2DeviceID inDeviceID)
ULWord NTV2DeviceGetActiveMemorySize(const NTV2DeviceID inDeviceID)
ULWord NTV2DeviceGetNumberFrameBuffers_Ex(NTV2DeviceID boardID)
1280x720, for 720p, NTV2_VANCMODE_OFF
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
Fractional rate of 120,000 frames per 1,001 seconds.
Identifies SMPTE SD 525i.
bool NTV2DeviceCanDoLTCOutN(const NTV2DeviceID devID, UWord index0)
#define NTV2_IS_QUAD_QUAD_FRAME_GEOMETRY(geom)
UWord NTV2DeviceGetNumSerialPorts(const NTV2DeviceID inDeviceID)
Identifies high frame-rate UHD.
UWord NTV2DeviceGetNumCSCs(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDoLTCInN(const NTV2DeviceID devID, UWord index0)
The "default" timecode (mostly used by the AJA "Retail" service and Control Panel) ...
bool NTV2DeviceHasColorSpaceConverterOnChannel2(const NTV2DeviceID devID)
2048x1080, for 2Kx1080p, NTV2_VANCMODE_TALL
Fractional rate of 60,000 frames per 1,001 seconds.
bool NTV2DeviceROMHasBankSelect(const NTV2DeviceID inDeviceID)
UWord NTV2DeviceGetGenlockVersion(const NTV2DeviceID inDeviceID)
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
bool NTV2DeviceCanDoAudioMixer(const NTV2DeviceID inDeviceID)
bool NTV2DeviceHasSPIv3(const NTV2DeviceID inDeviceID)
3840x2160, for UHD, NTV2_VANCMODE_OFF
bool NTV2DeviceHasGenlockv2(const NTV2DeviceID devID)
Identifies SMPTE HD 2K1080psf.
Identifies SMPTE HD 720p.
2048x1556, for 2Kx1556psf film format, NTV2_VANCMODE_OFF
NTV2TCIndex
These enum values are indexes into the capture/playout AutoCirculate timecode arrays.
bool NTV2DeviceHasSPIv5(const NTV2DeviceID inDeviceID)
Fractional rate of 48,000 frames per 1,001 seconds.
bool NTV2DeviceCanDoAudioIn(const NTV2DeviceID inDeviceID)
UWord NTV2DeviceGetNumHDMIVideoOutputs(const NTV2DeviceID inDeviceID)
NTV2FrameRate
Identifies a particular video frame rate.
7680x4320, for UHD2, NTV2_VANCMODE_OFF
2048x1080, NTV2_VANCMODE_TALLER
NTV2Standard
Identifies a particular video standard.
UWord NTV2DeviceGetNumAudioStreams(const NTV2DeviceID devID)
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
bool NTV2DeviceCanDoWidget(const NTV2DeviceID inDeviceID, const NTV2WidgetID inWidgetID)
bool NTV2DeviceCanDoProgrammableCSC(const NTV2DeviceID inDeviceID)
1920x1080, for 1080i and 1080p, NTV2_VANCMODE_OFF
bool NTV2DeviceCanDoAudio6Channels(const NTV2DeviceID devID)
#define NTV2_IS_ATC_VITC2_TIMECODE_INDEX(__x__)
bool NTV2DeviceGetVideoFormatFromState(NTV2VideoFormat *pOutValue, const NTV2FrameRate inFrameRate, const NTV2FrameGeometry inFrameGeometry, const NTV2Standard inStandard, const ULWord inIsSMPTE372Enabled)
ULWord NTV2DeviceGetAudioFrameBuffer2_Ex(NTV2DeviceID boardID)
Identifies Ultra-High-Definition (UHD) psf.
bool NTV2DeviceCanDoRS422N(const NTV2DeviceID devID, const NTV2Channel ch)
1280x720, for 720p, NTV2_VANCMODE_TALL
bool NTV2DeviceCanDoAudio2Channels(const NTV2DeviceID devID)
ULWord NTV2DeviceGetFrameBufferSize_Ex(NTV2DeviceID boardID)
bool NTV2DeviceCanDoTCIndex(const NTV2DeviceID inDeviceID, const NTV2TCIndex inTCIndex)
bool NTV2DeviceCanDoColorCorrection(const NTV2DeviceID inDeviceID)
#define MAX_OF(__a__, __b__)
See 8-Bit ARGB, RGBA, ABGR Formats.
See 8-Bit ARGB, RGBA, ABGR Formats.
UWord NTV2DeviceGetNumAnalogVideoOutputs(const NTV2DeviceID inDeviceID)
Identifies SMPTE HD 2K1080p.
ULWord NTV2DeviceGetAudioFrameBuffer(NTV2DeviceID boardID, NTV2FrameGeometry inFrameGeometry, NTV2FrameBufferFormat frameFormat)
1920x1080, NTV2_VANCMODE_TALLER
UWord NTV2DeviceGetNumVideoInputs(const NTV2DeviceID inDeviceID)
720x486, for NTSC 525i, NTV2_VANCMODE_TALL
bool NTV2DeviceCanDoLTCEmbeddedN(NTV2DeviceID boardID, UWord index0)
4096x2160, for 4K, NTV2_VANCMODE_OFF
NTV2Framesize
Kona2/Xena2 specific enums.
NTV2AudioSystem NTV2DeviceGetAudioMixerSystem(const NTV2DeviceID inDeviceID)
8192x4320, for 8K, NTV2_VANCMODE_OFF
UWord NTV2DeviceGetNumAudioSystems(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDo12GIn(NTV2DeviceID boardID, UWord index0)
Identifies SMPTE HD 1080i or 1080psf.
Identifies Ultra-High-Definition (UHD)
Fractional rate of 30,000 frames per 1,001 seconds.
bool NTV2DeviceCanDo12GOut(NTV2DeviceID boardID, UWord index0)
Identifies SMPTE SD 625i.
bool NTV2DeviceCanDoOutputTCIndex(const NTV2DeviceID inDeviceID, const NTV2TCIndex inTCIndex)
bool NTV2DeviceCanDo12gRouting(const NTV2DeviceID inDeviceID)
2048x1080, for 2Kx1080p, NTV2_VANCMODE_OFF
bool NTV2DeviceCanDoStackedAudio(const NTV2DeviceID inDeviceID)
bool NTV2DeviceHasSPIv2(const NTV2DeviceID inDeviceID)
NTV2FrameGeometry
Identifies a particular video frame geometry.
720x576, for PAL 625i, NTV2_VANCMODE_OFF
UWord NTV2DeviceGetNumLUTs(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDo3GIn(NTV2DeviceID boardID, UWord index0)
See 8-Bit ARGB, RGBA, ABGR Formats.
720x486, for NTSC 525i and 525p60, NTV2_VANCMODE_OFF
UWord NTV2DeviceGetNumHDMIAudioInputChannels(const NTV2DeviceID inDeviceID)
ULWord NTV2DeviceGetAudioFrameBuffer_Ex(NTV2DeviceID boardID)
ULWord NTV2DeviceGetFrameBufferSize(NTV2DeviceID id, NTV2FrameGeometry fg, NTV2FrameBufferFormat fbf)
Identifies high frame-rate 4K.
#define NTV2_IS_QUAD_FRAME_GEOMETRY(geom)
UWord NTV2DeviceGetNumLTCOutputs(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDoAudioN(const NTV2DeviceID devID, UWord index0)
bool work_around_erroneous_compiler_warning(void)
enum NTV2OutputDestination NTV2OutputDest
UWord NTV2DeviceGetNumVideoOutputs(const NTV2DeviceID inDeviceID)
See 10-Bit RGB - DPX Format.
ULWord NTV2DeviceGetAudioFrameBuffer2(NTV2DeviceID boardID, NTV2FrameGeometry inFrameGeometry, NTV2FrameBufferFormat frameFormat)
bool NTV2DeviceCanDoVITC2(const NTV2DeviceID inDeviceID)
UWord NTV2DeviceGetSPIFlashVersion(const NTV2DeviceID inDeviceID)
2048x1556, for 2Kx1556psf film format, NTV2_VANCMODE_TALL
UWord NTV2DeviceGetNumHDMIAudioOutputChannels(const NTV2DeviceID inDeviceID)
bool NTV2DeviceCanDo292Out(NTV2DeviceID boardID, UWord index0)
bool NTV2DeviceCanDoAudio8Channels(const NTV2DeviceID devID)
UWord NTV2DeviceGetMaxAudioChannels(const NTV2DeviceID inDeviceID)
720x576, for PAL 625i, NTV2_VANCMODE_TALLER
ULWord NTV2DeviceGetNumberFrameBuffers(NTV2DeviceID id, NTV2FrameGeometry fg, NTV2FrameBufferFormat fbf)
ULWord NTV2DeviceGetNumberVideoFrameBuffers(NTV2DeviceID inDeviceID, NTV2FrameGeometry inFrameGeometry, NTV2Framesize inFrameSize)
UWord NTV2DeviceGetNumAnalogAudioInputChannels(const NTV2DeviceID inDeviceID)
Contains implementations of NTV2DeviceCanDo... and NTV2DeviceGetNum... functions. This module is incl...
bool NTV2DeviceHasGenlockv3(const NTV2DeviceID devID)
bool NTV2DeviceCanDoInputTCIndex(const NTV2DeviceID inDeviceID, const NTV2TCIndex inTCIndex)
Declares device capability functions.
bool NTV2DeviceHasSPIv4(const NTV2DeviceID inDeviceID)
Fractional rate of 24,000 frames per 1,001 seconds.
720x486, for NTSC 525i and 525p60, NTV2_VANCMODE_TALLER
bool NTV2DeviceGetVideoFormatFromState_Ex(NTV2VideoFormat *pOutValue, const NTV2FrameRate inFrameRate, const NTV2FrameGeometry inFrameGeometry, const NTV2Standard inStandard, const ULWord inIsSMPTE372Enabled, const bool inIsProgressivePicture)
bool NTV2DeviceCanDoOutputDestination(const NTV2DeviceID inDeviceID, const NTV2OutputDest inOutputDest)