AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2debug.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
9 #include "ajaexport.h"
10 #include "ajatypes.h"
11 #include "ntv2enums.h"
12 
13 AJAExport const char * NTV2DeviceIDString (const NTV2DeviceID id);
14 AJAExport const char * NTV2DeviceString (const NTV2DeviceID id);
18 AJAExport const char * NTV2FrameRateString (NTV2FrameRate rate);
20 AJAExport const char * NTV2RegisterNameString (const ULWord inRegNum);
21 AJAExport const char * NTV2InterruptEnumString (const unsigned inInterruptEnum);
22 
23 // indexed by RegisterNum - 2048
24 extern AJAExport const char * ntv2RegStrings_SDI_RX_Status [];
25 
26 // indexed by RegisterNum
27 extern AJAExport const char * ntv2RegStrings [];
28 
29 #ifdef MSWindows
30  AJAExport void __cdecl odprintf(const char *format, ...);
31  #ifndef vcout
32  #define vcout_dummy_1(x) #x
33  #define vcout_dummy_2(x) vcout_dummy_1(x)
34  #define vcout(desc) message(__FILE__ "(" vcout_dummy_2( __LINE__ ) ") : " desc)
35  #endif // vcout
36 #endif
37 
38 #if defined(FS1) || defined(AJALinux) || defined(AJAMac)
39  #ifndef odprintf
40  #define odprintf printf
41  #endif
42 #endif
NTV2StandardString
const char * NTV2StandardString(NTV2Standard std)
Definition: ntv2debug.cpp:172
ajaexport.h
Defines the import/export macros for producing DLLs or LIBs.
NTV2InterruptEnumString
const char * NTV2InterruptEnumString(const unsigned inInterruptEnum)
Definition: ntv2debug.cpp:1161
NTV2DeviceID
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
Definition: ntv2enums.h:20
NTV2FrameBufferFormat
NTV2FrameBufferFormat
Identifies a particular video frame buffer format. See Device Frame Buffer Formats for details.
Definition: ntv2enums.h:207
NTV2FrameBufferFormatString
const char * NTV2FrameBufferFormatString(NTV2FrameBufferFormat fmt)
Definition: ntv2debug.cpp:201
NTV2DeviceString
const char * NTV2DeviceString(const NTV2DeviceID id)
Definition: ntv2debug.cpp:93
NTV2FrameRate
NTV2FrameRate
Identifies a particular video frame rate.
Definition: ntv2enums.h:396
ntv2RegStrings_SDI_RX_Status
const char * ntv2RegStrings_SDI_RX_Status[]
Definition: ntv2debug.cpp:493
ajatypes.h
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
NTV2Standard
NTV2Standard
Identifies a particular video standard.
Definition: ntv2enums.h:153
ULWord
uint32_t ULWord
Definition: ajatypes.h:253
ntv2enums.h
Enumerations for controlling NTV2 devices.
NTV2RegisterNameString
const char * NTV2RegisterNameString(const ULWord inRegNum)
Definition: ntv2debug.cpp:1152
NTV2FrameRateString
const char * NTV2FrameRateString(NTV2FrameRate rate)
Definition: ntv2debug.cpp:279
NTV2DeviceIDString
const char * NTV2DeviceIDString(const NTV2DeviceID id)
Definition: ntv2debug.cpp:15
std
Definition: json.hpp:5362
AJAExport
#define AJAExport
Definition: export.h:33
NTV2VideoFormat
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
NTV2FrameGeometryString
const char * NTV2FrameGeometryString(NTV2FrameGeometry geom)
Definition: ntv2debug.cpp:246
NTV2FrameGeometry
NTV2FrameGeometry
Identifies a particular video frame geometry.
Definition: ntv2enums.h:336
odprintf
#define odprintf
Definition: ntv2debug.h:40
ntv2RegStrings
const char * ntv2RegStrings[]
Definition: ntv2debug.cpp:565
NTV2VideoFormatString
const char * NTV2VideoFormatString(NTV2VideoFormat fmt)
Definition: ntv2debug.cpp:314