|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.util.QTHandleRef
|
+--quicktime.std.movies.media.SampleDescription
The SampleDescription class implements the SampleDescription data structure of the Movie Toolbox.
| Field Summary | |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
SampleDescription(int format)
This constructor creates an empty SampleDescription object. |
|
| Method Summary | |
java.lang.Object |
clone()
Implementation of Cloneable Interface. |
static SampleDescription |
fromMovieImporter(MovieImporter mi)
Determines the sample description of the component. |
int |
getDataFormat()
Return the data format of the sample description. |
int |
getDataRefIndex()
Gets the index of the data reference |
static EndianDescriptor |
getEndianDescriptor()
|
int |
getSize()
This method returns the size of the media sample description. |
void |
setDataFormat(int format)
Sets the data format of the sample description. |
void |
setDataRefIndex(int index)
Sets the data reference index for the description |
void |
setSize(int size)
Resizes the SampleDescription to the specified size. |
java.lang.String |
toString()
Print information about this object. |
| Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, unlock |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int kNativeSize
| Constructor Detail |
public SampleDescription(int format)
throws QTException
| Method Detail |
public static EndianDescriptor getEndianDescriptor()
public static SampleDescription fromMovieImporter(MovieImporter mi)
throws StdQTException
StdQTExceptionMovieImporter.getSampleDescription()public int getSize()
getSize in class QTHandleRef
public void setSize(int size)
throws StdQTException
size - the new size of the SampleDescription.
StdQTExceptionpublic int getDataFormat()
public void setDataFormat(int format)
format - the data formatpublic int getDataRefIndex()
public void setDataRefIndex(int index)
index - the new data reference indexpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class QTHandleRef
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||