AJA NTV2 SDK  17.6.0.1688
NTV2 SDK 17.6.0.1688
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ntv2rp188.cpp File Reference

Implements the CRP188 class. See SMPTE RP188 standard for details. More...

#include "ntv2rp188.h"
#include <sstream>
Include dependency graph for ntv2rp188.cpp:

Go to the source code of this file.

Functions

ostream & operator<< (std::ostream &outputStream, const CRP188 &inObj)
 Prints the given CRP188's contents into the given output stream. More...
 

Variables

const int kDigColon = 10
 
const int kDigSemicolon = 11
 
const int kDigDash = 12
 
const int kDigSpace = 13
 
const int kDigAsterisk = 14
 
const int kMaxTCChars = 15
 
const int kNumBurnInChars = 11
 
const int kDigitDotWidth = 24
 
const int kDigitDotHeight = 18
 
static const char CharMap [kMaxTCChars][kDigitDotHeight][kDigitDotWidth]
 
static char bcd [] = {'0','1','2','3','4','5','6','7','8','9','0','0','0','0','0','0'}
 
static char hexChar [] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}
 

Detailed Description

Implements the CRP188 class. See SMPTE RP188 standard for details.

Definition in file ntv2rp188.cpp.

Function Documentation

◆ operator<<()

ostream& operator<< ( std::ostream &  outputStream,
const CRP188 inObj 
)

Prints the given CRP188's contents into the given output stream.

Parameters
outputStreamThe stream into which the human-readable timecode will be written.
[in]inObjSpecifies the CRP188 instance to be streamed.
Returns
The ostream that was specified.

Definition at line 2081 of file ntv2rp188.cpp.

Variable Documentation

◆ bcd

char bcd[] = {'0','1','2','3','4','5','6','7','8','9','0','0','0','0','0','0'}
static

Definition at line 367 of file ntv2rp188.cpp.

◆ CharMap

const char CharMap[kMaxTCChars][kDigitDotHeight][kDigitDotWidth]
static

Definition at line 34 of file ntv2rp188.cpp.

◆ hexChar

char hexChar[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}
static

Definition at line 368 of file ntv2rp188.cpp.

◆ kDigAsterisk

const int kDigAsterisk = 14

Definition at line 25 of file ntv2rp188.cpp.

◆ kDigColon

const int kDigColon = 10

Definition at line 21 of file ntv2rp188.cpp.

◆ kDigDash

const int kDigDash = 12

Definition at line 23 of file ntv2rp188.cpp.

◆ kDigitDotHeight

const int kDigitDotHeight = 18

Definition at line 31 of file ntv2rp188.cpp.

◆ kDigitDotWidth

const int kDigitDotWidth = 24

Definition at line 30 of file ntv2rp188.cpp.

◆ kDigSemicolon

const int kDigSemicolon = 11

Definition at line 22 of file ntv2rp188.cpp.

◆ kDigSpace

const int kDigSpace = 13

Definition at line 24 of file ntv2rp188.cpp.

◆ kMaxTCChars

const int kMaxTCChars = 15

Definition at line 26 of file ntv2rp188.cpp.

◆ kNumBurnInChars

const int kNumBurnInChars = 11

Definition at line 28 of file ntv2rp188.cpp.