|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.
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 |
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
size
- the size of the handle to create.clear
- clear the handle upon creation.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 copypublic QTHandle(QTHandleRef firstHandle, QTHandleRef secondHandle) throws QTException
firstHandle
- the first HandlesecondHandle
- the second HandleMethod Detail |
public static QTHandle fromGraphicsExporterText(GraphicsExporter g) throws QTException
GraphicsExporter.getInputHandle()
public static QTHandle fromGraphicsExporterInput(GraphicsExporter g) throws QTException
GraphicsExporter.getInputHandle()
public static QTHandle fromGraphicsExporterOutput(GraphicsExporter g) throws QTException
GraphicsExporter.getOutputHandle()
public static QTHandle fromSoundDescription(SoundDescription sd, int idType) throws QTException
idType
- an OSType identifying the information for removalSoundDescription.getExtension(int)
public static QTHandle fromGraphicsImporterData(GraphicsImporter gi) throws QTException
GraphicsImporter.getDataHandle()
public static QTHandle fromGraphicsImporterAlias(GraphicsImporter gi) throws QTException
GraphicsImporter.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.TimeCoder.getAtTime(int)
public static TimeCodeInfo fromTimeCoderCurrent(TimeCoder tc) throws QTException
TimeCoder.getCurrent()
public static QTHandle fromTimeCoderSource(TimeCoder tc, TimeCodeDescription tcd) throws QTException
tcd
- the description that describes the time code reference to be changedTimeCoder.getSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)
public static QTHandle fromTrack(Track t) throws QTException
Track.getSoundLocalizationSettings()
public static QTHandle fromEncodedImage(EncodedImage image) throws QTException
image
- the encoded image datapublic static void reserveMemory(int size) throws UtilException
size
- the size of the handle you will allocate in the new Handle(size...) callpublic void setSize(int size) throws UtilException
size
- the new size of the handle.public void concatenate(QTHandleRef hand) throws UtilException
public java.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |