diff options
author | Lajos Molnar <lajos@google.com> | 2013-05-09 12:20:34 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2013-09-06 11:13:33 -0700 |
commit | 9a4575c31411524f5037f78666cdb648a07a5682 (patch) | |
tree | 2c232990ede5e0540ce6c35c3db57fe85e70f771 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f96b104a7f6e4c2a8883b6d4de69e6de24aa8edc (diff) |
MediaFormat.java: Add KEY_MAX_WIDTH and KEY_MAX_HEIGHT
KEY_MAX_WIDTH and KEY_MAX_HEIGHT are optional video decoder
format keys. Specify both to request seamless resolution-
change support from video decoders that support this feature.
You can check this via CodecCapabilities.isFeatureSupported.
The codecs use the MAX_WIDTH/HEIGHT values as hints for the
range of resolutions that needs to be supported. Note,
however, that some codecs may require more memory just by
_preparing_ for larger maximum resolutions, whether or not
that resolution is actually used.
Change-Id: I00fe986ef894fec4bb39bceed081da0e88725d59
Signed-off-by: Lajos Molnar <lajos@google.com>
Related-to-bug: 7093648
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions