History log of /frameworks/av/media/libstagefright/CallbackDataSource.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d49dbd6b625cddb82f3f7bbeac62d48ef338ef0f 07-Jul-2016 Andy Hung <hunga@google.com> Allow MediaExtractor to create FileSource

Remove binder call to MediaServer for reading files.

Test: Photos, Play Music, Play Movies, Youtube
Bug: 29125703
Change-Id: Id6abf592bf6d70b81158f6038b1982f0a537b9b9
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
b6f77710f3355f256c831f2465a21a745e8f9a32 19-Dec-2016 Marco Nelissen <marcone@google.com> Fix potential NULL dereference

Bug: 32875080
Change-Id: I9d6808812e735e58e8b477635441fd92f94f8d25
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
2a5e49c984befa066e966cd9af2303a54976f163 07-Jul-2016 Wei Jia <wjia@google.com> MediaExtractor: add DrmInitialization in IDataSource.

Bug: 28901867
Change-Id: Ic33dc8dc2f5f36239e057d2f2aceeb7738eef968
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
69d3d8a9540b0da787ea0beccad2517f057dd54d 07-Mar-2016 Marco Nelissen <marcone@google.com> Expand mediaextractor dumpsys

Bug: 22775369
Change-Id: I3366a52ba7a00d1685a2211465f2f18f143d0efc
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
fbe7fcfe818b6f68e352c7c450d4fe15a543b801 05-Apr-2016 Marco Nelissen <marcone@google.com> Close MediaDataSource on extractor/retriever release

instead of waiting for garbage collection.

Bug: 26911216
bug: 26741307
Change-Id: I79010066962a1bdb9cb8bf74ba9a7997abb82fd4
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
10551fcd58b3807fc7351d88e6127ec227b993d1 27-Jan-2016 Wei Jia <wjia@google.com> IDataSource: add getFlags() to expose DataSource::flags().

This will let MPEG4Extractor cache stbl data. Therefore it can avoid data
flushing in data source (NuCachedSource2) due to reading stbl and access
unit data alternatively when the stream is larger than max cache size.

Bug: 26533748
Change-Id: Ia534755ab9130e4dcee94d53ca3c933d1b9eb566
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
40a3f52cc7d4f657f963d9c2b47007fdfd3fc9dd 16-Dec-2015 Robert Shih <robertshih@google.com> CallbackDataSource: return bytes read instead of eos on short read

Bug: 25800374
Change-Id: I17af28f85d68dc964179dda8ddf8874c02f202a5
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
71ec3dfc1d8d53bdc8f99b69286b60ecb926d7ff 11-Jun-2015 Wonsik Kim <wonsik@google.com> stagefright: fix clang build

Change-Id: I4f10e4af6f0b5fb0b90513ad516b36b444d3bd68
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
06ec7f3ef28ee68714d323ca9e2d3cab2165dfe8 09-Jun-2015 Wonsik Kim <wonsik@google.com> stagefright: TinyCacheSource to read continuously

If the seek operation of underlying MediaDataSource implementation is
expensive and each read is relatively small (e.g. Live MPEG2 TS
stream), current TinyCacheSource implementation requests seek too
frequently.

Bug: 21764375

Change-Id: Ic620bf027bc4ef48822549c83c5c98109986884a
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
da7e453e1d1c77959822cf9602ddfed1c50be445 07-Apr-2015 Chris Watkins <watk@google.com> stagefright: add a 2kb cache for CallbackDataSource.

Without a cache the mediaserver does a lot of small reads which result
in round trips through binder and jni to the app MediaDataSource.

On a Nexus 5 I measured time to first frame from MediaPlayer for
1) 1350kbps h264, and 2) 20480kbps vp8. Without a cache, MediaDataSource
was ~250ms slower than an fd. With a 2kb cache it's 30ms slower for (1)
and 70ms slower for (2).

Change-Id: If1e811db7b853c4f79430603318d4744ac30acb9
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
ee4e1b1a63758941460ae79a064249d3a5189443 17-Apr-2015 Lajos Molnar <lajos@google.com> stagefright: warnings be gone, some are now errors, use clang

Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
/frameworks/av/media/libstagefright/CallbackDataSource.cpp
99f31604136d66ae10e20669fb6b5716f342bde0 20-Mar-2015 Chris Watkins <watk@google.com> Unhide the android.media.[Media]DataSource interface.

This allows apps to implement MediaDataSource, which is modeled on
stagefright's DataSource, to supply media data to the framework. This
was already implemented for MediaExtractor, but it was renamed from
DataSource.

MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new
overload: #setDataSource(android.media.MediaDataSource)

Only NuPlayer supports this new data source.

The change introduces:
* IDataSource: The binder interface for DataSource.
* JMediaDataSource: The native counterpart to the java interface. It
implements IDataSource.
* CallbackDataSource: A stagefright DataSource that wraps an
IDataSource.

Change-Id: Ib3c944b49cc8a792c8eb9c85e5015c07f298ebc1
/frameworks/av/media/libstagefright/CallbackDataSource.cpp