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()[@field] presentationTimeStamp The time at which the sample will be presented.CMTimeduration()CMTimepresentationTimeStamp()[@field] duration The duration of the sample.voidsetDecodeTimeStamp(CMTime value)[@field] presentationTimeStamp The time at which the sample will be presented.voidsetDuration(CMTime value)voidsetPresentationTimeStamp(CMTime value)[@field] duration The duration of the sample.
-
-
-
Method Detail
-
duration
public CMTime duration()
-
setDuration
public void setDuration(CMTime value)
-
presentationTimeStamp
public CMTime presentationTimeStamp()
[@field] duration The duration of the sample. If a single struct applies to each of the samples, they all will have this duration.
-
setPresentationTimeStamp
public void setPresentationTimeStamp(CMTime value)
[@field] duration The duration of the sample. If a single struct applies to each of the samples, they all will have this duration.
-
decodeTimeStamp
public CMTime decodeTimeStamp()
[@field] 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.
-
setDecodeTimeStamp
public void setDecodeTimeStamp(CMTime value)
[@field] 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.
-
-