summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MetadataRetrieverClient.h
Commit message (Collapse)AuthorAgeFilesLines
* Serialize calls to getFrameAtTime in the mediaserverMarco Nelissen2015-06-121-0/+1
| | | | | | | to avoid running out of memory. Bug: 21277449 Change-Id: I7210806a24958f38d86aadab0310fc263e4c0edf
* libmediaplayerservice: fix warnings, make warnings errors, use clangLajos Molnar2015-04-171-1/+1
| | | | Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
* Unhide the android.media.[Media]DataSource interface.Chris Watkins2015-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-1/+4
| | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* Support passing headers to MediaMetadataRetriever's setDataSource APIAndreas Huber2011-03-211-1/+4
| | | | | Change-Id: Ib1a5c08fc5034cac05034db27007a35c9b660b26 related-to-bug: 3506316
* Publish MediaMetadataRetriever.java as public APIJames Dong2011-01-121-2/+0
| | | | | | | | | | | | o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 2433195 Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
* Prepare for publishing MediaMetadataRetriever as public APIJames Dong2010-12-031-2/+1
| | | | | | | | | | step one: o replaced captureFrame with getFrameAtTime o removed getMode bug - 2433195 Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
* Don't use MemoryDealer in MetadataRetrieverClient as it's not necessary.Mathias Agopian2010-01-291-2/+0
| | | | Use a MemoryHeapBase directly instead.
* Set metadata retriever thread group to the caller's group.Dave Sparks2009-11-231-10/+0
| | | | | | | | | | | | | | This patch modifies the native binder interface to the metadata retriever to pass the caller's thread group across the binder interface. On the server side, the thread scheduler group is set to the caller's scheduler group temporarily and restored after the request has completed. This patch also reverts a previous patch where the priority of the thread was forced to a low priority foreground thread. This should give apps more control over the priority of their metadata retrieval, particularly allow background process to run without hogging the CPU.
* Run the metadataretriever at background priority. Bug 2187133.Dave Sparks2009-10-261-0/+10
| | | | | | This change forces metadata retreiver threads to background priority. Uses an inner class to encapsulate the priority change so that it automatically restores priority when returning to the client.
* Fix some metadata retriever issues:James Dong2009-09-291-0/+1
| | | | | | 1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource 2. cached the mode so that setMode can still be called before setDataSource. mRetriever won't be initialized until data source is set; thus we have to do this
* get rid of utils.hMathias Agopian2009-05-311-1/+4
|
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-1/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+71
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-71/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+71