|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a Control for specifying the parameters for quality. Quality is referenced by a float value of 0.0 for minimal quality and 1.0 for maximum quality. There is usually a tradeoff between CPU usage and the quality: higher quality requires higher CPU usage.
Method Summary | |
float |
getPreferredQuality()
Returns the default quality recommended for decoding or encoding. |
float |
getQuality()
Returns the current value of the decoding or encoding quality parameter. |
boolean |
isTemporalSpatialTradeoffSupported()
Returns if the encoder can increase frame rate with reduced resolution and vica-versa. |
float |
setQuality(float newQuality)
Set the quality for the decoding or encoding. |
Methods inherited from interface javax.media.Control |
getControlComponent |
Method Detail |
public float getQuality()
public float setQuality(float newQuality)
newQuality
- the decoding or encoding quality.
public float getPreferredQuality()
public boolean isTemporalSpatialTradeoffSupported()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |