AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
AJA_DEBUG

Various parameters that define the characteristics of the shared debug memory space. SDK 16.0 introduced a new stats measurement feature that still allows logging to work in pre-16.0 clients. More...

Macros

#define AJA_DEBUG_MAGIC_ID   AJA_FOURCC('D','B','U','G')
 
#define AJA_DEBUG_VERSION   110
 
#define AJA_DEBUG_UNIT_ARRAY_SIZE   65536
 
#define AJA_DEBUG_SEVERITY_ARRAY_SIZE   64
 
#define AJA_DEBUG_MAX_NUM_STATS   256
 
#define AJA_DEBUG_STAT_DEQUE_SIZE   11
 
#define AJA_DEBUG_MESSAGE_MAX_SIZE   512
 
#define AJA_DEBUG_MESSAGE_RING_SIZE   4096
 
#define AJA_DEBUG_FILE_NAME_MAX_SIZE   512
 
#define AJA_DEBUG_SHARE_NAME   "aja-shm-debug"
 
#define AJA_DEBUG_TICK_RATE   1000000
 
#define AJA_DEBUG_STATE_FILE_VERSION   510
 

Typedefs

typedef enum _AJADebugStats AJADebugStats
 

Enumerations

enum  _AJADebugStats {
  AJA_DebugStat_ReadRegister = 0, AJA_DebugStat_WriteRegister, AJA_DebugStat_WaitForInterruptIn1, AJA_DebugStat_WaitForInterruptIn2,
  AJA_DebugStat_WaitForInterruptIn3, AJA_DebugStat_WaitForInterruptIn4, AJA_DebugStat_WaitForInterruptIn5, AJA_DebugStat_WaitForInterruptIn6,
  AJA_DebugStat_WaitForInterruptIn7, AJA_DebugStat_WaitForInterruptIn8, AJA_DebugStat_WaitForInterruptOut1, AJA_DebugStat_WaitForInterruptUartRx1,
  AJA_DebugStat_WaitForInterruptUartTx1, AJA_DebugStat_WaitForInterruptUartRx2, AJA_DebugStat_WaitForInterruptUartTx2, AJA_DebugStat_WaitForInterruptOthers,
  AJA_DebugStat_GetInterruptCount, AJA_DebugStat_DMATransfer, AJA_DebugStat_DMATransferEx, AJA_DebugStat_DMATransferP2P,
  AJA_DebugStat_AutoCirculate, AJA_DebugStat_AutoCirculateXfer, AJA_DebugStat_NTV2Message, AJA_DebugStat_HEVCSendMessage,
  AJA_DebugStat_ACXferRPCEncode, AJA_DebugStat_ACXferRPCDecode, AJA_DebugStat_NUM_STATS
}
 

Detailed Description

Various parameters that define the characteristics of the shared debug memory space. SDK 16.0 introduced a new stats measurement feature that still allows logging to work in pre-16.0 clients.

Macro Definition Documentation

◆ AJA_DEBUG_FILE_NAME_MAX_SIZE

#define AJA_DEBUG_FILE_NAME_MAX_SIZE   512

Maximum size of a file name

Definition at line 187 of file debugshare.h.

◆ AJA_DEBUG_MAGIC_ID

#define AJA_DEBUG_MAGIC_ID   AJA_FOURCC('D','B','U','G')

Magic identifier of the debug system

Definition at line 179 of file debugshare.h.

◆ AJA_DEBUG_MAX_NUM_STATS

#define AJA_DEBUG_MAX_NUM_STATS   256

Max number of individual stats measurements (multiple of 64)

Definition at line 183 of file debugshare.h.

◆ AJA_DEBUG_MESSAGE_MAX_SIZE

#define AJA_DEBUG_MESSAGE_MAX_SIZE   512

Maximum size of a message

Definition at line 185 of file debugshare.h.

◆ AJA_DEBUG_MESSAGE_RING_SIZE

#define AJA_DEBUG_MESSAGE_RING_SIZE   4096

Size of the message ring

Definition at line 186 of file debugshare.h.

◆ AJA_DEBUG_SEVERITY_ARRAY_SIZE

#define AJA_DEBUG_SEVERITY_ARRAY_SIZE   64

Number of severity destinations

Definition at line 182 of file debugshare.h.

◆ AJA_DEBUG_SHARE_NAME

#define AJA_DEBUG_SHARE_NAME   "aja-shm-debug"

Name of the shared memory for the debug messages

Definition at line 188 of file debugshare.h.

◆ AJA_DEBUG_STAT_DEQUE_SIZE

#define AJA_DEBUG_STAT_DEQUE_SIZE   11

Definition at line 184 of file debugshare.h.

◆ AJA_DEBUG_STATE_FILE_VERSION

#define AJA_DEBUG_STATE_FILE_VERSION   510

Version number of the state file format

Definition at line 190 of file debugshare.h.

◆ AJA_DEBUG_TICK_RATE

#define AJA_DEBUG_TICK_RATE   1000000

Resolution of debug time in ticks/second

Definition at line 189 of file debugshare.h.

◆ AJA_DEBUG_UNIT_ARRAY_SIZE

#define AJA_DEBUG_UNIT_ARRAY_SIZE   65536

Number of unit destinations

Definition at line 181 of file debugshare.h.

◆ AJA_DEBUG_VERSION

#define AJA_DEBUG_VERSION   110

Version of the debug system

Definition at line 180 of file debugshare.h.

Typedef Documentation

◆ AJADebugStats

Predefined debug (telemetry) statistics.

Enumeration Type Documentation

◆ _AJADebugStats

Predefined debug (telemetry) statistics.

Enumerator
AJA_DebugStat_ReadRegister 
AJA_DebugStat_WriteRegister 
AJA_DebugStat_WaitForInterruptIn1 
AJA_DebugStat_WaitForInterruptIn2 
AJA_DebugStat_WaitForInterruptIn3 
AJA_DebugStat_WaitForInterruptIn4 
AJA_DebugStat_WaitForInterruptIn5 
AJA_DebugStat_WaitForInterruptIn6 
AJA_DebugStat_WaitForInterruptIn7 
AJA_DebugStat_WaitForInterruptIn8 
AJA_DebugStat_WaitForInterruptOut1 
AJA_DebugStat_WaitForInterruptUartRx1 
AJA_DebugStat_WaitForInterruptUartTx1 
AJA_DebugStat_WaitForInterruptUartRx2 
AJA_DebugStat_WaitForInterruptUartTx2 
AJA_DebugStat_WaitForInterruptOthers 
AJA_DebugStat_GetInterruptCount 
AJA_DebugStat_DMATransfer 
AJA_DebugStat_DMATransferEx 
AJA_DebugStat_DMATransferP2P 
AJA_DebugStat_AutoCirculate 
AJA_DebugStat_AutoCirculateXfer 
AJA_DebugStat_NTV2Message 
AJA_DebugStat_HEVCSendMessage 
AJA_DebugStat_ACXferRPCEncode 
AJA_DebugStat_ACXferRPCDecode 
AJA_DebugStat_NUM_STATS 

Definition at line 222 of file debugshare.h.