|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.QTObject | +--quicktime.util.QTPointerRef | +--quicktime.util.QTPointer
The QTPointer class implements a pointer that can be used in calls to QuickTime.
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
QTPointer(byte[] byteArray)
Construct a pointer from input data. |
|
QTPointer(int size,
boolean clear)
Allocate a pointer for general use. |
|
QTPointer(QTHandleRef hdl,
int offset,
int size)
This constructor is used to create a QTPointer object from a Handle. |
|
QTPointer(QTPointerRef firstPtr,
QTPointerRef secondPtr)
Construct a pointer from the concatenation of the two supplied pointers. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a copy of this object |
void |
concatenate(QTPointerRef ptr)
Concatenates the supplied pointer to this pointer. |
static QTPointer |
fromEncodedImage(EncodedImage image)
Returns EncodedImage data as a QTPointer. |
static QTPointerRef |
fromGraphicsExporter(GraphicsExporter ge)
The buffer that contains the sound data. |
static QTPointer |
fromSCData(SoundComponentData scd)
The buffer that contains the sound data. |
void |
setSize(int newSize)
This method will resize the memory that a pointer points to. |
| Methods inherited from class quicktime.util.QTPointerRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize, toString |
| 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 QTPointer(int size, boolean clear) throws QTException
size - the size of the pointer to create.clear - clear the pointer upon creation.public QTPointer(byte[] byteArray) throws QTException
byteArray - the input data.public QTPointer(QTHandleRef hdl, int offset, int size) throws QTException
hdl - the handle to copy.offset - you can specify an offset within the handle from which to copy the datasize - the amount of bytes to copypublic QTPointer(QTPointerRef firstPtr, QTPointerRef secondPtr) throws QTException
firstPtr - the first PointersecondPtr - the second Pointer| Method Detail |
public static QTPointerRef fromGraphicsExporter(GraphicsExporter ge) throws StdQTException
quicktime.std.image.GraphicsExporter.getInputPtrpublic static QTPointer fromSCData(SoundComponentData scd)
SoundComponentData.getBuffer()public static QTPointer fromEncodedImage(EncodedImage image) throws QTException
image - the encoded image datapublic java.lang.Object clone()
public void setSize(int newSize) throws UtilException
newSize - the new sizepublic void concatenate(QTPointerRef ptr) throws UtilException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||