Added in API level 21
MediaCodecInfo.EncoderCapabilities
public
static
final
class
MediaCodecInfo.EncoderCapabilities
extends Object
| java.lang.Object | |
| ↳ | android.media.MediaCodecInfo.EncoderCapabilities |
A class that supports querying the encoding capabilities of a codec.
Summary
Constants | |
|---|---|
int |
BITRATE_MODE_CBR
Constant bitrate mode |
int |
BITRATE_MODE_CBR_FD
Constant bitrate mode with frame drops |
int |
BITRATE_MODE_CQ
Constant quality mode |
int |
BITRATE_MODE_VBR
Variable bitrate mode |
Public methods | |
|---|---|
Range<Integer>
|
getComplexityRange()
Returns the supported range of encoder complexity values. |
Range<Integer>
|
getQualityRange()
Returns the supported range of quality values. |
String[]
|
getSupportedLayeringSchemas()
Returns the array of layering schemas supported by the encoder. |
boolean
|
isBitrateModeSupported(int mode)
Query whether a bitrate mode is supported. |
Inherited methods | |
|---|---|