|
||||||||||
| 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.util.QTHandle
The QTHandle class implements a handle that can be used in calls to QuickTime.
| Field Summary |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
QTHandle()
Allocate a handle of minimum size for general use. |
|
QTHandle(byte[] byteArray)
Construct a handle from input data. |
|
QTHandle(int size,
boolean clear)
Allocate a handle for general use. |
|
QTHandle(QTHandleRef firstHandle,
QTHandleRef secondHandle)
Construct a handle from the concatenation of the two handles supplied. |
|
QTHandle(QTPointerRef ptr,
int offset,
int size)
This constructor is used to create a QTHandle object from a QTPointer. |
|
| Method Summary | |
java.lang.Object |
clone()
Implementation of Cloneable Interface. |
void |
concatenate(QTHandleRef hand)
Concatenates the supplied handle to this handle, resize the size of this handle to accomodate the second handle's data. |
static QTHandle |
fromEncodedImage(EncodedImage image)
Returns EncodedImage data as a QTHandle. |
static QTHandle |
fromGraphicsExporterInput(GraphicsExporter g)
Determines the data handle that is the source for input images to graphics export component QuickTime::GraphicsExportGetInputHandle |
static QTHandle |
fromGraphicsExporterOutput(GraphicsExporter g)
Determines the data handle that is the source for input images to graphics export component QuickTime::GraphicsExportGetOutputHandle |
static QTHandle |
fromGraphicsExporterText(GraphicsExporter g)
Determines the data handle that is the source for input images to graphics export component QuickTime::GraphicsExportGetSettingsAsText |
static QTHandle |
fromGraphicsImporterAlias(GraphicsImporter gi)
Determines the aliased data reference. |
static QTHandle |
fromGraphicsImporterData(GraphicsImporter gi)
Determines the data reference that the graphics resides in. |
static QTHandle |
fromImageCompressionDialog(ImageCompressionDialog icd)
|
static QTHandle |
fromImageDescription(ImageDescription sd,
int idType,
int index)
Retrieve application specific info from a ImageDescription object QuickTime::GetImageDescriptionExtension |
static QTHandle |
fromSoundDescription(SoundDescription sd,
int idType)
Retrieve application specific info from a Sound Description object QuickTime::GetSoundDescriptionExtension |
static TimeCodeInfo |
fromTimeCoderCurrent(TimeCoder tc)
Determines the time code from the time code handler at the current time value. |
static QTHandle |
fromTimeCoderSource(TimeCoder tc,
TimeCodeDescription tcd)
Allows you to retrieve the source information from the time code media sample. |
static TimeCodeInfo |
fromTimeCoderTime(TimeCoder tc,
int mediaTime)
Determines the time code from the time code handler. |
static QTHandle |
fromTrack(Track t)
This method returns the sound localization settings for the track. |
static void |
reserveMemory(int size)
Use reserve memory before you allocate a handle that you intend to keep locked for long periods of time. |
void |
setSize(int size)
Resizes the handle to the specified size. |
| Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, getSize, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, toString, unlock |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public QTHandle()
throws QTException
public QTHandle(int size,
boolean clear)
throws QTException
size - the size of the handle to create.clear - clear the handle upon creation.
public QTHandle(byte[] byteArray)
throws QTException
byteArray - the input data.
public QTHandle(QTPointerRef ptr,
int offset,
int size)
throws QTException
ptr - the pointer to copy.offset - you can specify an offset within the pointer from which to copy the datasize - the amount of bytes to copy
public QTHandle(QTHandleRef firstHandle,
QTHandleRef secondHandle)
throws QTException
firstHandle - the first HandlesecondHandle - the second Handle| Method Detail |
public static QTHandle fromGraphicsExporterText(GraphicsExporter g)
throws QTException
QTExceptionGraphicsExporter.getInputHandle()
public static QTHandle fromGraphicsExporterInput(GraphicsExporter g)
throws QTException
QTExceptionGraphicsExporter.getInputHandle()
public static QTHandle fromGraphicsExporterOutput(GraphicsExporter g)
throws QTException
QTExceptionGraphicsExporter.getOutputHandle()
public static QTHandle fromSoundDescription(SoundDescription sd,
int idType)
throws QTException
idType - an OSType identifying the information for removal
QTExceptionSoundDescription.getExtension(int)
public static QTHandle fromImageDescription(ImageDescription sd,
int idType,
int index)
throws StdQTException
idType - an OSType identifying the information for removal
StdQTExceptionImageDescription.getExtension(int, int)
public static QTHandle fromGraphicsImporterData(GraphicsImporter gi)
throws QTException
QTExceptionGraphicsImporter.getDataHandle()
public static QTHandle fromGraphicsImporterAlias(GraphicsImporter gi)
throws QTException
QTExceptionGraphicsImporter.getAliasedDataReference()
public static TimeCodeInfo fromTimeCoderTime(TimeCoder tc,
int mediaTime)
throws QTException
mediaTime - The time value of the media at which to retrieve the time code information.
QTExceptionTimeCoder.getAtTime(int)
public static TimeCodeInfo fromTimeCoderCurrent(TimeCoder tc)
throws QTException
QTExceptionTimeCoder.getCurrent()
public static QTHandle fromTimeCoderSource(TimeCoder tc,
TimeCodeDescription tcd)
throws QTException
tcd - the description that describes the time code reference to be changed
QTExceptionTimeCoder.getSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)
public static QTHandle fromTrack(Track t)
throws QTException
QTExceptionTrack.getSoundLocalizationSettings()
public static QTHandle fromEncodedImage(EncodedImage image)
throws QTException
image - the encoded image data
QTException
public static void reserveMemory(int size)
throws UtilException
size - the size of the handle you will allocate in the new Handle(size...) call
UtilException
public void setSize(int size)
throws UtilException
size - the new size of the handle.
UtilException
public void concatenate(QTHandleRef hand)
throws UtilException
UtilException
public static QTHandle fromImageCompressionDialog(ImageCompressionDialog icd)
throws StdQTException
StdQTExceptionpublic java.lang.Object clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||