| java.lang.Object | |
| ↳ | android.media.MediaCodecInfo.VideoCapabilities |
A class that supports querying the video capabilities of a codec.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether a given video size (
width and
height) and frameRate combination is supported.
| |||||||||||
Returns the range of supported bitrates in bits/second.
| |||||||||||
Returns the alignment requirement for video height (in pixels).
| |||||||||||
Returns the range of supported frame rates.
| |||||||||||
Returns the range of supported video frame rates for a video size.
| |||||||||||
Returns the range of supported video heights.
| |||||||||||
Returns the range of supported video heights for a video width
| |||||||||||
Returns the range of supported video widths.
| |||||||||||
Returns the range of supported video widths for a video height.
| |||||||||||
Returns the alignment requirement for video width (in pixels).
| |||||||||||
Returns whether a given video size (
width and
height) is supported.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns whether a given video size (width and
height) and frameRate combination is supported.
Returns the range of supported bitrates in bits/second.
Returns the alignment requirement for video height (in pixels). This is a power-of-2 value that video height must be a multiple of.
Returns the range of supported frame rates.
This is not a performance indicator. Rather, it expresses the limits specified in the coding standard, based on the complexities of encoding material for later playback at a certain frame rate, or the decoding of such material in non-realtime.
Returns the range of supported video frame rates for a video size.
This is not a performance indicator. Rather, it expresses the limits specified in the coding standard, based on the complexities of encoding material of a given size for later playback at a certain frame rate, or the decoding of such material in non-realtime.
| width | the width of the video |
|---|---|
| height | the height of the video |
Returns the range of supported video heights.
Returns the range of supported video heights for a video width
| width | the width of the video |
|---|
Returns the range of supported video widths.
Returns the range of supported video widths for a video height.
| height | the height of the video |
|---|
Returns the alignment requirement for video width (in pixels). This is a power-of-2 value that video width must be a multiple of.
Returns whether a given video size (width and
height) is supported.