History log of /frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/libstagefright/RemoteMediaExtractor.cpp
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/libstagefright/RemoteMediaExtractor.cpp
de15b8c160c720c48b93796016801e7ae0b6bd2d 31-Jan-2018 Ray Essick <essick@google.com> link media.metrics native strings to api-controlled java strings

add comments to native media.metrics code pointing to how they
are (and aren't) to be kept in synch with their java counterparts
that are part of the public API (and therefore pretty much fixed).

Bug: 72492234
Test: compilation
Change-Id: Ic096545a5cdfb2160c6b66438d345d8e625384b9
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
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/libstagefright/RemoteMediaExtractor.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
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
31067d4b87475dd0a90145d4849cf66f7bf93f86 31-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove finalized concept from media.metrics"
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/libstagefright/RemoteMediaExtractor.cpp
7d880c31d2079299000b036c6ae742dc695a5b19 25-Jan-2018 Marco Nelissen <marcone@google.com> Remove RefBase from MediaExtractor

Bug: 67908556
Test: build, boot

Change-Id: I9cc0f1bdb89c2da52f89a28471d4b86f30500abb
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
92d23b433bd770c22c2d4a30b573602f5565de1b 29-Jan-2018 Ray Essick <essick@google.com> Remove finalized concept from media.metrics

the 'finalized' concept didn't pan out -- remove references to it.
Simplifies the code flow.
Also purged some uses of generateSessionID().

Bug: 71874686
Test: logcat/dumpsys
Change-Id: I39e48526a5696158d8195f47154881ca6ecda266
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
5e1897bbd25d8353d9567b746ce50d4b80d30564 30-Jun-2017 Dongwon Kang <dwkang@google.com> Keep the in-use extractor plugins when updating.

To track usage of extractors and close the so handle when they are
destroied, MediaExtractorPlugin/RefBase class is introduced.

Test: play MP4 file. install and uninstall media update apk.
Bug: 67908547
Change-Id: I24926f943bc7247627e62d38edafd13d9c305a51
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp
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/libstagefright/RemoteMediaExtractor.cpp
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/libstagefright/RemoteMediaExtractor.cpp
ba8128f9db82da66f28c6e6740d4721d80da954e 08-Aug-2017 Dongwon Kang <dwkang@google.com> Remove direct dependency on libbinder from extractor impls

This change removes dependency on IMediaExtractor/Source binder
interfaces from MediaExtractor implementations. Wrapper classes,
RemoteXXX and CallbackXXX, have been added to convert the
implementations to binder objects or the other way around.

Test: build, boot, and play mp4 video file
Bug: 65851881
Change-Id: I351fb7bbaf8e0154295ccf258f85b8b2f2a4b8fb
/frameworks/av/media/libstagefright/RemoteMediaExtractor.cpp