AJA NTV2 SDK
17.0.1.1246
NTV2 SDK 17.0.1.1246
|
Implementation of CNTV2SupportLogger class. More...
#include "ntv2supportlogger.h"
#include "ntv2devicescanner.h"
#include "ntv2devicefeatures.h"
#include "ntv2konaflashprogram.h"
#include "ntv2registerexpert.h"
#include "ntv2registersmb.h"
#include "ntv2rp188.h"
#include "ajabase/common/common.h"
#include "ajabase/persistence/persistence.h"
#include "ajabase/system/info.h"
#include <algorithm>
#include <sstream>
#include <vector>
#include <iterator>
Go to the source code of this file.
Classes | |
struct | registerToLoadString |
Macros | |
#define | PATH_DELIMITER "/" |
#define | AsMacDriverInterface(_x_) reinterpret_cast<CNTV2MacDriverInterface*>(&(_x_)) |
#define | AsDriverInterface(_x_) reinterpret_cast<CNTV2DriverInterface*>(&(_x_)) |
#define | LoggerSectionToFunctionMacro(_SectionEnum_, _SectionString_, _SectionMethod_) |
Typedefs | |
typedef map< NTV2Channel, AUTOCIRCULATE_STATUS > | ChannelToACStatus |
typedef ChannelToACStatus::const_iterator | ChannelToACStatusConstIter |
typedef pair< NTV2Channel, AUTOCIRCULATE_STATUS > | ChannelToACStatusPair |
typedef map< uint16_t, NTV2TimeCodeList > | FrameToTCList |
typedef FrameToTCList::const_iterator | FrameToTCListConstIter |
typedef pair< uint16_t, NTV2TimeCodeList > | FrameToTCListPair |
typedef map< NTV2Channel, FrameToTCList > | ChannelToPerFrameTCList |
typedef ChannelToPerFrameTCList::const_iterator | ChannelToPerFrameTCListConstIter |
typedef pair< NTV2Channel, FrameToTCList > | ChannelToPerFrameTCListPair |
Functions | |
static string | makeHeader (ostringstream &oss, const string &inName) |
static string | timecodeToString (const NTV2_RP188 &inRP188) |
static string | appSignatureToString (const ULWord inAppSignature) |
static string | pidToString (const uint32_t inPID) |
static uint32_t | maxSampleCountForNTV2AudioBufferSize (const NTV2AudioBufferSize inBufferSize, const uint16_t inChannelCount) |
static NTV2VideoFormat | getVideoFormat (CNTV2Card &device, const NTV2Channel inChannel) |
static NTV2PixelFormat | getPixelFormat (CNTV2Card &device, const NTV2Channel inChannel) |
static NTV2Mode | getMode (CNTV2Card &device, const NTV2Channel inChannel) |
static bool | isEnabled (CNTV2Card &device, const NTV2Channel inChannel) |
static ULWord | getActiveFrame (CNTV2Card &device, const NTV2Channel inChannel) |
static string | getActiveFrameStr (CNTV2Card &device, const NTV2Channel inChannel) |
static ULWord | readCurrentAudioPosition (CNTV2Card &device, NTV2AudioSystem audioSystem, NTV2Mode mode) |
static ULWord | getNumAudioChannels (CNTV2Card &device, NTV2AudioSystem audioSystem) |
static ULWord | bytesToSamples (CNTV2Card &device, NTV2AudioSystem audioSystem, const ULWord inBytes) |
static ULWord | getCurrentPositionSamples (CNTV2Card &device, NTV2AudioSystem audioSystem, NTV2Mode mode) |
static ULWord | getMaxNumSamples (CNTV2Card &device, NTV2AudioSystem audioSystem) |
static NTV2Channel | findActiveACChannel (CNTV2Card &device, NTV2AudioSystem audioSystem, AUTOCIRCULATE_STATUS &outStatus) |
static bool | detectInputChannelPairs (CNTV2Card &device, const NTV2AudioSource inAudioSource, const NTV2EmbeddedAudioInput inEmbeddedSource, NTV2AudioChannelPairs &outChannelPairsPresent) |
static bool | getBitfileDate (CNTV2Card &device, string &outDateString, NTV2XilinxFPGA whichFPGA) |
ostream & | operator<< (ostream &outStream, const CNTV2SupportLogger &inData) |
static string | HEX0NStr (const uint32_t inNum, const uint16_t inWidth) |
static string | xHEX0NStr (const uint32_t inNum, const uint16_t inWidth) |
template<class T > | |
string | DECStr (const T &inT) |
Variables | |
const registerToLoadString | registerToLoadStrings [] |
Implementation of CNTV2SupportLogger class.
Definition in file ntv2supportlogger.cpp.
#define AsDriverInterface | ( | _x_ | ) | reinterpret_cast<CNTV2DriverInterface*>(&(_x_)) |
Definition at line 41 of file ntv2supportlogger.cpp.
#define AsMacDriverInterface | ( | _x_ | ) | reinterpret_cast<CNTV2MacDriverInterface*>(&(_x_)) |
Definition at line 40 of file ntv2supportlogger.cpp.
#define LoggerSectionToFunctionMacro | ( | _SectionEnum_, | |
_SectionString_, | |||
_SectionMethod_ | |||
) |
Definition at line 385 of file ntv2supportlogger.cpp.
#define PATH_DELIMITER "/" |
Definition at line 25 of file ntv2supportlogger.cpp.
typedef map<NTV2Channel, AUTOCIRCULATE_STATUS> ChannelToACStatus |
Definition at line 31 of file ntv2supportlogger.cpp.
typedef ChannelToACStatus::const_iterator ChannelToACStatusConstIter |
Definition at line 32 of file ntv2supportlogger.cpp.
typedef pair<NTV2Channel, AUTOCIRCULATE_STATUS> ChannelToACStatusPair |
Definition at line 33 of file ntv2supportlogger.cpp.
typedef map<NTV2Channel, FrameToTCList> ChannelToPerFrameTCList |
Definition at line 37 of file ntv2supportlogger.cpp.
typedef ChannelToPerFrameTCList::const_iterator ChannelToPerFrameTCListConstIter |
Definition at line 38 of file ntv2supportlogger.cpp.
typedef pair<NTV2Channel, FrameToTCList> ChannelToPerFrameTCListPair |
Definition at line 39 of file ntv2supportlogger.cpp.
typedef map<uint16_t, NTV2TimeCodeList> FrameToTCList |
Definition at line 34 of file ntv2supportlogger.cpp.
typedef FrameToTCList::const_iterator FrameToTCListConstIter |
Definition at line 35 of file ntv2supportlogger.cpp.
typedef pair<uint16_t, NTV2TimeCodeList> FrameToTCListPair |
Definition at line 36 of file ntv2supportlogger.cpp.
|
static |
Definition at line 62 of file ntv2supportlogger.cpp.
|
static |
Definition at line 187 of file ntv2supportlogger.cpp.
string DECStr | ( | const T & | inT | ) |
Definition at line 450 of file ntv2supportlogger.cpp.
|
static |
Definition at line 222 of file ntv2supportlogger.cpp.
|
static |
Definition at line 206 of file ntv2supportlogger.cpp.
|
static |
Definition at line 151 of file ntv2supportlogger.cpp.
|
static |
Definition at line 161 of file ntv2supportlogger.cpp.
|
static |
Definition at line 259 of file ntv2supportlogger.cpp.
|
static |
Definition at line 192 of file ntv2supportlogger.cpp.
|
static |
Definition at line 198 of file ntv2supportlogger.cpp.
|
static |
Definition at line 137 of file ntv2supportlogger.cpp.
|
static |
Definition at line 180 of file ntv2supportlogger.cpp.
|
static |
Definition at line 130 of file ntv2supportlogger.cpp.
|
static |
Definition at line 123 of file ntv2supportlogger.cpp.
|
inlinestatic |
Definition at line 448 of file ntv2supportlogger.cpp.
|
static |
Definition at line 144 of file ntv2supportlogger.cpp.
|
static |
Definition at line 43 of file ntv2supportlogger.cpp.
|
static |
Definition at line 107 of file ntv2supportlogger.cpp.
ostream& operator<< | ( | ostream & | outStream, |
const CNTV2SupportLogger & | inData | ||
) |
Definition at line 304 of file ntv2supportlogger.cpp.
|
static |
Definition at line 75 of file ntv2supportlogger.cpp.
|
static |
Definition at line 170 of file ntv2supportlogger.cpp.
|
static |
Definition at line 49 of file ntv2supportlogger.cpp.
|
inlinestatic |
Definition at line 449 of file ntv2supportlogger.cpp.
const registerToLoadString registerToLoadStrings[] |
Definition at line 904 of file ntv2supportlogger.cpp.