Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
TimeDropframe_test Class Reference

Description

Test:
document the computation of NTSC drop frame timecode mapping.

Definition at line 106 of file time-dropframe-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void verify_DropFrame_conv ()
 
void verify_completeMapping ()
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 109 of file time-dropframe-test.cpp.

References TimeDropframe_test::verify_completeMapping(), and TimeDropframe_test::verify_DropFrame_conv().

+ Here is the call graph for this function:

◆ verify_DropFrame_conv()

void verify_DropFrame_conv ( )
inlineprivate
Test:
perform a drop-frame timecode conversion and verify the complete round-trip is correct.

Definition at line 120 of file time-dropframe-test.cpp.

References lib::time::build_time_from_ntsc_drop_frame().

Referenced by TimeDropframe_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verify_completeMapping()

void verify_completeMapping ( )
inlineprivate
Test:
Cover the whole value range of a day in drop-frame:
  • manually construct a drop-frame timecode
  • make sure our library function returns the same times.

Definition at line 154 of file time-dropframe-test.cpp.

References lib::time::build_time_from_ntsc_drop_frame().

Referenced by TimeDropframe_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for TimeDropframe_test:
+ Collaboration diagram for TimeDropframe_test:

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