7f3f4c9196cbde179980254e43b543038a00c8be |
30-Mar-2018 |
Marco Nelissen <marcone@google.com> |
Link statically with libutils and libstagefright_foundation Removes external dependencies on things like RefBase and Vector, with minimal code size increase. Bug: 67908544 Test: manual Change-Id: Iee05844db83fc8e55f63ec1a7a7fa466ac09345c
ndroid.bp
|
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
ndroid.bp
AVExtractor.cpp
AVExtractor.h
|
1889c3edad32995c0cf26ae2248fe7c957b7ec84 |
01-Feb-2018 |
Dongwon Kang <dwkang@google.com> |
Add MediaBufferBase and use it in MediaSource and MediaBufferGroup. MediaBuffer class exposes internal classes, ABuffer and IMemory, which we don't want to expose to plugins. This change introduces MediaBufferBase which does not expose any classes from system library. Test: build and post-submit media cts tests Bug: 67908556 Change-Id: Ic9ee239caf9b84b2b3740e2d533257afa25c8784
AVExtractor.cpp
|
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
AVExtractor.cpp
|
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
AVExtractor.cpp
AVExtractor.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
AVExtractor.cpp
AVExtractor.h
|
7d880c31d2079299000b036c6ae742dc695a5b19 |
25-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Remove RefBase from MediaExtractor Bug: 67908556 Test: build, boot Change-Id: I9cc0f1bdb89c2da52f89a28471d4b86f30500abb
AVExtractor.cpp
AVExtractor.h
|
03bb4d504db6f23400cb820da7c2018066930abb |
14-Dec-2017 |
Marco Nelissen <marcone@google.com> |
Limit exported symbols Symbols from static libraries included in dynamic libraries are exported from the dynamic library by default, and the usual "-Wl,--exclude-libs,ALL" doesn't work for 64-bit libraries, so use a version script instead to ensure we only export the necessary symbols. This prevents applications from accessing the libraries outside of the provided API, and reduces total size of extractor libraries by over 20%. Test: build, run Change-Id: I0aa1bd5fdc638960e66f59c867731a0aad255896
ndroid.bp
xports.lds
|
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
ndroid.bp
AVExtractor.cpp
AVExtractor.h
|
f129a5fc047379c70b3479f899f793ade4303862 |
06-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Sort shared libs in Android.bp for extractors Test: build Change-Id: I56601466235bb570661e5cf2db5614c434b80c09
ndroid.bp
|
75226177f20a176d50e3e53bbb34067cb49112c3 |
16-Nov-2016 |
Marco Nelissen <marcone@google.com> |
Make extractors separate libraries instead of being integrated into libstagefright Test: thoroughly Change-Id: I11cdfde6d2daf248c8e0f99237db1c74be260eb0
ndroid.bp
ODULE_LICENSE_APACHE2
OTICE
AVExtractor.cpp
AVExtractor.h
|