AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Declares the NTV2CaptionLogMask, and the CNTV2CaptionLogConfig class. More...
#include "ajatypes.h"
#include "ntv2publicinterface.h"
#include <stdint.h>
#include <string>
#include <iostream>
#include <set>
Go to the source code of this file.
Classes | |
class | CNTV2CaptionLogConfig |
Macros | |
#define | NULL 0 |
#define | AJACC_ASSERT NTV2_ASSERT |
#define | UHEX2(_c_) HEX0N(uint16_t(_c_),2) |
#define | HEX4(_uword_) HEX0N((_uword_),4) |
#define | Line21ColumnSetToString Line21RowSetToString |
Typedefs | |
typedef uint64_t | NTV2CaptionLogMask |
Selectors to control what information is logged. More... | |
typedef std::set< int > | Line21RowSet |
A set of caption row numbers. More... | |
typedef Line21RowSet | Line21ColumnSet |
A set of caption column numbers. More... | |
typedef Line21RowSet::const_iterator | Line21RowSetConstIter |
A const iterator for a Line21RowSet. More... | |
typedef Line21RowSetConstIter | Line21ColumnSetConstIter |
A const iterator for a Line21ColumnSet. More... | |
Functions | |
const uint64_t | kCaptionLog_All (0xFFFFFFFFFFFFFFFF) |
Log everything possible. More... | |
const uint64_t | kCaptionLog_Off (0x0000000000000000) |
Don't log anything. More... | |
const uint64_t | kCaptionLog_Decode608 (0x0000000000000001) |
Log decode (input) 608 events. More... | |
const uint64_t | kCaptionLog_DecodeXDS (0x0000000000000002) |
Log decode (input) XDS info. More... | |
const uint64_t | kCaptionLog_Line21DetectSuccess (0x0000000000000100) |
Log line 21 waveform detect successes. More... | |
const uint64_t | kCaptionLog_Line21DetectFail (0x0000000000000200) |
Log line 21 waveform detect failures. More... | |
const uint64_t | kCaptionLog_Line21DecodeSuccess (0x0000000000000400) |
Log line 21 waveform decode successes. More... | |
const uint64_t | kCaptionLog_Line21DecodeFail (0x0000000000000800) |
Log line 21 waveform decode failures. More... | |
const uint64_t | kCaptionLog_608ShowScreen (0x0000000000008000) |
Log screen for 608 channel of interest. More... | |
const uint64_t | kCaptionLog_608ShowAllScreens (0x0000000000010000) |
Log screens for all 608 channels. More... | |
const uint64_t | kCaptionLog_608ShowScreenAttrs (0x0000000000020000) |
Log screen attributes for 608 channel of interest. More... | |
const uint64_t | kCaptionLog_DecodeVANC (0x0000000000100000) |
Log decode (input) VANC data. More... | |
const uint64_t | kCaptionLog_DecodeCDP (0x0000000000200000) |
Log decode (input) CDP data. More... | |
std::string | Line21RowSetToString (const Line21RowSet &inRowSet) |
void | SetDefaultCaptionLogMask (const NTV2CaptionLogMask inMask) |
Sets the default log mask that will be used by newly-created objects in the caption library. More... | |
NTV2CaptionLogMask | GetDefaultCaptionLogMask (void) |
Answers with the default log mask used when creating new objects in the caption library. More... | |
void | SetDefaultCaptionLogOutputStream (std::ostream &inOutputStream) |
std::ostream & | GetDefaultCaptionLogOutputStream (void) |
Declares the NTV2CaptionLogMask, and the CNTV2CaptionLogConfig class.
Definition in file ntv2captionlogging.h.
#define AJACC_ASSERT NTV2_ASSERT |
Definition at line 28 of file ntv2captionlogging.h.
#define HEX4 | ( | _uword_ | ) | HEX0N((_uword_),4) |
Definition at line 32 of file ntv2captionlogging.h.
#define Line21ColumnSetToString Line21RowSetToString |
Definition at line 61 of file ntv2captionlogging.h.
#define NULL 0 |
Definition at line 23 of file ntv2captionlogging.h.
#define UHEX2 | ( | _c_ | ) | HEX0N(uint16_t(_c_),2) |
Definition at line 31 of file ntv2captionlogging.h.
typedef Line21RowSet Line21ColumnSet |
A set of caption column numbers.
Definition at line 56 of file ntv2captionlogging.h.
A const iterator for a Line21ColumnSet.
Definition at line 58 of file ntv2captionlogging.h.
typedef std::set<int> Line21RowSet |
A set of caption row numbers.
Definition at line 55 of file ntv2captionlogging.h.
typedef Line21RowSet::const_iterator Line21RowSetConstIter |
A const iterator for a Line21RowSet.
Definition at line 57 of file ntv2captionlogging.h.
typedef uint64_t NTV2CaptionLogMask |
Selectors to control what information is logged.
Definition at line 38 of file ntv2captionlogging.h.
NTV2CaptionLogMask GetDefaultCaptionLogMask | ( | void | ) |
Answers with the default log mask used when creating new objects in the caption library.
std::ostream& GetDefaultCaptionLogOutputStream | ( | void | ) |
const uint64_t kCaptionLog_608ShowAllScreens | ( | 0x0000000000010000 | ) |
Log screens for all 608 channels.
const uint64_t kCaptionLog_608ShowScreen | ( | 0x0000000000008000 | ) |
Log screen for 608 channel of interest.
const uint64_t kCaptionLog_608ShowScreenAttrs | ( | 0x0000000000020000 | ) |
Log screen attributes for 608 channel of interest.
const uint64_t kCaptionLog_All | ( | 0xFFFFFFFFFFFFFFFF | ) |
Log everything possible.
const uint64_t kCaptionLog_Decode608 | ( | 0x0000000000000001 | ) |
Log decode (input) 608 events.
const uint64_t kCaptionLog_DecodeCDP | ( | 0x0000000000200000 | ) |
Log decode (input) CDP data.
const uint64_t kCaptionLog_DecodeVANC | ( | 0x0000000000100000 | ) |
Log decode (input) VANC data.
const uint64_t kCaptionLog_DecodeXDS | ( | 0x0000000000000002 | ) |
Log decode (input) XDS info.
const uint64_t kCaptionLog_Line21DecodeFail | ( | 0x0000000000000800 | ) |
Log line 21 waveform decode failures.
const uint64_t kCaptionLog_Line21DecodeSuccess | ( | 0x0000000000000400 | ) |
Log line 21 waveform decode successes.
const uint64_t kCaptionLog_Line21DetectFail | ( | 0x0000000000000200 | ) |
Log line 21 waveform detect failures.
const uint64_t kCaptionLog_Line21DetectSuccess | ( | 0x0000000000000100 | ) |
Log line 21 waveform detect successes.
const uint64_t kCaptionLog_Off | ( | 0x0000000000000000 | ) |
Don't log anything.
std::string Line21RowSetToString | ( | const Line21RowSet & | inRowSet | ) |
void SetDefaultCaptionLogMask | ( | const NTV2CaptionLogMask | inMask | ) |
Sets the default log mask that will be used by newly-created objects in the caption library.
[in] | inMask | A non-constant reference to an output stream that will be used in newly-created objects in the caption library. |
void SetDefaultCaptionLogOutputStream | ( | std::ostream & | inOutputStream | ) |