summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/NuMediaExtractor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-2/+4
| | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* Add support for common encryptionMarco Nelissen2013-04-081-0/+28
| | | | | | b/7465749 Change-Id: I5403b74a5ae428ad28b382863a09daafc400b137
* Fix deadlockMarco Nelissen2012-08-241-1/+17
| | | | | | | | | I wanted to save some space, and ended up with a deadlock. This change basically restores setDataSource(fd, offset, size) to the way it was before I added the new setDataSource(DataSource) method, instead of calling through to it. Change-Id: Iacf4627c8745369fa84b467530189a9f64f8726b
* Allow directly setting a DataSource for NuMediaExtractorMarco Nelissen2012-08-241-3/+13
| | | | | | | | This adds NuMediaExtractor::setDataSource(const sp<DataSource> &source), which some new code under frameworks/av will use to let applications provide a custom data source for extractors. Change-Id: I8fb743441d04b4eadbda3c2d76858c3d60e2a3b2
* Don't make the decrypted content available to Java applications via ↵James Dong2012-07-231-0/+6
| | | | | | MediaExtractor.java API Change-Id: I38df6a6be30a34ce3f2640f79784dc94c8ca1158
* Tell surface flinger that we want to protect output buffers from beingAndreas Huber2012-05-221-0/+6
| | | | | | | | sent to HDMI (without HDCP) and push a few black frames on IDLE->LOADED similar to OMXCodec's behaviour. Change-Id: Iea6055a115151ca881220a70a31af6ade2c58cb3 related-to-bug: 6537187
* Respect channel mask in ACodec and NuPlayer.Andreas Huber2012-05-031-168/+1
| | | | | | | Refactor conversion from MetaData into AMessage while we're at it. Change-Id: I5479129836ea4316e8de28cf1b472bf19e3ac4ab related-to-bug: 6439076
* Fix mono gapless playback for decoders that output stereoMarco Nelissen2012-04-301-0/+9
| | | | | | | | | | | | | The old AAC decoder always outputs stereo, even for mono source material, so we need to use the number of channels of the output when calculating the number of bytes to skip, not the number of channels in the source. This makes OMXCodec skip the right amount of data, and prevents NuPlayer from writing half a frame and then asserting when the AudioSink doesn't accept it. Also move use of the SkipCutBuffer from NuPlayer to ACodec, so that it also works when using the new Java APIs, and make SkipCutBuffer derive from RefBase. b/774846 Change-Id: I34df9fea3e6730617eae559afaa556f4085ef0a0
* Opt in to the WVM extractor's secondary (cryptoPlugin) mode.Andreas Huber2012-04-261-0/+14
| | | | | Change-Id: If0abec6e34b20b59ee2fc5bd97573a73d68465f0 related-to-bug: 6276111
* NuMediaExtractor API to unselect tracks and finer control over seeking.Andreas Huber2012-04-261-4/+47
| | | | | Change-Id: I44d5a2b01d34b771bb0ff48b12829e33314c2374 related-to-bug: 6276111
* Bump up the max number of items in an AMessage, remove overly stringentAndreas Huber2012-04-251-3/+1
| | | | | | | CHECK() limiting us to just audio/* or video/* tracks. related-to-bug: 6399405 Change-Id: I9bdaf7e709665ecc22da8839c8b16c081dbf4535
* Make sure NuMediaExtractor is thread safe.Andreas Huber2012-04-231-0/+24
| | | | Change-Id: If261c4d87d5569a0d7cfd75afe311803a6ce0109
* Add the ability to query the amount of cached data to NuMediaExtractor.Andreas Huber2012-04-191-1/+85
| | | | | Change-Id: I0966270a2bd36698330beaa03f47d02fc6a40c44 related-to-bug: 6364341
* Some refactoring and cleanup of now obsolete crypto fields.Andreas Huber2012-04-181-33/+4
| | | | | | codec commandline tool no longer supports decryption. Change-Id: I7b10be6524631b20ac5d361d47949b00addf4a93
* NuMediaExtractor accidentally returned what looked like errors to the caller...Andreas Huber2012-04-171-1/+7
| | | | | Change-Id: Iec0c62ba98c8a8afc5cb423a76b8f53778aeb867 related-to-bug: 6276111
* Support widevine:// URLs in NuMediaExtractor / java MediaExtractor.Andreas Huber2012-04-171-2/+22
| | | | | | | Allow anyone to talk to drm services. Change-Id: I5c2f3c419d01de30c3d6e2bc85b1fe5c9c37b392 related-to-bug: 6276111
* Change NuMediaExtractor's API to support different kinds of data sources.Andreas Huber2012-04-131-2/+34
| | | | | Change-Id: I080aa2ce28300a72a85751509334dbdc491936c6 related-to-bug: 6276111
* Provisional support for secure decryption of media streams.Andreas Huber2012-03-261-4/+53
| | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
* Add new APIs AMessage::(set|find)Buffer to make it safer to passAndreas Huber2012-02-221-5/+5
| | | | | | ABuffer objects through messages. Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
* Implementation of a java media codec interface and associated tools.Andreas Huber2012-02-221-0/+433
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b