Uses of Class
org.monte.media.math.Rational
Packages that use Rational
Package
Description
Defines an API for audio and video processing, and provides base implementations.
Provides base classes for audio codecs.
Provides time processing codecs.
Provides base classes for video codecs, and common video codecs.
Provides media handlers for the AVI file format.
Provides abstractions for image sequences represented by folders
with image files.
Provides math classes.
Provides classes for processing QuickTime files.
Provides classes for reading TIFF files.
-
Uses of Rational in org.monte.media.av
Fields in org.monte.media.av declared as RationalModifier and TypeFieldDescriptionBuffer.sampleDurationDuration of a sample in seconds.Buffer.timeStampThe time stamp of this buffer in seconds.Fields in org.monte.media.av with type parameters of type RationalMethods in org.monte.media.av that return RationalModifier and TypeMethodDescriptionDefaultMovie.getDuration()Movie.getDuration()Returns the total duration of the movie in seconds.MovieReader.getDuration()Returns the total duration of the movie .MovieReader.getDuration(int track) Returns the duration of the specified track.MovieWriter.getDuration(int track) Returns the duration of the track in seconds.AbstractMovie.getInsertionPoint()Movie.getInsertionPoint()Returns the position of the insertion point in seconds.MovieReader.getReadTime(int track) Returns the current time of the track.AbstractMovie.getSelectionEnd()Movie.getSelectionEnd()Returns the position of the out point in seconds.AbstractMovie.getSelectionStart()Movie.getSelectionStart()Returns the position of the in point in seconds.DefaultMovie.sampleToTime(int track, long sample) Movie.sampleToTime(int track, long sample) MovieReader.sampleToTime(int track, long sample) Returns the time for the specified sample number.Methods in org.monte.media.av with parameters of type RationalModifier and TypeMethodDescriptionvoidAbstractMovie.setInsertionPoint(Rational newValue) voidMovie.setInsertionPoint(Rational seconds) Sets the position of the insertion point in seconds.voidMovieReader.setMovieReadTime(Rational newValue) Sets the read time of all tracks to the closest sync sample before or at the specified time.voidAbstractMovie.setSelectionEnd(Rational newValue) voidMovie.setSelectionEnd(Rational out) Sets the position of the out point in seconds.voidAbstractMovie.setSelectionStart(Rational newValue) voidMovie.setSelectionStart(Rational in) Sets the position of the in point in seconds.longDefaultMovie.timeToSample(int track, Rational time) longMovie.timeToSample(int track, Rational seconds) Returns the frame number for the specified time in seconds.longMovieReader.timeToSample(int track, Rational seconds) Returns the sample number for the specified time. -
Uses of Rational in org.monte.media.av.codec.audio
Fields in org.monte.media.av.codec.audio with type parameters of type Rational -
Uses of Rational in org.monte.media.av.codec.time
Methods in org.monte.media.av.codec.time that return RationalModifier and TypeMethodDescriptionTrimTimeCodec.getEndTime()AdjustTimeCodec.getMediaTime()TrimTimeCodec.getStartTime()Methods in org.monte.media.av.codec.time with parameters of type RationalModifier and TypeMethodDescriptionvoidTrimTimeCodec.setEndTime(Rational newValue) Sets the end time of the buffers.voidAdjustTimeCodec.setMediaTime(Rational mediaTime) voidTrimTimeCodec.setStartTime(Rational newValue) Sets the start time of the buffers. -
Uses of Rational in org.monte.media.av.codec.video
Fields in org.monte.media.av.codec.video with type parameters of type RationalModifier and TypeFieldDescriptionVideoFormatKeys.PixelAspectRatioKeyThe pixel aspect ratio WidthKey : HeightKey; -
Uses of Rational in org.monte.media.avi
Methods in org.monte.media.avi that return RationalModifier and TypeMethodDescriptionAVIMovie.getDuration()AVIReader.getDuration()AVIReader.getDuration(int track) AVIWriter.getDuration(int track) Returns the media duration of the track in seconds.AVIMovie.getInsertionPoint()AVIReader.getReadTime(int track) AVIMovie.getSelectionEnd()AVIMovie.getSelectionStart()AVIMovie.sampleToTime(int track, long sample) AVIReader.sampleToTime(int track, long sampleIndex) Methods in org.monte.media.avi with parameters of type RationalModifier and TypeMethodDescriptionvoidAVIMovie.setInsertionPoint(Rational seconds) voidAVIReader.setMovieReadTime(Rational newValue) voidAVIMovie.setSelectionEnd(Rational out) voidAVIMovie.setSelectionStart(Rational in) longAVIMovie.timeToSample(int track, Rational seconds) longAVIReader.timeToSample(int track, Rational time) -
Uses of Rational in org.monte.media.imgseq
Methods in org.monte.media.imgseq that return RationalModifier and TypeMethodDescriptionImageSequenceWriter.getDuration(int track) Returns the sampleDuration of the track in seconds. -
Uses of Rational in org.monte.media.math
Fields in org.monte.media.math declared as RationalModifier and TypeFieldDescriptionstatic final RationalRational.ONEstatic final RationalRational.ZEROMethods in org.monte.media.math that return RationalModifier and TypeMethodDescriptionRational.add(long num, long den) Rational.ceil(long d) Returns the closest rational with the specified denominator which is greater or equal than this number.Rational.floor(long d) Returns the closest rational with the specified denominator which is smaller or equal than this number.Rational.inverse()static Rationalstatic RationalRational.multiply(long integer) Rational.negate()Rational.round(long d) static RationalRational.valueOf(double d) static RationalRational.valueOf(long num, long den) static RationalParses a string.static RationalRational.valueOf(BigInteger num, BigInteger den) Methods in org.monte.media.math with parameters of type RationalModifier and TypeMethodDescriptionintreturn { -1, 0, +1 } if a < b, a = b, or a > b.static Rationalstatic RationalConstructors in org.monte.media.math with parameters of type Rational -
Uses of Rational in org.monte.media.quicktime
Fields in org.monte.media.quicktime declared as RationalModifier and TypeFieldDescriptionprotected RationalAbstractQuickTimeStream.Track.inputTimeStart time of the first buffer that was added to the track.protected RationalAbstractQuickTimeStream.Track.writeTimeCurrent write time.Methods in org.monte.media.quicktime that return RationalModifier and TypeMethodDescriptionQuickTimeMeta.getDuration()QuickTimeReader.getDuration()QuickTimeReader.getDuration(int track) QuickTimeWriter.getDuration(int track) Returns the sampleDuration of the track in seconds.QuickTimeReader.getReadTime(int track) QuickTimeMeta.sampleToTime(int track, long sample) QuickTimeReader.sampleToTime(int track, long sample) Methods in org.monte.media.quicktime with parameters of type RationalModifier and TypeMethodDescriptionvoidQuickTimeReader.setMovieReadTime(Rational newValue) longQuickTimeMeta.timeToSample(int track, Rational seconds) longQuickTimeReader.timeToSample(int track, Rational seconds) -
Uses of Rational in org.monte.media.tiff
Methods in org.monte.media.tiff that return RationalModifier and TypeMethodDescriptionTIFFInputStream.readRATIONAL(long offset) Reads a RATIONAL number at the specified offset.Rational[]TIFFInputStream.readRATIONAL(long offset, long count) Reads the specified number of RATIONALs at the specified offset.TIFFInputStream.readSRATIONAL(long offset) Reads a RATIONAL number at the specified offset.Rational[]TIFFInputStream.readSRATIONAL(long offset, long count) Reads the specified number of RATIONALs at the specified offset.