AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
#include <ntv2rp188.h>
Public Member Functions | |
CRP188 () | |
CRP188 (const RP188_STRUCT &rp188, const TimecodeFormat tcFormat=kTCFormat30fps) | |
CRP188 (const NTV2_RP188 &rp188, const TimecodeFormat tcFormat=kTCFormat30fps) | |
CRP188 (const std::string &sRP188, const TimecodeFormat tcFormat=kTCFormat30fps) | |
CRP188 (ULWord ulFrms, ULWord ulSecs, ULWord ulMins, ULWord ulHrs, const TimecodeFormat tcFormat=kTCFormat30fps) | |
CRP188 (ULWord frames, const TimecodeFormat tcFormat=kTCFormat30fps) | |
virtual | ~CRP188 () |
void | Init () |
bool | operator== (const CRP188 &s) |
void | SetRP188 (ULWord ulFrms, ULWord ulSecs, ULWord ulMins, ULWord ulHrs, NTV2FrameRate frameRate, const bool bDropFrame=false, const bool bSMPTE372=false) |
void | SetRP188 (const RP188_STRUCT &rp188, const TimecodeFormat tcFormat=kTCFormatUnknown) |
void | SetRP188 (const NTV2_RP188 &rp188, const TimecodeFormat tcFormat=kTCFormatUnknown) |
void | SetRP188 (const std::string &sRP188, const TimecodeFormat tcFormat=kTCFormatUnknown) |
void | SetRP188 (ULWord ulFrms, ULWord ulSecs, ULWord ulMins, ULWord ulHrs, const TimecodeFormat tcFormat=kTCFormatUnknown) |
void | SetRP188 (ULWord frames, const TimecodeFormat tcFormat=kTCFormatUnknown) |
void | SetDropFrame (bool bDropFrameFlag) |
void | SetColorFrame (bool bColorFrameFlag) |
void | SetVaricamFrameActive (bool bVaricamActive, ULWord frame) |
void | SetVaricamRate (NTV2FrameRate frameRate) |
void | SetFieldID (ULWord fieldID) |
bool | GetFieldID (void) |
void | SetBFGBits (bool bBFG0, bool bBFG1, bool bBFG2) |
void | SetSource (UByte src) |
void | SetOutputFilter (UByte src) |
bool | GetRP188Str (std::string &sRP188) const |
const char * | GetRP188CString () const |
bool | GetRP188Secs (ULWord &ulSecs) const |
bool | GetRP188Frms (ULWord &ulFrms) const |
bool | GetRP188Mins (ULWord &ulMins) const |
bool | GetRP188Hrs (ULWord &ulHrs) const |
bool | GetRP188Reg (RP188_STRUCT &outRP188) const |
bool | GetRP188Reg (NTV2_RP188 &outRP188) const |
bool | GetFrameCount (ULWord &frameCount) |
ULWord | MaxFramesPerDay (TimecodeFormat format=kTCFormatUnknown) const |
void | ConvertTimecode (ULWord &frameCount, TimecodeFormat format, ULWord hours, ULWord minutes, ULWord seconds, ULWord frames) |
void | ConvertFrameCount (ULWord frameCount, TimecodeFormat format, ULWord &hours, ULWord &minutes, ULWord &seconds, ULWord &frames) |
ULWord | AddFrames (ULWord frameCount) |
ULWord | SubtractFrames (ULWord frameCount) |
bool | GetRP188UserBitsStr (std::string &sRP188UB) |
const char * | GetRP188UserBitsCString () |
UByte | GetSource () const |
UByte | GetOutputFilter () const |
TimecodeFormat | GetTimecodeFormat () |
bool | IsFreshRP188 (void) |
bool | VaricamFrame0 (void) |
bool | VaricamFrame1 (void) |
ULWord | VaricamFrameRate (void) |
NTV2FrameRate | defaultFrameRateForTimecodeFormat (TimecodeFormat format=kTCFormatUnknown) const |
bool | FormatIsDropFrame (TimecodeFormat format=kTCFormatUnknown) const |
bool | FormatIs60_50fps (TimecodeFormat format=kTCFormatUnknown) const |
bool | FormatIsPAL (TimecodeFormat format=kTCFormatUnknown) const |
ULWord | FieldID (void) |
bool | DropFrame (void) |
bool | ColorFrame (void) |
ULWord | BinaryGroup (ULWord smpteNum) |
bool | SetBinaryGroup (ULWord smpteNum, ULWord bits) |
bool | SetUserBits (ULWord bits) |
ULWord | UDW (ULWord smpteUDW) |
ULWord | FramesPerSecond (TimecodeFormat format=kTCFormatUnknown) const |
NTV2FrameRate | DefaultFrameRateForTimecodeFormat (TimecodeFormat format=kTCFormatUnknown) const |
bool | InitBurnIn (NTV2FrameBufferFormat frameBufferFormat, NTV2FrameDimensions frameDimensions, LWord percentY=0) |
void | writeV210Pixel (char **pBytePtr, int x, int c, int y) |
bool | BurnTC (char *pBaseVideoAddress, int rowBytes, TimecodeBurnMode burnMode, int64_t frameCount=kDefaultFrameCount, bool bDisplay60_50fpsAs30_25=false) |
void | CopyDigit (char *pDigit, int digitWidth, int digitHeight, char *pFrameBuff, int fbRowBytes) |
std::string | GetTimeCodeString (bool bDisplay60_50fpsAs30_25=false) |
Definition at line 55 of file ntv2rp188.h.
CRP188::CRP188 | ( | ) |
Definition at line 374 of file ntv2rp188.cpp.
CRP188::CRP188 | ( | const RP188_STRUCT & | rp188, |
const TimecodeFormat | tcFormat = kTCFormat30fps |
||
) |
Definition at line 386 of file ntv2rp188.cpp.
CRP188::CRP188 | ( | const NTV2_RP188 & | rp188, |
const TimecodeFormat | tcFormat = kTCFormat30fps |
||
) |
Definition at line 392 of file ntv2rp188.cpp.
CRP188::CRP188 | ( | const std::string & | sRP188, |
const TimecodeFormat | tcFormat = kTCFormat30fps |
||
) |
CRP188::CRP188 | ( | ULWord | ulFrms, |
ULWord | ulSecs, | ||
ULWord | ulMins, | ||
ULWord | ulHrs, | ||
const TimecodeFormat | tcFormat = kTCFormat30fps |
||
) |
Definition at line 380 of file ntv2rp188.cpp.
CRP188::CRP188 | ( | ULWord | frames, |
const TimecodeFormat | tcFormat = kTCFormat30fps |
||
) |
Definition at line 404 of file ntv2rp188.cpp.
|
virtual |
Definition at line 411 of file ntv2rp188.cpp.
Definition at line 1122 of file ntv2rp188.cpp.
Definition at line 1270 of file ntv2rp188.cpp.
bool CRP188::BurnTC | ( | char * | pBaseVideoAddress, |
int | rowBytes, | ||
TimecodeBurnMode | burnMode, | ||
int64_t | frameCount = kDefaultFrameCount , |
||
bool | bDisplay60_50fpsAs30_25 = false |
||
) |
Definition at line 1839 of file ntv2rp188.cpp.
|
inline |
Definition at line 126 of file ntv2rp188.h.
void CRP188::ConvertFrameCount | ( | ULWord | frameCount, |
TimecodeFormat | format, | ||
ULWord & | hours, | ||
ULWord & | minutes, | ||
ULWord & | seconds, | ||
ULWord & | frames | ||
) |
Definition at line 1026 of file ntv2rp188.cpp.
void CRP188::ConvertTimecode | ( | ULWord & | frameCount, |
TimecodeFormat | format, | ||
ULWord | hours, | ||
ULWord | minutes, | ||
ULWord | seconds, | ||
ULWord | frames | ||
) |
Definition at line 961 of file ntv2rp188.cpp.
void CRP188::CopyDigit | ( | char * | pDigit, |
int | digitWidth, | ||
int | digitHeight, | ||
char * | pFrameBuff, | ||
int | fbRowBytes | ||
) |
Definition at line 1999 of file ntv2rp188.cpp.
NTV2FrameRate CRP188::defaultFrameRateForTimecodeFormat | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
NTV2FrameRate CRP188::DefaultFrameRateForTimecodeFormat | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1399 of file ntv2rp188.cpp.
|
inline |
Definition at line 124 of file ntv2rp188.h.
|
inline |
Definition at line 122 of file ntv2rp188.h.
bool CRP188::FormatIs60_50fps | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1209 of file ntv2rp188.cpp.
bool CRP188::FormatIsDropFrame | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1193 of file ntv2rp188.cpp.
bool CRP188::FormatIsPAL | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1228 of file ntv2rp188.cpp.
ULWord CRP188::FramesPerSecond | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1370 of file ntv2rp188.cpp.
bool CRP188::GetFieldID | ( | void | ) |
Definition at line 841 of file ntv2rp188.cpp.
bool CRP188::GetFrameCount | ( | ULWord & | frameCount | ) |
Definition at line 953 of file ntv2rp188.cpp.
UByte CRP188::GetOutputFilter | ( | ) | const |
Definition at line 907 of file ntv2rp188.cpp.
const char * CRP188::GetRP188CString | ( | ) | const |
Definition at line 924 of file ntv2rp188.cpp.
bool CRP188::GetRP188Frms | ( | ULWord & | ulFrms | ) | const |
Definition at line 929 of file ntv2rp188.cpp.
bool CRP188::GetRP188Hrs | ( | ULWord & | ulHrs | ) | const |
Definition at line 947 of file ntv2rp188.cpp.
bool CRP188::GetRP188Mins | ( | ULWord & | ulMins | ) | const |
Definition at line 941 of file ntv2rp188.cpp.
bool CRP188::GetRP188Reg | ( | NTV2_RP188 & | outRP188 | ) | const |
Definition at line 1247 of file ntv2rp188.cpp.
bool CRP188::GetRP188Reg | ( | RP188_STRUCT & | outRP188 | ) | const |
Definition at line 1241 of file ntv2rp188.cpp.
bool CRP188::GetRP188Secs | ( | ULWord & | ulSecs | ) | const |
Definition at line 935 of file ntv2rp188.cpp.
bool CRP188::GetRP188Str | ( | std::string & | sRP188 | ) | const |
Definition at line 918 of file ntv2rp188.cpp.
const char * CRP188::GetRP188UserBitsCString | ( | ) |
Definition at line 1262 of file ntv2rp188.cpp.
bool CRP188::GetRP188UserBitsStr | ( | std::string & | sRP188UB | ) |
Definition at line 1253 of file ntv2rp188.cpp.
UByte CRP188::GetSource | ( | ) | const |
Definition at line 895 of file ntv2rp188.cpp.
|
inline |
Definition at line 107 of file ntv2rp188.h.
string CRP188::GetTimeCodeString | ( | bool | bDisplay60_50fpsAs30_25 = false | ) |
Definition at line 2011 of file ntv2rp188.cpp.
void CRP188::Init | ( | ) |
Definition at line 418 of file ntv2rp188.cpp.
bool CRP188::InitBurnIn | ( | NTV2FrameBufferFormat | frameBufferFormat, |
NTV2FrameDimensions | frameDimensions, | ||
LWord | percentY = 0 |
||
) |
Definition at line 1564 of file ntv2rp188.cpp.
|
inline |
Definition at line 110 of file ntv2rp188.h.
ULWord CRP188::MaxFramesPerDay | ( | TimecodeFormat | format = kTCFormatUnknown | ) | const |
Definition at line 1162 of file ntv2rp188.cpp.
bool CRP188::operator== | ( | const CRP188 & | s | ) |
Definition at line 428 of file ntv2rp188.cpp.
void CRP188::SetBFGBits | ( | bool | bBFG0, |
bool | bBFG1, | ||
bool | bBFG2 | ||
) |
Definition at line 853 of file ntv2rp188.cpp.
Definition at line 1284 of file ntv2rp188.cpp.
void CRP188::SetColorFrame | ( | bool | bColorFrameFlag | ) |
Definition at line 744 of file ntv2rp188.cpp.
void CRP188::SetDropFrame | ( | bool | bDropFrameFlag | ) |
Definition at line 734 of file ntv2rp188.cpp.
void CRP188::SetFieldID | ( | ULWord | fieldID | ) |
Definition at line 821 of file ntv2rp188.cpp.
void CRP188::SetOutputFilter | ( | UByte | src | ) |
Definition at line 901 of file ntv2rp188.cpp.
void CRP188::SetRP188 | ( | const NTV2_RP188 & | rp188, |
const TimecodeFormat | tcFormat = kTCFormatUnknown |
||
) |
Definition at line 554 of file ntv2rp188.cpp.
void CRP188::SetRP188 | ( | const RP188_STRUCT & | rp188, |
const TimecodeFormat | tcFormat = kTCFormatUnknown |
||
) |
Definition at line 456 of file ntv2rp188.cpp.
void CRP188::SetRP188 | ( | const std::string & | sRP188, |
const TimecodeFormat | tcFormat = kTCFormatUnknown |
||
) |
void CRP188::SetRP188 | ( | ULWord | frames, |
const TimecodeFormat | tcFormat = kTCFormatUnknown |
||
) |
Definition at line 574 of file ntv2rp188.cpp.
void CRP188::SetRP188 | ( | ULWord | ulFrms, |
ULWord | ulSecs, | ||
ULWord | ulMins, | ||
ULWord | ulHrs, | ||
const TimecodeFormat | tcFormat = kTCFormatUnknown |
||
) |
Definition at line 628 of file ntv2rp188.cpp.
void CRP188::SetRP188 | ( | ULWord | ulFrms, |
ULWord | ulSecs, | ||
ULWord | ulMins, | ||
ULWord | ulHrs, | ||
NTV2FrameRate | frameRate, | ||
const bool | bDropFrame = false , |
||
const bool | bSMPTE372 = false |
||
) |
Definition at line 587 of file ntv2rp188.cpp.
void CRP188::SetSource | ( | UByte | src | ) |
Definition at line 889 of file ntv2rp188.cpp.
bool CRP188::SetUserBits | ( | ULWord | bits | ) |
Definition at line 1314 of file ntv2rp188.cpp.
void CRP188::SetVaricamFrameActive | ( | bool | bVaricamActive, |
ULWord | frame | ||
) |
Definition at line 754 of file ntv2rp188.cpp.
void CRP188::SetVaricamRate | ( | NTV2FrameRate | frameRate | ) |
Definition at line 774 of file ntv2rp188.cpp.
Definition at line 1141 of file ntv2rp188.cpp.
Definition at line 1343 of file ntv2rp188.cpp.
|
inline |
Definition at line 112 of file ntv2rp188.h.
|
inline |
Definition at line 114 of file ntv2rp188.h.
ULWord CRP188::VaricamFrameRate | ( | void | ) |
Definition at line 1361 of file ntv2rp188.cpp.
void CRP188::writeV210Pixel | ( | char ** | pBytePtr, |
int | x, | ||
int | c, | ||
int | y | ||
) |
Definition at line 1802 of file ntv2rp188.cpp.