Class AbstractQuickTimeStream.VideoTrack
java.lang.Object
org.monte.media.quicktime.AbstractQuickTimeStream.Track
org.monte.media.quicktime.AbstractQuickTimeStream.VideoTrack
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IndexColorModelThe color table used for rendering the video.protected intNumber of bits per ixel.protected floatThe video compression quality.Fields inherited from class org.monte.media.quicktime.AbstractQuickTimeStream.Track
chunks, codec, editList, format, headerFlags, height, inputBuffer, inputTime, matrix, mediaCompressionType, mediaCompressorName, mediaDuration, mediaTimeScale, mediaType, outputBuffer, sampleCount, sampleSizes, syncInterval, syncSamples, timeToSamples, width, writeTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidColor table atoms define a list of preferred colors for displaying the movie on devices that support only 256 colors.protected voidMethods inherited from class org.monte.media.quicktime.AbstractQuickTimeStream.Track
addChunk, addSample, getFirstSampleTime, getSampleCount, getTrackDuration, isEmpty, isEnabled, isInMovie, isInPoster, isInPreview, setEnabled, setInMovie, setInPoster, setInPreview
-
Field Details
-
videoQuality
protected float videoQualityThe video compression quality. -
videoDepth
protected int videoDepthNumber of bits per ixel. All frames must have the same depth. The value -1 is used to mark unspecified depth. -
videoColorTable
The color table used for rendering the video. This variable is only used when the video uses an index color model.
-
-
Constructor Details
-
VideoTrack
public VideoTrack()
-
-
Method Details
-
writeSampleDescriptionAtom
protected void writeSampleDescriptionAtom(AbstractQuickTimeStream.CompositeAtom stblAtom) throws IOException - Specified by:
writeSampleDescriptionAtomin classAbstractQuickTimeStream.Track- Throws:
IOException
-
writeColorTableAtom
protected void writeColorTableAtom(AbstractQuickTimeStream.CompositeAtom stblAtom) throws IOException Color table atoms define a list of preferred colors for displaying the movie on devices that support only 256 colors. The list may contain up to 256 colors. These optional atoms have a type value of 'ctab'. The color table atom contains a Macintosh color table data structure.- Parameters:
stblAtom-- Throws:
IOException
-