編輯

共用方式為


CVTime Struct

Definition

CoreVideo time representation.

[ObjCRuntime.Watch(4, 0)]
public struct CVTime
type CVTime = struct
Inheritance
CVTime
Attributes

Remarks

The CVTime structure contains two important fields: TimeValue and TimeScale. The TimeScale determines how many TimeValues exist per second.

For example, if TimeScale is 600, then to represent the 2 seconds, the value of TimeValue should be 1,200.

Fields

TimeFlags

Flags for CVTime, if set to 1, the CVTime is indefinite and neither the TimeValue and TimeScale are valid.

TimeScale

Determines how many TimeValues make up one second.

TimeValue

Determines how many TimeValues are represented by this CVTime.

Properties

Flags

Flags for CVTime, if set to IsIndefinite, the CVTime is indefinite and neither the TimeValue and TimeScale are valid.

IndefiniteTime

Unknown or indefinite time.

ZeroTime

Represents a zero duration..

Methods

Equals(Object)

Determines whether two CVTime objects are equal.

GetCurrentHostTime()
GetHashCode()

Returns the hashcode for this object.

GetHostClockFrequency()

Returns the system's clock frequency.

GetHostClockMinimumTimeDelta()

Applies to