summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/MediaCodec.h
Commit message (Collapse)AuthorAgeFilesLines
* Support MediaCodec::getOutputFormat for encodersAndreas Huber2013-04-301-0/+4
| | | | | | | codec specific data is provided as part of the MediaFormat if available. Change-Id: I5a79c936e2411fe66ebc694791071faefc33941e related-to-bug: 8616651
* 3rd time's the charm, right? Fix another instance where MediaCodec wouldAndreas Huber2013-04-191-0/+1
| | | | | | | | not return from a stop() or release() call if mediaserver dies at just the right moment. Change-Id: I7728f8df82d62602d4d272f8023aa88678dd7d95 related-to-bug: 8397711
* Correct MediaCodec + Surface behaviorAndy McFadden2013-03-051-0/+2
| | | | | | | | | | | | | | | | | Assorted tweaks: - Allow signalEndOfInputStream() before ACodec is in Executing state (added message to two more states). - Return an error if signalEndOfInputStream() is called a second time on the same stream. - Require AndroidOpaque color format in createInputSurface(). - Disallow dequeueInputBuffer() after an input surface has been created (boolean flag in MediaCodec tracks it). - Discard input surface when encoder is re-configure()ed (drop OMXNodeInstance's ref when we go back to Loaded). Bug 7991062 Change-Id: Iff30f3036e14eb5a2f6536910dcf11aba33031ee
* Implement Surface input to MediaCodec.Andy McFadden2013-03-041-0/+6
| | | | | | | | | Also, renamed a CHECK_INTERFACE macro that was clashing with the Binder version. Bug 7991062 Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-4/+4
| | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* Allow for dynamic reconfiguration of the video bitrate usedAndreas Huber2013-02-071-0/+5
| | | | | | to encode video while running as a wfd source. Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-1/+1
| | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
* MediaCodec: Add a method for getting the component nameMartin Storsjo2012-11-191-0/+4
| | | | | | | | | If the codec was chosen based on mime type, the caller does not know what component actually was chosen. This allows getting essential information (such as supported color formats, for a video encoder) for this component. Change-Id: Ie471f40f8104b37d27ced3dba5a54facc6504b1b
* Better power savings with wifi display code.Andreas Huber2012-10-031-16/+26
| | | | | | | | No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
* Support IDR requests in wifi display, MediaCodec and ACodec.Andreas Huber2012-09-131-0/+3
| | | | Change-Id: I596cf8dd61b63465437f78413186fad2be287244
* Properly connect/disconnect to/from the native window in MediaCodec.Andreas Huber2012-05-101-0/+3
| | | | | Change-Id: Ib5bf90a3b81fca8ff2346235bc28a2bd0bc7bfb1 related-to-bug: 6472161
* Submit codec specific data automaticallyAndreas Huber2012-05-081-0/+5
| | | | | | | if it is contained in the format passed to MediaCodec::configure. Change-Id: I8ef6755e8389ec47b44a9c70904ea6c03a00f4f2 related-to-bug: 6364139
* Allow propagation of error information and description from the CryptoPlugin toAndreas Huber2012-04-191-2/+5
| | | | | | | the higher layers. Change-Id: I9f434ad55cdf575803c208bedf47b607baff2330 related-to-bug: 6365261
* New API to support submitting encrypted buffers to the decoder.Andreas Huber2012-04-061-1/+12
| | | | | Change-Id: I69dd60e43078c4211c6123cf6e0ce90e676bf873 related-to-bug: 6275919
* New Crypto services talking to the new crypto "HAL".Andreas Huber2012-04-031-1/+1
| | | | | Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566 related-to-bug: 6275919
* Provisional support for secure decryption of media streams.Andreas Huber2012-03-261-0/+7
| | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
* Separate the notion of "stop" from that of "release", i.e.Andreas Huber2012-02-281-0/+9
| | | | | | | | | stop - means transition back to LOADED state and keeping the component instance allocated. release - means we get rid of the component completely. Change-Id: I40ad01ce70821faaad43f57999249904f9144924
* Implementation of a java media codec interface and associated tools.Andreas Huber2012-02-221-0/+183
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b