Class CMSampleTimingInfo


  • public final class CMSampleTimingInfo
    extends org.moe.natj.c.StructObject
    • Constructor Detail

      • CMSampleTimingInfo

        public CMSampleTimingInfo()
      • CMSampleTimingInfo

        protected CMSampleTimingInfo​(org.moe.natj.general.Pointer peer)
      • CMSampleTimingInfo

        public CMSampleTimingInfo​(CMTime duration,
                                  CMTime presentationTimeStamp,
                                  CMTime decodeTimeStamp)
    • 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.