java.lang.Object | |
↳ | android.media.MediaCodecInfo.EncoderCapabilities |
A class that supports querying the encoding capabilities of a codec.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BITRATE_MODE_CBR | Constant bitrate mode | |||||||||
int | BITRATE_MODE_CQ | Constant quality mode | |||||||||
int | BITRATE_MODE_VBR | Variable bitrate mode |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the supported range of encoder complexity values.
| |||||||||||
Query whether a bitrate mode is supported.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constant bitrate mode
Constant quality mode
Variable bitrate mode
Returns the supported range of encoder complexity values.
Some codecs may support multiple complexity levels, where higher complexity values use more encoder tools (e.g. perform more intensive calculations) to improve the quality or the compression ratio. Use a lower value to save power and/or time.
Query whether a bitrate mode is supported.