quicktime.std.movies.media
Class MPEGMedia

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.std.movies.media.Media
              |
              +--quicktime.std.movies.media.MPEGMedia
All Implemented Interfaces:
quicktime.jdirect.InterfaceLib, quicktime.jdirect.PrimitivesLib, quicktime.jdirect.QuickTimeLib, quicktime.jdirect.SharedLibrary, com.apple.jdirect.SharedLibrary

public final class MPEGMedia
extends Media

The MPEGMedia class repesents base media in QuickTime.


Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Constructor Summary
MPEGMedia(Track itsTrack, int timeScale)
          This constructor creates a media struct for the specified Track object.
MPEGMedia(Track itsTrack, int timeScale, DataRef dataRef)
          This constructor creates a media struct for the specified Track object.
 
Methods inherited from class quicktime.std.movies.media.Media
addDataRef, addSample, addSampleReference, addSampleReference, beginEdits, endEdits, fromTrack, getCreationTime, getDataHandler, getDataHandlerDescription, getDataRef, getDataRefCount, getDataSize, getDuration, getHandler, getHandlerDescription, getInputMap, getLanguage, getModificationTime, getNextInterestingTime, getPlayHints, getPlayHints, getPreferredChunkSize, getPropertyAtom, getQuality, getSample, getSampleCount, getSampleDescription, getSampleDescriptionCount, getSampleReference, getSampleReferences, getShadowSync, getSyncSampleCount, getTimeScale, getTrack, getTrackMedia, getUserData, loadIntoRam, newFromType, sampleNumToMediaTime, setDataHandler, setDataRef, setDataRefAttributes, setDefaultDataRefIndex, setHandler, setInputMap, setLanguage, setPlayHints, setPreferredChunkSize, setPropertyAtom, setQuality, setSampleDescription, setShadowSync, setTimeScale, timeToSampleNum
 
Methods inherited from class quicktime.QTObject
disposeQTObject, equals, ID, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MPEGMedia

public MPEGMedia(Track itsTrack,
                 int timeScale,
                 DataRef dataRef)
          throws QTException
This constructor creates a media struct for the specified Track object.

QuickTime::NewTrackMedia()

Parameters:
itsTrack - Specifies the Track object this media belongs to.
timeScale - Specifies the time scale of the new media.
dataRef - a DataRef object specifying the default data reference for this media.

MPEGMedia

public MPEGMedia(Track itsTrack,
                 int timeScale)
          throws QTException
This constructor creates a media struct for the specified Track object.

QuickTime::NewTrackMedia()

Parameters:
itsTrack - Specifies the Track object this media belongs to.
timeScale - Specifies the time scale of the new media.