|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.image.CSequenceToMemory
This class provides a mechanism for compressing a sequence of images to memory. The compressed images are maintained internally. Use the DSequenceFromMemory class to decompress a sequence of images from a CSequenceToMemory object.
When compressing a sequence of images you want to keep in memory you would use this class and use the compressFrame call that belongs here. This class will then handle the memory that the compressed image is loaded into. If you call one of the super compressFrame calls then this class does NOT know about the compressed data.
DSequenceFromMemory| Constructor Summary | |
CSequenceToMemory(int numFrames)
Deprecated. since QTJava 6.1 |
|
CSequenceToMemory(QDGraphics src,
QDRect srcRect,
int depth,
int cType,
CodecComponent codec,
int spatialQuality,
int temporalQuality,
int keyFrameRate,
ColorTable cTab,
int flags)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
begin(QDGraphics src,
QDRect srcRect,
int colorDepth,
int cType,
CodecComponent codec,
int spatialQuality,
int temporalQuality,
int keyFrameRate,
ColorTable clut,
int flags)
Deprecated. since QTJava 6.1 |
int |
compressFrame(QDGraphics src,
QDRect srcRect,
int flags)
Deprecated. since QTJava 6.1 |
ImageDescription |
getDescription()
Deprecated. since QTJava 6.1 |
CSequence |
getSequence()
Deprecated. since QTJava 6.1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CSequenceToMemory(int numFrames)
numFrames - the number of Frames that the compression will holdquicktime.std.image.CSequence.begin
public CSequenceToMemory(QDGraphics src,
QDRect srcRect,
int depth,
int cType,
CodecComponent codec,
int spatialQuality,
int temporalQuality,
int keyFrameRate,
ColorTable cTab,
int flags)
throws QTException
src - a QDGraphics containing the PixMap object containing the source data to be compressedsrcRect - a QDRect defining the portion of the image to compressdepth - the depth of the color or 0 for the current device's depthcType - the compressor typecodec - the compressor identifierspatialQuality - the desired compressed image qualitytemporalQuality - the desired sequence temporal qualitykeyFrameRate - the maximum number of frames allowed between key framescTab - the ColorTable or null that is used in the compressionflags - flags providing further control information| Method Detail |
public void begin(QDGraphics src,
QDRect srcRect,
int colorDepth,
int cType,
CodecComponent codec,
int spatialQuality,
int temporalQuality,
int keyFrameRate,
ColorTable clut,
int flags)
throws QTException
src - a QDGraphics containing the PixMap object containing the source data to be compressedsrcRect - a QDRect defining the portion of the image to compresscolorDepth - the depth at which the sequence is likely to be viewedcType - the compressor typecodec - the compressor identifierspatialQuality - the desired compressed image qualitytemporalQuality - the desired sequence temporal qualitykeyFrameRate - the maximum number of frames allowed between key framesclut - a custum color lookup tableflags - flags providing further control information
QTException
public int compressFrame(QDGraphics src,
QDRect srcRect,
int flags)
throws QTException
src - a QDGraphics containing the PixMap that contains the image to be compressedsrcRect - a QDRect defining the portion of the image to compressflags - flags providing further control information
QTException
public ImageDescription getDescription()
throws QTException
QTExceptionpublic CSequence getSequence()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||