Methods Summary |
---|
public float | getPreferredQuality()Returns the default quality recommended for decoding or encoding.
|
public float | getQuality()Returns the current value of the decoding or encoding quality parameter.
|
public boolean | isTemporalSpatialTradeoffSupported()Returns if the encoder can increase frame rate with reduced resolution
and vica-versa.
|
public float | setQuality(float newQuality)Set the quality for the decoding or encoding. This value may have
different
effects depending on the type of compression. A higher quality
setting will result in better quality of the resulting outputb, e.g.
better image quality for video. There is usually a tradeoff between
CPU usage and the quality: higher quality requires higher
CPU usage. This value is only a hint and the codec can choose
to ignore it. The actual value that was set is returned.
It should be in the range of 0.0 to 1.0.
|