Platforms to show: All Mac Windows Linux Cross-Platform

Back to CMTimeMBS class.

CMTimeMBS.kCMTimeFlags_HasBeenRounded = 2

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time has been rounded.

CMTimeMBS.kCMTimeFlags_ImpliedValueFlagsMask = 28

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time is +infinity, -infinity, or indefinite.
Use this value with bitwiseAnd on the flags.

CMTimeMBS.kCMTimeFlags_Indefinite = 16

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time is indefinite.

CMTimeMBS.kCMTimeFlags_NegativeInfinity = 8

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time is -infinity.

CMTimeMBS.kCMTimeFlags_PositiveInfinity = 4

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time is +infinity.

CMTimeMBS.kCMTimeFlags_Valid = 1

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of the flags for CMTime.

Indicates that the time is valid.

CMTimeMBS.kCMTimeMaxTimescale = &h7fffffff

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
A constant to define the maximum timescale.

CMTimeMBS.kCMTimeRoundingMethod_Default = 1

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Synonym for kCMTimeRoundingMethod_RoundHalfAwayFromZero.

CMTimeMBS.kCMTimeRoundingMethod_QuickTime = 4

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Use kCMTimeRoundingMethod_RoundTowardZero if converting from larger to smaller scale (that is, from more precision to less precision), but use kCMTimeRoundingMethod_RoundAwayFromZero if converting from smaller to larger scale (i.e. from less precision to more precision).
Also, never round a negative number down to 0; always return the smallest magnitude negative CMTime in this case (-1/newTimescale).

CMTimeMBS.kCMTimeRoundingMethod_RoundAwayFromZero = 3

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Round away from zero if abs(fraction) is > 0.

CMTimeMBS.kCMTimeRoundingMethod_RoundHalfAwayFromZero = 1

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Round towards zero if abs(fraction) is < 0.5, away from 0 if abs(fraction) is >= 0.5.

CMTimeMBS.kCMTimeRoundingMethod_RoundTowardNegativeInfinity = 6

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Round towards -infinity if fraction is not 0.

CMTimeMBS.kCMTimeRoundingMethod_RoundTowardPositiveInfinity = 5

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Round towards +infinity if fraction is not 0.

CMTimeMBS.kCMTimeRoundingMethod_RoundTowardZero = 2

Type Topic Plugin Version
const AVFoundation MBS AVFoundation Plugin 13.2
One of constants used to specify the rounding method to use when computing time.value during timescale conversions.

Round towards zero if fraction is not 0.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...