AJA NTV2 SDK  17.5.0.1658
NTV2 SDK 17.5.0.1658
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ntv2debug.cpp File Reference

Declares the NTV2 debug output functions, including 'odprintf'. More...

#include "ntv2publicinterface.h"
#include "ntv2debug.h"
Include dependency graph for ntv2debug.cpp:

Go to the source code of this file.

Macros

#define NTV2DEBUG_ENUM_CASE_RETURN_STR(enum_name)   case(enum_name): return #enum_name;
 

Functions

const char * NTV2DeviceIDString (const NTV2DeviceID id)
 
const char * NTV2DeviceString (const NTV2DeviceID id)
 
const char * NTV2StandardString (NTV2Standard std)
 
const char * NTV2FrameBufferFormatString (NTV2FrameBufferFormat fmt)
 
const char * NTV2FrameGeometryString (NTV2FrameGeometry geom)
 
const char * NTV2FrameRateString (NTV2FrameRate rate)
 
const char * NTV2VideoFormatString (NTV2VideoFormat fmt)
 
const char * NTV2RegisterNameString (const ULWord inRegNum)
 
const char * NTV2InterruptEnumString (const unsigned inInterruptEnum)
 

Variables

const char * ntv2RegStrings_SDI_RX_Status []
 
const char * ntv2RegStrings []
 

Detailed Description

Declares the NTV2 debug output functions, including 'odprintf'.

Implements the NTV2 debug output functions.

Note
This module should remain straight ANSI 'C' – no C++ or STL.
Note
Because this module is compiled into the driver, it must remain straight ANSI 'C' – no C++ or STL.

Definition in file ntv2debug.cpp.

Macro Definition Documentation

◆ NTV2DEBUG_ENUM_CASE_RETURN_STR

#define NTV2DEBUG_ENUM_CASE_RETURN_STR (   enum_name)    case(enum_name): return #enum_name;

Definition at line 13 of file ntv2debug.cpp.

Function Documentation

◆ NTV2DeviceIDString()

const char* NTV2DeviceIDString ( const NTV2DeviceID  id)

Definition at line 15 of file ntv2debug.cpp.

◆ NTV2DeviceString()

const char* NTV2DeviceString ( const NTV2DeviceID  id)

Definition at line 95 of file ntv2debug.cpp.

◆ NTV2FrameBufferFormatString()

const char* NTV2FrameBufferFormatString ( NTV2FrameBufferFormat  fmt)

Definition at line 205 of file ntv2debug.cpp.

◆ NTV2FrameGeometryString()

const char* NTV2FrameGeometryString ( NTV2FrameGeometry  geom)

Definition at line 250 of file ntv2debug.cpp.

◆ NTV2FrameRateString()

const char* NTV2FrameRateString ( NTV2FrameRate  rate)

defined(NTV2_DEPRECATE_16_0)

Definition at line 283 of file ntv2debug.cpp.

◆ NTV2InterruptEnumString()

const char* NTV2InterruptEnumString ( const unsigned  inInterruptEnum)

Definition at line 1166 of file ntv2debug.cpp.

◆ NTV2RegisterNameString()

const char* NTV2RegisterNameString ( const ULWord  inRegNum)

Definition at line 1157 of file ntv2debug.cpp.

◆ NTV2StandardString()

const char* NTV2StandardString ( NTV2Standard  std)

Definition at line 176 of file ntv2debug.cpp.

◆ NTV2VideoFormatString()

const char* NTV2VideoFormatString ( NTV2VideoFormat  fmt)

Definition at line 318 of file ntv2debug.cpp.

Variable Documentation

◆ ntv2RegStrings

const char* ntv2RegStrings[]

Definition at line 570 of file ntv2debug.cpp.

◆ ntv2RegStrings_SDI_RX_Status

const char* ntv2RegStrings_SDI_RX_Status[]

Definition at line 498 of file ntv2debug.cpp.