3d21ae3fad5a894cf15f2e7e7a1d54d0f3d19db0 |
|
16-Feb-2018 |
Marco Nelissen <marcone@google.com> |
Remove RefBase from the extractor API - Add MetaDataBase base class that MetaData derives from, but which does not derive from RefBase. - MediaBuffer::meta_data() now returns a MetaDataBase& rather than an sp<MetaData> - Rename MediaSourceBase to MediaTrack. - MediaSource no longer derives from MediaSourceBase (or MediaTrack) - MediaTrack::getFormat(), MediaExtractor::getTrackMetaData() and MediaExtractor::getMetaData() all take a MetaDataBase& parameter that they fill out, rather than returning a MetaData directly (the corresponding methods on MediaSource and RemoteMediaExtractor continue to return MetaData) Bug: 67908544 Test: CTS MediaPlayerTest, DecoderTest, EncodeDecodeTest, manually record video Change-Id: Ib531ab309061290be33d40d6100c9a8127e22083
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
8ff8cab83dacf0263d7675d265c30bc1b8fd5dfd |
|
13-Jan-2017 |
Marco Nelissen <marcone@google.com> |
Remove dead code Remove code that was unreachable or never called. Test: build Change-Id: I82da1a3a046a7fe66bf012aa749d5a2de669d807
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
17e172b4c3c87ecaa7c87eecc42b4dc47e3e9734 |
|
30-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Remove String8 and AMessage from extractor plugin interface. - mime(String8): is dropped from the interface since it was only used for debug message. debug message is replaced with MediaExtractor::name. - meta(AMessage): is replaced with an opaque pointer, void *, in addition to an additional function pointer to free the object. (In MPEG4Extractor case, AMessage with "meta-data-size", which was introduced in Id2acdde89, is removed since the use case had been gone with AwesomePlayer.) Test: cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice Bug: 67908556 Change-Id: I242944332bf0ff7dd4ad2106fe8f68e97264010b
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
d23ab3ae2248781640e9a10659c9ad0a78941acc |
|
30-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Remove std:vector from MediaExtractor::setMediaCas() The layout and implementation of std::vector may be different depending on the compile environment. Now MediaExtractor uses plain c pointer to pass the token while framework side, IMediaExtractor, keeps using std:vector. Test: build Bug: 67908556 Change-Id: I9614426e1d3318ee6ead5f8f78d5d0120d8c605d
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
2a243f08193fe9ff1afe018e9953f01c44ced9de |
|
30-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Remove RefBase from plugin-side DataSource Extractor plugins now use DataSourceBase, which is not refcounted. Framework-side DataSource derives from DataSourceBase and RefBase. Also remove MediaExtractor::release, because it is not needed anymore due to the way the extractor/track/datasource lifecycle is managed now. Also add source and target pid to CallbackDataSource name, to make the extractor dumpsys more useful. Bug: 67908556 Test: build, boot, CTS, skia test app for heif Change-Id: I6b9cbe903f76b0cf27ba87f4a456f424803efd08
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
42e497d687c8e9ec61601987894c9033dcbf62d6 |
|
30-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Fix asan builds. -adding missing include statements Test: make -j50 PRODUCT-sailfish_asan_coverage-userdebug dist showcommands tests userdataimag Bug: 72683744 Change-Id: I7f958c2c81d38699d2d1cc893d1dfbb46d32de7f
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
cb30d8477cbd16dcef6acee1e07dedfa246e9456 |
|
27-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Remove RefBase from plugin-side MediaSource Extractor plugins now use MediaSourceBase, which is not refcounted. Framework-side MediaSource derives from MediaSourceBase and RefBase. Bug: 67908556 Test: build, boot Change-Id: Ie33ca07f0d0ba783a504d7b7bf1a75ca4acdd745
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
7d880c31d2079299000b036c6ae742dc695a5b19 |
|
25-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Remove RefBase from MediaExtractor Bug: 67908556 Test: build, boot Change-Id: I9cc0f1bdb89c2da52f89a28471d4b86f30500abb
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
49ce671c4efa4c5d038351ca441e34c5afa5241f |
|
24-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Remove unused includes and forward declarations in libmediaextractor/include Test: make checkbuild Bug: 67908556 Change-Id: If840305af5c043bb8014590eb208cf11c99e61ee
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
661e6990bf0fc4174f43cea928d80fcdcc623ff6 |
|
05-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Remove libmediametrics dependency from libmediaextractor - Removes media metrics related methods in the extractor plugin. - Puts metrics related code in one place, RemoteMediaExtractor. Test: build & pass android.media.cts.MediaExtractorTest Bug: 67908556 Change-Id: I5e06e6b6b5c047a3c68d90479e55f1df9061da45
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
d91dc5a0602f54fc0d4d2187f37b5b8169bb62c3 |
|
10-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Remove libmedia and libstagefright dependency from extractors - MediaSource, DataSource and MediaExtractor are moved to libmediaextractor so that they can be used by extractor implementations without depending on libmedia and libstagefright. - XXXFactory classes has been added in order not to expose CreateXXX methods in libmediaextractor. - avc_utils is moved to libstagefright_foundation since most of extractor implementations are relying on that. Test: build + post submit media CTS tests Bug: 65851881 Change-Id: I7d5cf18dd25abc10478ac3f6e7d1828ad023e3fb
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|
04ce1be860b40e18ca7f5fdf64ecb82567d7fe24 |
|
17-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Clean move of files to keep the git history Test: No. This is just intrim change. Build will be fixed by the following change. Bug: 65851881 Change-Id: I8285b3b79eeaf76fadc2242c71e999434f467c12
/frameworks/av/media/libmediaextractor/include/media/MediaExtractor.h
|