History log of /frameworks/av/media/libmediaextractor/include/media/MediaSource.h
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/libmediaextractor/include/media/MediaSource.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/MediaSource.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/MediaSource.h
74065036f03cb9f96acb43c6e4f105ec91132395 23-Jan-2018 Marco Nelissen <marcone@google.com> Remove unnecessary includes and forward declarations

Bug: 67908544
Test: build
Change-Id: I824625940ba562571b16ed21e351ee17807d7d30
/frameworks/av/media/libmediaextractor/include/media/MediaSource.h
307f6056aea8f2ec98e7451742e307d2fc7acb35 22-Nov-2017 Dongwon Kang <dwkang@google.com> Remove unused MediaSource::setBuffers

Originally added with Ie03b285265099db, but the use case was gone with
OMXCodec.

Test: make checkbuild
Bug: 67908542
Change-Id: I6c4953126ab80f876a6dca258e112bb2eaee440d
/frameworks/av/media/libmediaextractor/include/media/MediaSource.h
2efe43d3a8fa1dcc6d1253baafb09b3d6e71329a 22-Nov-2017 Dongwon Kang <dwkang@google.com> Remove unused methods in Media(Source|Buffer)

Test: make checkbuild
Bug: 67908542
Change-Id: I56346f75a8c5f87b7090c02e6248fedcd5a19cf9
/frameworks/av/media/libmediaextractor/include/media/MediaSource.h
d3e0d861aa68a7ef129fe228595bff734448ebc8 03-Oct-2017 Chong Zhang <chz@google.com> heif: fixes for image sequences and dual-function files

Adding support for two new sets of APIs on MediaMetadataRetriever:

- getImageAtIndex() and getPrimaryImage()
- getFrameAtIndex() and getFramesAtIndex()

Outline of changes:

- Proper indexing of all displayable still images, so that they
can be retrieved by getImageAtIndex()

- Exposing still images as "image/x.android.heic" tracks in
MediaExtractor with necessary descriptive keys (such as "grid-*")

- Support to retrieve video frames by absolute index instead
of timestamps, as image use cases mostly are interested in
getting the images and care less about timing.

- Support to retrieve video frames in batches because retrieving
one frame at a time is inefficient.

- Refactor image / frame decoding code into FrameDecoder, and split
still image decoding and video sequence decoding into to sub
classes to facilite future development.

bug: 63633199

test:
cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice

Change-Id: I2fe8519fb6907f315a8b513921fc1cc7f436e28d
/frameworks/av/media/libmediaextractor/include/media/MediaSource.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/MediaSource.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/MediaSource.h