32 AJATimeCode(uint32_t frame,
bool bStdTcForHfr=
true);
52 static uint32_t CalcFrame(uint32_t h, uint32_t m, uint32_t s, uint32_t f,
const AJATimeBase& timeBase,
bool bDropFrame,
bool bStdTcForHfr, uint32_t addFrame);
67 static uint32_t CalcHmsf(uint32_t &h, uint32_t &m, uint32_t &s, uint32_t &f, uint32_t frame,
const AJATimeBase& timeBase,
bool bDropFrame,
bool bStdTcForHfr);
100 void QuerySMPTEString(
char *pString,
const AJATimeBase& timeBase,
bool bDropFrame);
107 static int QuerySMPTEStringSize(
void);
114 uint32_t QueryFrame(
void)
const;
134 void QueryHmsf(uint32_t &h, uint32_t &m, uint32_t &s, uint32_t &f,
const AJATimeBase& timeBase,
bool bDropFrame)
const;
141 void Set(uint32_t frame);
149 void Set(
const std::string &str,
const AJATimeBase& timeBase);
158 void SetWithCleanup(
const std::string &str,
const AJATimeBase& timeBase,
bool bDrop);
167 void Set(
const std::string &str,
const AJATimeBase& timeBase,
bool bDropFrame);
181 void SetHmsf(uint32_t h, uint32_t m, uint32_t s, uint32_t f,
const AJATimeBase& timeBase,
bool bDropFrame,
bool bStdTcForHfr, uint32_t addFrame);
182 void SetHmsf(uint32_t h, uint32_t m, uint32_t s, uint32_t f,
const AJATimeBase& timeBase,
bool bDropFrame);
190 void SetSMPTEString(
const char *pBufr,
const AJATimeBase& timeBase);
200 void SetRP188 (
const uint32_t inDBB,
const uint32_t inLo,
const uint32_t inHi,
const AJATimeBase & inTimeBase);
213 void QueryRP188(uint32_t & outDBB, uint32_t & outLo, uint32_t & outHi,
const AJATimeBase & timeBase,
const bool bDrop);
228 static bool QueryIsDropFrame(
const std::string &str);
231 static int QueryStringSize(
void);
240 static bool QueryIsRP188DropFrame (
const uint32_t inDBB,
const uint32_t inLo,
const uint32_t inHi);
248 const AJATimeCode operator+(
const int32_t val)
const;
250 const AJATimeCode operator-(
const int32_t val)
const;
255 bool operator>(
const int32_t val)
const;
258 #if !defined(NTV2_DEPRECATE_17_5)
260 void QueryRP188(uint32_t *pDbb, uint32_t *pLo, uint32_t *pHi,
const AJATimeBase& tb,
bool drop);
261 #endif // NTV2_DEPRECATE_17_5
267 #endif // AJA_TIMECODE_H