AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
ntv2dma.cpp File Reference

Implementations of DMA-related CNTV2Card methods. More...

#include "ntv2card.h"
#include "ntv2devicefeatures.h"
#include "ntv2utils.h"
#include "ajabase/system/debug.h"
#include <assert.h>
#include <map>
Include dependency graph for ntv2dma.cpp:

Go to the source code of this file.

Macros

#define INSTP(_p_)   xHEX0N(uint64_t(_p_),16)
 
#define LOGGING_DMA_ANC   (AJADebug::IsActive(AJA_DebugUnit_AncGeneric))
 
#define DMAANCFAIL(__x__)   AJA_sERROR (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DMAANCWARN(__x__)   AJA_sWARNING(AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DMAANCNOTE(__x__)   AJA_sNOTICE (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DMAANCINFO(__x__)   AJA_sINFO (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DMAANCDBG(__x__)   AJA_sDEBUG (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 

Typedefs

typedef map< ULWord, NTV2AncDataRgnOffsetAncRgns
 
typedef map< ULWord, NTV2AncDataRgnSizeAncRgns
 
typedef pair< ULWord, NTV2AncDataRgnOffsetAncRgn
 
typedef pair< ULWord, NTV2AncDataRgnSizeAncRgn
 
typedef OffsetAncRgns::const_iterator OffsetAncRgnsConstIter
 
typedef OffsetAncRgns::const_reverse_iterator OffsetAncRgnsConstRIter
 
typedef map< NTV2AncDataRgn, ULWordAncRgnOffsets
 
typedef map< NTV2AncDataRgn, ULWordAncRgnSizes
 
typedef AncRgnOffsets::const_iterator AncRgnOffsetsConstIter
 
typedef AncRgnSizes::const_iterator AncRgnSizesConstIter
 
typedef pair< NTV2AncDataRgn, ULWordAncRgnOffset
 
typedef pair< NTV2AncDataRgn, ULWordAncRgnSize
 

Detailed Description

Implementations of DMA-related CNTV2Card methods.

Definition in file ntv2dma.cpp.

Macro Definition Documentation

◆ DMAANCDBG

#define DMAANCDBG (   __x__)    AJA_sDEBUG (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 23 of file ntv2dma.cpp.

◆ DMAANCFAIL

#define DMAANCFAIL (   __x__)    AJA_sERROR (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 19 of file ntv2dma.cpp.

◆ DMAANCINFO

#define DMAANCINFO (   __x__)    AJA_sINFO (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 22 of file ntv2dma.cpp.

◆ DMAANCNOTE

#define DMAANCNOTE (   __x__)    AJA_sNOTICE (AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 21 of file ntv2dma.cpp.

◆ DMAANCWARN

#define DMAANCWARN (   __x__)    AJA_sWARNING(AJA_DebugUnit_AncGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 20 of file ntv2dma.cpp.

◆ INSTP

#define INSTP (   _p_)    xHEX0N(uint64_t(_p_),16)

Definition at line 17 of file ntv2dma.cpp.

◆ LOGGING_DMA_ANC

#define LOGGING_DMA_ANC   (AJADebug::IsActive(AJA_DebugUnit_AncGeneric))

Definition at line 18 of file ntv2dma.cpp.

Typedef Documentation

◆ AncRgnOffset

Definition at line 550 of file ntv2dma.cpp.

◆ AncRgnOffsets

Definition at line 547 of file ntv2dma.cpp.

◆ AncRgnOffsetsConstIter

typedef AncRgnOffsets::const_iterator AncRgnOffsetsConstIter

Definition at line 548 of file ntv2dma.cpp.

◆ AncRgnSize

Definition at line 550 of file ntv2dma.cpp.

◆ AncRgnSizes

Definition at line 547 of file ntv2dma.cpp.

◆ AncRgnSizesConstIter

typedef AncRgnSizes::const_iterator AncRgnSizesConstIter

Definition at line 549 of file ntv2dma.cpp.

◆ OffsetAncRgn

Definition at line 544 of file ntv2dma.cpp.

◆ OffsetAncRgns

Definition at line 543 of file ntv2dma.cpp.

◆ OffsetAncRgnsConstIter

typedef OffsetAncRgns::const_iterator OffsetAncRgnsConstIter

Definition at line 545 of file ntv2dma.cpp.

◆ OffsetAncRgnsConstRIter

typedef OffsetAncRgns::const_reverse_iterator OffsetAncRgnsConstRIter

Definition at line 546 of file ntv2dma.cpp.

◆ SizeAncRgn

Definition at line 544 of file ntv2dma.cpp.

◆ SizeAncRgns

Definition at line 543 of file ntv2dma.cpp.