AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
CRP188 Class Reference

#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)
 

Detailed Description

Definition at line 55 of file ntv2rp188.h.

Constructor & Destructor Documentation

◆ CRP188() [1/6]

CRP188::CRP188 ( )

Definition at line 374 of file ntv2rp188.cpp.

◆ CRP188() [2/6]

CRP188::CRP188 ( const RP188_STRUCT rp188,
const TimecodeFormat  tcFormat = kTCFormat30fps 
)

Definition at line 386 of file ntv2rp188.cpp.

◆ CRP188() [3/6]

CRP188::CRP188 ( const NTV2_RP188 rp188,
const TimecodeFormat  tcFormat = kTCFormat30fps 
)

Definition at line 392 of file ntv2rp188.cpp.

◆ CRP188() [4/6]

CRP188::CRP188 ( const std::string &  sRP188,
const TimecodeFormat  tcFormat = kTCFormat30fps 
)

◆ CRP188() [5/6]

CRP188::CRP188 ( ULWord  ulFrms,
ULWord  ulSecs,
ULWord  ulMins,
ULWord  ulHrs,
const TimecodeFormat  tcFormat = kTCFormat30fps 
)

Definition at line 380 of file ntv2rp188.cpp.

◆ CRP188() [6/6]

CRP188::CRP188 ( ULWord  frames,
const TimecodeFormat  tcFormat = kTCFormat30fps 
)

Definition at line 404 of file ntv2rp188.cpp.

◆ ~CRP188()

CRP188::~CRP188 ( )
virtual

Definition at line 411 of file ntv2rp188.cpp.

Member Function Documentation

◆ AddFrames()

ULWord CRP188::AddFrames ( ULWord  frameCount)

Definition at line 1122 of file ntv2rp188.cpp.

◆ BinaryGroup()

ULWord CRP188::BinaryGroup ( ULWord  smpteNum)

Definition at line 1270 of file ntv2rp188.cpp.

◆ BurnTC()

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.

◆ ColorFrame()

bool CRP188::ColorFrame ( void  )
inline

Definition at line 126 of file ntv2rp188.h.

◆ ConvertFrameCount()

void CRP188::ConvertFrameCount ( ULWord  frameCount,
TimecodeFormat  format,
ULWord hours,
ULWord minutes,
ULWord seconds,
ULWord frames 
)

Definition at line 1026 of file ntv2rp188.cpp.

◆ ConvertTimecode()

void CRP188::ConvertTimecode ( ULWord frameCount,
TimecodeFormat  format,
ULWord  hours,
ULWord  minutes,
ULWord  seconds,
ULWord  frames 
)

Definition at line 961 of file ntv2rp188.cpp.

◆ CopyDigit()

void CRP188::CopyDigit ( char *  pDigit,
int  digitWidth,
int  digitHeight,
char *  pFrameBuff,
int  fbRowBytes 
)

Definition at line 1999 of file ntv2rp188.cpp.

◆ defaultFrameRateForTimecodeFormat()

NTV2FrameRate CRP188::defaultFrameRateForTimecodeFormat ( TimecodeFormat  format = kTCFormatUnknown) const

◆ DefaultFrameRateForTimecodeFormat()

NTV2FrameRate CRP188::DefaultFrameRateForTimecodeFormat ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1399 of file ntv2rp188.cpp.

◆ DropFrame()

bool CRP188::DropFrame ( void  )
inline

Definition at line 124 of file ntv2rp188.h.

◆ FieldID()

ULWord CRP188::FieldID ( void  )
inline

Definition at line 122 of file ntv2rp188.h.

◆ FormatIs60_50fps()

bool CRP188::FormatIs60_50fps ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1209 of file ntv2rp188.cpp.

◆ FormatIsDropFrame()

bool CRP188::FormatIsDropFrame ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1193 of file ntv2rp188.cpp.

◆ FormatIsPAL()

bool CRP188::FormatIsPAL ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1228 of file ntv2rp188.cpp.

◆ FramesPerSecond()

ULWord CRP188::FramesPerSecond ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1370 of file ntv2rp188.cpp.

◆ GetFieldID()

bool CRP188::GetFieldID ( void  )

Definition at line 841 of file ntv2rp188.cpp.

◆ GetFrameCount()

bool CRP188::GetFrameCount ( ULWord frameCount)

Definition at line 953 of file ntv2rp188.cpp.

◆ GetOutputFilter()

UByte CRP188::GetOutputFilter ( ) const

Definition at line 907 of file ntv2rp188.cpp.

◆ GetRP188CString()

const char * CRP188::GetRP188CString ( ) const

Definition at line 924 of file ntv2rp188.cpp.

◆ GetRP188Frms()

bool CRP188::GetRP188Frms ( ULWord ulFrms) const

Definition at line 929 of file ntv2rp188.cpp.

◆ GetRP188Hrs()

bool CRP188::GetRP188Hrs ( ULWord ulHrs) const

Definition at line 947 of file ntv2rp188.cpp.

◆ GetRP188Mins()

bool CRP188::GetRP188Mins ( ULWord ulMins) const

Definition at line 941 of file ntv2rp188.cpp.

◆ GetRP188Reg() [1/2]

bool CRP188::GetRP188Reg ( NTV2_RP188 outRP188) const

Definition at line 1247 of file ntv2rp188.cpp.

◆ GetRP188Reg() [2/2]

bool CRP188::GetRP188Reg ( RP188_STRUCT outRP188) const

Definition at line 1241 of file ntv2rp188.cpp.

◆ GetRP188Secs()

bool CRP188::GetRP188Secs ( ULWord ulSecs) const

Definition at line 935 of file ntv2rp188.cpp.

◆ GetRP188Str()

