Package apple.coremedia.struct
Class CMSampleTimingInfo
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.coremedia.struct.CMSampleTimingInfo
-
public final class CMSampleTimingInfo extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description CMSampleTimingInfo()CMSampleTimingInfo(CMTime duration, CMTime presentationTimeStamp, CMTime decodeTimeStamp)protectedCMSampleTimingInfo(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMTimedecodeTimeStamp()< The time at which the sample will be decoded.CMTimeduration()< The duration of the sample.CMTimepresentationTimeStamp()< The time at which the sample will be presented.voidsetDecodeTimeStamp(CMTime value)< The time at which the sample will be decoded.voidsetDuration(CMTime value)< The duration of the sample.voidsetPresentationTimeStamp(CMTime value)< The time at which the sample will be presented.
-
-
-
Method Detail
-
duration
public CMTime duration()
< The duration of the sample. If a single struct applies to each of the samples, they all will have this duration.
-
setDuration
public void setDuration(CMTime value)
< The duration of the sample. If a single struct applies to each of the samples, they all will have this duration.
-
presentationTimeStamp
public CMTime presentationTimeStamp()
< The time at which the sample will be presented. If a single struct applies to each of the samples, this is the presentationTime of the first sample. The presentationTime of subsequent samples will be derived by repeatedly adding the sample duration.
-
setPresentationTimeStamp
public void setPresentationTimeStamp(CMTime value)
< The time at which the sample will be presented. If a single struct applies to each of the samples, this is the presentationTime of the first sample. The presentationTime of subsequent samples will be derived by repeatedly adding the sample duration.
-
decodeTimeStamp
public CMTime decodeTimeStamp()
< The time at which the sample will be decoded. If the samples are in presentation order (eg. audio samples, or video samples from a codec that doesn't support out-of-order samples), this can be set to kCMTimeInvalid.
-
setDecodeTimeStamp
public void setDecodeTimeStamp(CMTime value)
< The time at which the sample will be decoded. If the samples are in presentation order (eg. audio samples, or video samples from a codec that doesn't support out-of-order samples), this can be set to kCMTimeInvalid.
-
-