AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
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 93 of file ntv2debug.cpp.

◆ NTV2FrameBufferFormatString()

const char* NTV2FrameBufferFormatString ( NTV2FrameBufferFormat  fmt)

Definition at line 201 of file ntv2debug.cpp.

◆ NTV2FrameGeometryString()

const char* NTV2FrameGeometryString ( NTV2FrameGeometry  geom)

Definition at line 246 of file ntv2debug.cpp.

◆ NTV2FrameRateString()

const char* NTV2FrameRateString ( NTV2FrameRate  rate)

defined(NTV2_DEPRECATE_16_0)

Definition at line 279 of file ntv2debug.cpp.

◆ NTV2InterruptEnumString()

const char* NTV2InterruptEnumString ( const unsigned  inInterruptEnum)

Definition at line 1161 of file ntv2debug.cpp.

◆ NTV2RegisterNameString()

const char* NTV2RegisterNameString ( const ULWord  inRegNum)

Definition at line 1152 of file ntv2debug.cpp.

◆ NTV2StandardString()

const char* NTV2StandardString ( NTV2Standard  std)

Definition at line 172 of file ntv2debug.cpp.

◆ NTV2VideoFormatString()

const char* NTV2VideoFormatString ( NTV2VideoFormat  fmt)

Definition at line 314 of file ntv2debug.cpp.

Variable Documentation

◆ ntv2RegStrings

const char* ntv2RegStrings[]

Definition at line 565 of file ntv2debug.cpp.

◆ ntv2RegStrings_SDI_RX_Status

const char* ntv2RegStrings_SDI_RX_Status[]

Definition at line 493 of file ntv2debug.cpp.