13 #define NTV2DEBUG_ENUM_CASE_RETURN_STR(enum_name) case(enum_name): return #enum_name; 212 #if !defined (_DEBUG) 257 #if !defined (_DEBUG) 290 #if !defined (_DEBUG) 316 #if !defined(NTV2_DEPRECATE_16_0) 322 NTV2DEBUG_ENUM_CASE_RETURN_STR(NTV2_FRAMERATE_INVALID) 325 #if !defined (_DEBUG) 503 #if !defined (_DEBUG) 516 "SDI 1 RX CRC Error Count",
517 "SDI 1 RX Frame Count Low",
518 "SDI 1 RX Frame Count High",
519 "SDI 1 RX Frame Ref Count Low",
520 "SDI 1 RX Frame Ref Count High",
521 "Unused SDI Register 2054",
522 "Unused SDI Register 2055",
524 "SDI 2 RX CRC Error Count",
525 "SDI 2 RX Frame Count Low",
526 "SDI 2 RX Frame Count High",
527 "SDI 2 RX Frame Ref Count Low",
528 "SDI 2 RX Frame Ref Count High",
529 "Unused SDI Register 2062",
530 "Unused SDI Register 2063",
532 "SDI 3 RX CRC Error Count",
533 "SDI 3 RX Frame Count Low",
534 "SDI 3 RX Frame Count High",
535 "SDI 3 RX Frame Ref Count Low",
536 "SDI 3 RX Frame Ref Count High",
537 "Unused SDI Register 2070",
538 "Unused SDI Register 2071",
540 "SDI 4 RX CRC Error Count",
541 "SDI 4 RX Frame Count Low",
542 "SDI 4 RX Frame Count High",
543 "SDI 4 RX Frame Ref Count Low",
544 "SDI 4 RX Frame Ref Count High",
545 "Unused SDI Register 2078",
546 "Unused SDI Register 2079",
548 "SDI 5 RX CRC Error Count",
549 "SDI 5 RX Frame Count Low",
550 "SDI 5 RX Frame Count High",
551 "SDI 5 RX Frame Ref Count Low",
552 "SDI 5 RX Frame Ref Count High",
553 "Unused SDI Register 2086",
554 "Unused SDI Register 2087",
556 "SDI 6 RX CRC Error Count",
557 "SDI 6 RX Frame Count Low",
558 "SDI 6 RX Frame Count High",
559 "SDI 6 RX Frame Ref Count Low",
560 "SDI 6 RX Frame Ref Count High",
561 "Unused SDI Register 2094",
562 "Unused SDI Register 2095",
564 "SDI 7 RX CRC Error Count",
565 "SDI 7 RX Frame Count Low",
566 "SDI 7 RX Frame Count High",
567 "SDI 7 RX Frame Ref Count Low",
568 "SDI 7 RX Frame Ref Count High",
569 "Unused SDI Register 2102",
570 "Unused SDI Register 2103",
572 "SDI 8 RX CRC Error Count",
573 "SDI 8 RX Frame Count Low",
574 "SDI 8 RX Frame Count High",
575 "SDI 8 RX Frame Ref Count Low",
576 "SDI 8 RX Frame Ref Count High",
577 "Unused SDI Register 2110",
578 "Unused SDI Register 2111",
579 "Free Running Clock Low",
580 "Free Running Clock High" 585 #define REG_STR(_x_) #_x_ 775 REG_STR(kRegAudioChannelMappingCh3),
1176 static const char * sEmpty (
"");
1185 static const char * sNullString =
"";
1186 static const char * sInterruptEnumStrings[] = {
"eOutput1",
1202 "eAuxVerticalInterrupt",
1203 "ePushButtonChange",
1209 "ePowerButtonChange",
1214 "eHDMIRxV2HotplugDetect",
1227 #if !defined(NTV2_BUILDING_DRIVER) 1231 return sInterruptEnumStrings[inInterruptEnum];
1240 void __cdecl
odprintf(
const char *format, ...)
1243 char buf[4096], *p = buf;
1246 va_start(args, format);
1247 p += _vsnprintf_s(buf,
sizeof buf - 1, format, args);
1250 while ( p > buf && isspace(p[-1]) )
1257 ::OutputDebugStringA(buf);
Fractional rate of 15,000 frames per 1,001 seconds.
const char * ntv2RegStrings_SDI_RX_Status[]
const char * NTV2FrameGeometryString(NTV2FrameGeometry geom)
const char * NTV2DeviceIDString(const NTV2DeviceID id)
Identifies SMPTE HD 1080p.
1920x1080, for 1080i and 1080p, NTV2_VANCMODE_TALL
NTV2FrameBufferFormat
Identifies a particular video frame buffer pixel format. See Device Frame Buffer Formats for details...
10-Bit 4:2:2 2-Plane YCbCr
720x576, for PAL 625i, NTV2_VANCMODE_TALL
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.
See 10-Bit Raw YCbCr (CION).
See Alternate 8-Bit YCbCr ('YUY2').
See 10-Bit YCbCr - DPX Format.
Identifies high frame-rate UHD.
See 3-Plane 10-Bit YCbCr 4:2:2 ('I422_10LE' a.k.a. 'YUV-P-L10').
See 3-Plane 8-Bit YCbCr 4:2:0 ('I420' a.k.a. 'YUV-P420').
2048x1080, for 2Kx1080p, NTV2_VANCMODE_TALL
Fractional rate of 60,000 frames per 1,001 seconds.
3840x2160, for UHD, NTV2_VANCMODE_OFF
const char * ntv2RegStrings[]
#define NTV2_ASSERT(_expr_)
Identifies SMPTE HD 2K1080psf.
See 3-Plane 8-Bit YCbCr 4:2:2 (Weitek 'Y42B' a.k.a. 'YUV-P8').
Identifies SMPTE HD 720p.
2048x1556, for 2Kx1556psf film format, NTV2_VANCMODE_OFF
Fractional rate of 48,000 frames per 1,001 seconds.
NTV2FrameRate
Identifies a particular video frame rate.
7680x4320, for UHD2, NTV2_VANCMODE_OFF
2048x1080, NTV2_VANCMODE_TALLER
8-Bit 4:2:2 2-Plane YCbCr
NTV2Standard
Identifies a particular video standard.
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
1920x1080, for 1080i and 1080p, NTV2_VANCMODE_OFF
const char * NTV2RegisterNameString(const ULWord inRegNum)
Identifies Ultra-High-Definition (UHD) psf.
1280x720, for 720p, NTV2_VANCMODE_TALL
const char * NTV2VideoFormatString(NTV2VideoFormat fmt)
Software device that doesn't emulate one of the above devices.
See 8-Bit ARGB, RGBA, ABGR Formats.
See 8-Bit ARGB, RGBA, ABGR Formats.
const char * NTV2DeviceString(const NTV2DeviceID id)
Identifies SMPTE HD 2K1080p.
1920x1080, NTV2_VANCMODE_TALLER
720x486, for NTSC 525i, NTV2_VANCMODE_TALL
See 3-Plane 10-Bit YCbCr 4:2:0 ('I420_10LE' a.k.a. 'YUV-P420-L10').
const char * NTV2StandardString(NTV2Standard std)
const char * NTV2FrameBufferFormatString(NTV2FrameBufferFormat fmt)
4096x2160, for 4K, NTV2_VANCMODE_OFF
8192x4320, for 8K, NTV2_VANCMODE_OFF
Identifies SMPTE HD 1080i or 1080psf.
Identifies Ultra-High-Definition (UHD)
Fractional rate of 30,000 frames per 1,001 seconds.
10-Bit 4:2:0 2-Plane YCbCr
Identifies SMPTE SD 625i.
2048x1080, for 2Kx1080p, NTV2_VANCMODE_OFF
NTV2FrameGeometry
Identifies a particular video frame geometry.
720x576, for PAL 625i, NTV2_VANCMODE_OFF
See 8-Bit ARGB, RGBA, ABGR Formats.
720x486, for NTSC 525i and 525p60, NTV2_VANCMODE_OFF
Identifies high frame-rate 4K.
const char * NTV2FrameRateString(NTV2FrameRate rate)
See 10-Bit RGB - DPX Format.
#define NTV2DEBUG_ENUM_CASE_RETURN_STR(enum_name)
2048x1556, for 2Kx1556psf film format, NTV2_VANCMODE_TALL
const char * NTV2InterruptEnumString(const unsigned inInterruptEnum)
8-Bit 4:2:0 2-Plane YCbCr
720x576, for PAL 625i, NTV2_VANCMODE_TALLER
Declares enums and structs used by all platform drivers and the SDK.
Fractional rate of 24,000 frames per 1,001 seconds.
720x486, for NTSC 525i and 525p60, NTV2_VANCMODE_TALLER