All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.movies.media.SampleDescription
java.lang.Object
|
+----quicktime.QTObject
|
+----quicktime.util.QTHandleRef
|
+----quicktime.std.movies.media.SampleDescription
- public class SampleDescription
- extends QTHandleRef
- implements QuickTimeLib, Cloneable
The SampleDescription class implements the SampleDescription data structure of the Movie Toolbox.
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
SampleDescription(int)
- This constructor creates an empty SampleDescription object.
-
clone()
- Implementation of Cloneable Interface.
-
fromMovieImporter(MovieImporter)
- Determines the sample description of the component.
-
getDataFormat()
- Return the data format of the sample description.
-
getDataRefIndex()
- Gets the index of the data reference
-
getEndianDescriptor()
-
-
getSize()
- This method returns the size of the media sample description.
-
setDataFormat(int)
- Sets the data format of the sample description.
-
setDataRefIndex(int)
- Sets the data reference index for the description
-
setSize(int)
- Resizes the SampleDescription to the specified size.
-
toString()
- Print information about this object.
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
SampleDescription
public SampleDescription(int format) throws QTException
- This constructor creates an empty SampleDescription object.
getEndianDescriptor
public static EndianDescriptor getEndianDescriptor()
fromMovieImporter
public static SampleDescription fromMovieImporter(MovieImporter mi) throws StdQTException
- Determines the sample description of the component.
QuickTime::MovieImportGetSampleDescription
- Returns:
- The sample description.
- See Also:
- getSampleDescription
getSize
public int getSize()
- This method returns the size of the media sample description.
- Returns:
- the size of the sample description.
- Overrides:
- getSize in class QTHandleRef
setSize
public void setSize(int size) throws StdQTException
- Resizes the SampleDescription to the specified size.
QuickTime::SetHandleSize
- Parameters:
- size - the new size of the SampleDescription.
getDataFormat
public int getDataFormat()
- Return the data format of the sample description.
- Returns:
- the data format
setDataFormat
public void setDataFormat(int format)
- Sets the data format of the sample description.
- Parameters:
- format - the data format
getDataRefIndex
public int getDataRefIndex()
- Gets the index of the data reference
- Returns:
- the index of the data reference
setDataRefIndex
public void setDataRefIndex(int index)
- Sets the data reference index for the description
- Parameters:
- index - the new data reference index
clone
public Object clone()
- Implementation of Cloneable Interface.
- Overrides:
- clone in class Object
toString
public String toString()
- Print information about this object.
- Returns:
- a string representation of this object.
- Overrides:
- toString in class QTHandleRef
All Packages Class Hierarchy This Package Previous Next Index