diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2014-05-20 09:30:59 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-06-06 15:31:35 -0700 |
commit | 3b5a6b9fa6c6825a1d0b441429e2bb365b259827 (patch) | |
tree | b278ff5feff55889024d9fd398aaeee9640e3e0c /include | |
parent | 26594add1ec0b6255c96b39e43ccdc95b2c480aa (diff) | |
download | frameworks_av-3b5a6b9fa6c6825a1d0b441429e2bb365b259827.zip frameworks_av-3b5a6b9fa6c6825a1d0b441429e2bb365b259827.tar.gz frameworks_av-3b5a6b9fa6c6825a1d0b441429e2bb365b259827.tar.bz2 |
stagefright: added support, and SoftOMX decoder, for HEVC
also fixed QuerySupportedProfileLevels in
SoftVideoDecoderOMXComponent.cpp
Bug: 14571712
Change-Id: Ifa3793f7c1b18ac5e8c0a096848c998cabd9e777
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MetaData.h | 2 | ||||
-rw-r--r-- | include/media/stagefright/OMXCodec.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h index e862ec3..d38d976 100644 --- a/include/media/stagefright/MetaData.h +++ b/include/media/stagefright/MetaData.h @@ -53,6 +53,7 @@ enum { kKeyESDS = 'esds', // raw data kKeyAACProfile = 'aacp', // int32_t kKeyAVCC = 'avcc', // raw data + kKeyHVCC = 'hvcc', // raw data kKeyD263 = 'd263', // raw data kKeyVorbisInfo = 'vinf', // raw data kKeyVorbisBooks = 'vboo', // raw data @@ -170,6 +171,7 @@ enum { enum { kTypeESDS = 'esds', kTypeAVCC = 'avcc', + kTypeHVCC = 'hvcc', kTypeD263 = 'd263', }; diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h index 5121c17..5590b60 100644 --- a/include/media/stagefright/OMXCodec.h +++ b/include/media/stagefright/OMXCodec.h @@ -352,6 +352,9 @@ private: int64_t getDecodingTimeUs(); + status_t parseHEVCCodecSpecificData( + const void *data, size_t size, + unsigned *profile, unsigned *level); status_t parseAVCCodecSpecificData( const void *data, size_t size, unsigned *profile, unsigned *level); |