df200f6a98da83bf2c1b14aff0ed356263dfb8b7 |
|
11-Nov-2011 |
Glenn Kasten <gkasten@google.com> |
Bug fixes and cleanup for video codec profiles Bug fixes: - removed the line VideoDecoderNbProfLevel[c] = 0;" it could overwrite the MPEG2 entry if only one codec implementation, or worse if there were multiple codec implementations - android_videoCodec_getProfileLevelCombinationNb was returning success and zero count if a decoder has zero profile/level combinations, but OpenMAX AL 1.0.1 spec says it must fail in that case. Minor cleanup: - omx does not need to be global - We only use the first codec implementation for a given decoder ID / MIME type, so simplify the code that iterates through the array of codec implementations - Add some const - Add some comments Also includes #if 0 code to restrict reported video codec profiles, as a placeholder -- disabled for now. Change-Id: I81991f164efaf3606beb5789e1a79cf76ad033a0
/frameworks/wilhelm/src/itf/IVideoDecoderCapabilities.cpp
|
947ccd3690e84649878f2583c701ca8de1b19ed4 |
|
24-Sep-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 5365486 GetVideoDecoderCapabilities If OMX IL implementation reports a codec with 0 profile/level combinations, it should not be an error for the application to query the number of profile/level combinations. Change-Id: I6838ba1168da70a5c5e7d5a2832ec3ee1ee9aef3
/frameworks/wilhelm/src/itf/IVideoDecoderCapabilities.cpp
|
d7ecf117cfac5f2b90a0dc6c62b56dcce0715971 |
|
19-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Reduce logs Change-Id: I82c8a66886bd3b853fac88594370545ed23a0400
/frameworks/wilhelm/src/itf/IVideoDecoderCapabilities.cpp
|
6e7e174807fc639c49125ced8962aa369370fbf0 |
|
13-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Implement XAVideoDecoderCapabilitiesItf Add support for the OpenMAX AL XAVideoDecoderCapabilitiesItf engine interface. Implement the Android support of this interface in VideoCodec_to_android.*. This functionality relies on OMXCodec::QueryCodecs() feature, and does only expose hardware codec capabilities (see full note in VideoCodec_to_android.h). Add sample code to list the platform's video decoders and their profile / level combinations. Change-Id: Iff6a42542c1db67ca1dcf539449ca96aa5944f6d
/frameworks/wilhelm/src/itf/IVideoDecoderCapabilities.cpp
|