bool CRP188::GetRP188Str ( std::string &  sRP188) const

Definition at line 918 of file ntv2rp188.cpp.

◆ GetRP188UserBitsCString()

const char * CRP188::GetRP188UserBitsCString ( )

Definition at line 1262 of file ntv2rp188.cpp.

◆ GetRP188UserBitsStr()

bool CRP188::GetRP188UserBitsStr ( std::string &  sRP188UB)

Definition at line 1253 of file ntv2rp188.cpp.

◆ GetSource()

UByte CRP188::GetSource ( ) const

Definition at line 895 of file ntv2rp188.cpp.

◆ GetTimecodeFormat()

TimecodeFormat CRP188::GetTimecodeFormat ( )
inline

Definition at line 107 of file ntv2rp188.h.

◆ GetTimeCodeString()

string CRP188::GetTimeCodeString ( bool  bDisplay60_50fpsAs30_25 = false)

Definition at line 2011 of file ntv2rp188.cpp.

◆ Init()

void CRP188::Init ( )

Definition at line 418 of file ntv2rp188.cpp.

◆ InitBurnIn()

bool CRP188::InitBurnIn ( NTV2FrameBufferFormat  frameBufferFormat,
NTV2FrameDimensions  frameDimensions,
LWord  percentY = 0 
)

Definition at line 1564 of file ntv2rp188.cpp.

◆ IsFreshRP188()

bool CRP188::IsFreshRP188 ( void  )
inline

Definition at line 110 of file ntv2rp188.h.

◆ MaxFramesPerDay()

ULWord CRP188::MaxFramesPerDay ( TimecodeFormat  format = kTCFormatUnknown) const

Definition at line 1162 of file ntv2rp188.cpp.

◆ operator==()

bool CRP188::operator== ( const CRP188 s)

Definition at line 428 of file ntv2rp188.cpp.

◆ SetBFGBits()

void CRP188::SetBFGBits ( bool  bBFG0,
bool  bBFG1,
bool  bBFG2 
)

Definition at line 853 of file ntv2rp188.cpp.

◆ SetBinaryGroup()

bool CRP188::SetBinaryGroup ( ULWord  smpteNum,
ULWord  bits 
)

Definition at line 1284 of file ntv2rp188.cpp.

◆ SetColorFrame()

void CRP188::SetColorFrame ( bool  bColorFrameFlag)

Definition at line 744 of file ntv2rp188.cpp.

◆ SetDropFrame()

void CRP188::SetDropFrame ( bool  bDropFrameFlag)

Definition at line 734 of file ntv2rp188.cpp.

◆ SetFieldID()

void CRP188::SetFieldID ( ULWord  fieldID)

Definition at line 821 of file ntv2rp188.cpp.

◆ SetOutputFilter()

void CRP188::SetOutputFilter ( UByte  src)

Definition at line 901 of file ntv2rp188.cpp.

◆ SetRP188() [1/6]

void CRP188::SetRP188 ( const NTV2_RP188 rp188,
const TimecodeFormat  tcFormat = kTCFormatUnknown 
)

Definition at line 554 of file ntv2rp188.cpp.

◆ SetRP188() [2/6]

void CRP188::SetRP188 ( const RP188_STRUCT rp188,
const TimecodeFormat  tcFormat = kTCFormatUnknown 
)

Definition at line 456 of file ntv2rp188.cpp.

◆ SetRP188() [3/6]

void CRP188::SetRP188 ( const std::string &  sRP188,
const TimecodeFormat  tcFormat = kTCFormatUnknown 
)

◆ SetRP188() [4/6]

void CRP188::SetRP188 ( ULWord  frames,
const TimecodeFormat  tcFormat = kTCFormatUnknown 
)

Definition at line 574 of file ntv2rp188.cpp.

◆ SetRP188() [5/6]

void CRP188::SetRP188 ( ULWord  ulFrms,
ULWord  ulSecs,
ULWord  ulMins,
ULWord  ulHrs,
const TimecodeFormat  tcFormat = kTCFormatUnknown 
)

Definition at line 628 of file ntv2rp188.cpp.

◆ SetRP188() [6/6]

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.

◆ SetSource()

void CRP188::SetSource ( UByte  src)

Definition at line 889 of file ntv2rp188.cpp.

◆ SetUserBits()

bool CRP188::SetUserBits ( ULWord  bits)

Definition at line 1314 of file ntv2rp188.cpp.

◆ SetVaricamFrameActive()

void CRP188::SetVaricamFrameActive ( bool  bVaricamActive,
ULWord  frame 
)

Definition at line 754 of file ntv2rp188.cpp.

◆ SetVaricamRate()

void CRP188::SetVaricamRate ( NTV2FrameRate  frameRate)

Definition at line 774 of file ntv2rp188.cpp.

◆ SubtractFrames()

ULWord CRP188::SubtractFrames ( ULWord  frameCount)

Definition at line 1141 of file ntv2rp188.cpp.

◆ UDW()

ULWord CRP188::UDW ( ULWord  smpteUDW)

Definition at line 1343 of file ntv2rp188.cpp.

◆ VaricamFrame0()

bool CRP188::VaricamFrame0 ( void  )
inline

Definition at line 112 of file ntv2rp188.h.

◆ VaricamFrame1()

bool CRP188::VaricamFrame1 ( void  )
inline

Definition at line 114 of file ntv2rp188.h.

◆ VaricamFrameRate()

ULWord CRP188::VaricamFrameRate ( void  )

Definition at line 1361 of file ntv2rp188.cpp.

◆ writeV210Pixel()

void CRP188::writeV210Pixel ( char **  pBytePtr,
int  x,
int  c,
int  y 
)

Definition at line 1802 of file ntv2rp188.cpp.


The documentation for this class was generated from the following files: