media:: TimelineRate
Summary
Constructors and Destructors |
|
---|---|
TimelineRate()
|
|
TimelineRate(uint32_t subject_delta)
|
|
TimelineRate(float rate_as_float)
|
|
TimelineRate(uint32_t subject_delta, uint32_t reference_delta)
|
Public static attributes |
|
---|---|
NsPerSecond
|
const TimelineRate
|
Zero
|
const TimelineRate
|
kOverflow = std::numeric_limits
|
constexpr int64_t
|
Public static functions |
|
---|---|
Product(uint32_t a_subject_delta, uint32_t a_reference_delta, uint32_t b_subject_delta, uint32_t b_reference_delta, uint32_t *product_subject_delta, uint32_t *product_reference_delta, bool exact)
|
void
|
Product(TimelineRate a, TimelineRate b, bool exact)
|
|
Reduce(uint32_t *subject_delta, uint32_t *reference_delta)
|
void
|
Scale(int64_t value, uint32_t subject_delta, uint32_t reference_delta)
|
int64_t
|
Public functions |
|
---|---|
Inverse() const
|
|
Scale(int64_t value) const
|
int64_t
|
ScaleInverse(int64_t value) const
|
int64_t
|
invertible() const
|
bool
|
reference_delta() const
|
uint32_t
|
subject_delta() const
|
uint32_t
|
Public static attributes
NsPerSecond
const TimelineRate NsPerSecond
Zero
const TimelineRate Zero
kOverflow
constexpr int64_t kOverflow = std::numeric_limits<int64_t>::max()
Public static functions
Product
void Product( uint32_t a_subject_delta, uint32_t a_reference_delta, uint32_t b_subject_delta, uint32_t b_reference_delta, uint32_t *product_subject_delta, uint32_t *product_reference_delta, bool exact )
Product
TimelineRate Product( TimelineRate a, TimelineRate b, bool exact )
Reduce
void Reduce( uint32_t *subject_delta, uint32_t *reference_delta )
Scale
int64_t Scale( int64_t value, uint32_t subject_delta, uint32_t reference_delta )
Public functions
Inverse
TimelineRate Inverse() const
Scale
int64_t Scale( int64_t value ) const
ScaleInverse
int64_t ScaleInverse( int64_t value ) const
TimelineRate
TimelineRate()
TimelineRate
TimelineRate( uint32_t subject_delta )
TimelineRate
TimelineRate( float rate_as_float )
TimelineRate
TimelineRate( uint32_t subject_delta, uint32_t reference_delta )
invertible
bool invertible() const
reference_delta
uint32_t reference_delta() const
subject_delta
uint32_t subject_delta() const