![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Test Quantiser allowing to use plain numbers.
1 Frame == 3 micro ticks
Definition at line 104 of file quantiser-basics-test.cpp.
Public Member Functions | |
| TestQuant (int origin=0) | |
| int | quant (int testPoint) |
Public Member Functions inherited from FixedFrameQuantiser | |
| FixedFrameQuantiser (FrameRate const &frames_per_second, TimeValue referencePoint=TimeValue(0)) | |
| Create a quantiser based on a fixed constant spaced grid, rooted at the reference point as origin of the scale. | |
| FixedFrameQuantiser (Duration const &frame_duration, TimeValue referencePoint=TimeValue(0)) | |
| FrameCnt | gridPoint (TimeValue const &) const override |
| grid quantisation (alignment). | |
| Offset | gridLocal (TimeValue const &) const override |
| transform into the local time scale grid aligned. | |
| TimeValue | timeOf (FrameCnt gridPoint) const override |
| calculate time value of a grid interval (frame) start point | |
| TimeValue | timeOf (FSecs, int=0) const override |
| calculate time coordinates of a time spec relative to this quantised time scale | |
Public Member Functions inherited from Quantiser | |
| template<class FMT > | |
| bool | supports () const |
| TimeValue | materialise (TimeValue const &raw) const |
| convenience shortcut: materialise a raw time value based on this grid or time axis, but returning a raw time value. | |
Public Member Functions inherited from Grid | |
| virtual | ~Grid () |
| this is an Interface | |
Additional Inherited Members | |
Static Public Member Functions inherited from Quantiser | |
| static PQuant | retrieve (Symbol gridID) |
| Access an existing grid definition or quantiser, known by the given symbolic ID. | |
Protected Member Functions inherited from Quantiser | |
| Quantiser () | |
Protected Attributes inherited from Quantiser | |
| format::Supported | supportedFormats_ |
|
inline |
Definition at line 107 of file quantiser-basics-test.cpp.
|
inline |
Definition at line 112 of file quantiser-basics-test.cpp.
References FixedFrameQuantiser::gridLocal().
Referenced by QuantiserBasics_test::coverQuantisationStandardCases().
Here is the call graph for this function:
Here is the caller graph for this function:
Inheritance diagram for QuantiserBasics_test::TestQuant:
Collaboration diagram for QuantiserBasics_test::TestQuant: