|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.std.image.DataRateParams
The Image Compression Manager provides this object to allow your application
to communicate information to compressors that can constrain compressed data
to a specific data rate.
QuickTime:DataRateParams
| 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.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
| Constructor Summary | |
DataRateParams()
Creates a DataRateParams object with no values set. |
|
DataRateParams(int dataRate,
int dataOverrun,
int frameDuration,
int keyFrameRate,
int minSpatialQuality,
int minTemporalQuality)
Create a DataRateParams object and set the relevant values. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a copy of this class. |
int |
getDataOverrun()
Gets the current number of bytes above or below the desired rate. |
int |
getDataRate()
Gets the bytes per second to which the data rate is constrained. |
int |
getFrameDuration()
Gets the duration of the current frame in milliseconds. |
int |
getKeyFrameRate()
Gets the frequence of key frames. |
int |
getMinSpatialQuality()
Gets the minimum spatial quality the compressor should use to meet the requested data rate. |
int |
getMinTemporalQuality()
Gets the minimum temporal quality the compressor should use to meet the requested data rate. |
void |
setDataOverrun(int dataOverrun)
Sets the number of bytes above or below the desired data rate. |
void |
setDataRate(int dataRate)
Sets the bytes per second to which the data rate must be constrained. |
void |
setFrameDuration(int frameDuration)
Sets the duration of the frame in milliseconds. |
void |
setKeyFrameRate(int keyFrameRate)
Sets the frequence of key frames. |
void |
setMinSpatialQuality(int minSpatialQuality)
Sets the minimum spatial quality the compressor should use to meet the requested data rate. |
void |
setMinTemporalQuality(int minTemporalQuality)
Sets the minimum temporal quality the compressor should use to meet the requested data rate. |
| Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize, toString |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int kNativeSize
| Constructor Detail |
public DataRateParams()
public DataRateParams(int dataRate, int dataOverrun, int frameDuration, int keyFrameRate, int minSpatialQuality, int minTemporalQuality)
dataRate - the bytes/second to which the data rate must be constraineddataOverrun - number of bytes above or below the desired rate, if your
application does not know the data overrun, this value
should be zero.frameDuration - in millisecondskeyFrameRate - the frequency of key framesminSpatialQuality - the minimum spatial quality the compressor should
use to meet the requested data rateminTemporalQuality - the minimum temporal quality the compressor should
use to meet the requested data rate| Method Detail |
public int getDataRate()
public int getDataOverrun()
public int getFrameDuration()
public int getKeyFrameRate()
public int getMinSpatialQuality()
public int getMinTemporalQuality()
public void setDataRate(int dataRate)
dataRate - in bytes/secondpublic void setDataOverrun(int dataOverrun)
dataOverrun - number of bytespublic void setFrameDuration(int frameDuration)
frameDuration - in millisecondspublic void setKeyFrameRate(int keyFrameRate)
keyFrameRate - the frequencypublic void setMinSpatialQuality(int minSpatialQuality)
minSpatialQuality - an intpublic void setMinTemporalQuality(int minTemporalQuality)
minTemporalQuality - an intpublic java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||