summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'b2059ff384eee8ffb70a7ec8fc5570405201c734' into HEADThe Android Open Source Project2013-11-2218-866/+423
|\
| * Change VP8 encoder bitrateJohann2013-09-272-1/+36
| | | | | | | | | | | | | | Allow the bitrate to be updated while the encoder is running. Bug: 8422347 Change-Id: I8427fe20921b00f92b8f99fe21691709fab354b0
| * Indicate sync frames returned by encoderJohann2013-09-261-0/+2
| | | | | | | | | | | | | | | | | | Set the appropriate OMX flag when the encoder generates a keyframe. This is necessary for any muxer which needs to indicate which frames are seekable. Bug: 8422347 Change-Id: I744a0b3023db24d3de2210bce82f41e50d259505
| * AAC encoder: handle missing object typesJean-Michel Trivi2013-08-291-0/+4
| | | | | | | | | | | | | | | | | | The audio object type for parametric stereo and lowdelay was not passed to the FDK AAC encoder. Bug 9428126 Change-Id: Ic32822afff8b1da6a2d80c1b65d514f24059fb29
| * Enable support for explicitly requesting an encoded keyframe from the vp8Andreas Huber2013-07-192-2/+36
| | | | | | | | | | | | encoder. Change-Id: I370d5831f7d6037faf361a92521390f19f179cbe
| * Experimental support for enabling the use of "surface input" modeAndreas Huber2013-07-173-21/+158
| | | | | | | | | | | | | | | | | | even with the software VP8 encoder. This relies heavily on the fact that the "Nexus" devices use ARGB32 as the colorspace for the data underlying a surface provided by SurfaceFlinger (mirroring). Generally there are no such guarantees. Change-Id: I1de32f591a3bb935ca76151816b3a02665bec40b
| * Adds VP9 decoding support for stagefright.hkuang2013-06-244-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Also change the VP8 encoder role name from video_encoder.vpx to video_encoder.vp8 for future VP9 encoder support. Requires the change in frameworks/native and media_codecs.xml corresponding to the device. VP9 decoding test will be added to cts repo later.
| * The software avc decoder would silently drop output frames if notAndreas Huber2013-06-142-36/+31
| | | | | | | | | | | | | | enough room was available in the output queue at the time they were available. No more. Change-Id: I5957290d40ba31bda7944271ec7f2aa0f1f7043c
| * stagefright: created SoftVideoDecoderOMXComponentLajos Molnar2013-06-056-794/+72
| | | | | | | | | | | | | | | | Created common base class for all software video decoders to make adding new features easier. Change-Id: Id89964e572d5cc5add02662273e6ae96c6b7eb12 Signed-off-by: Lajos Molnar <lajos@google.com>
| * Track exact timestamps in SoftMPEG4/H263 decodersLajos Molnar2013-06-052-4/+15
| | | | | | | | | | | | Change-Id: I7772e3afec020f889dea80fd6372afbc36cd68d6 Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 9285553 (cherry picked from commit e113aa1f078cb3d5f8182058e144fd14ce945fca)
| * Reset PV decoder on SoftMPEG4 decoder resetLajos Molnar2013-06-051-0/+5
| | | | | | | | | | | | | | | | Otherwise, state may be undefined for subsequent frames. Change-Id: Icdc0126247e1422eba21f2008a04cf7867d93f5d Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 9284771 (cherry picked from commit 0f15875b8e80fb49a3b18d88964b063326f307b9)
| * Fix our software decoders to reset (more of) their internal stateAndreas Huber2013-06-0311-0/+30
| | | | | | | | | | | | | | properly on a transition from idle->loaded. Change-Id: I56ccfeef24c391e50e42b522194206e35c7ab700 related-to-bug: 9105408
| * stagefright: SoftVP8: Handle EOS flag on frames with content.Lajos Molnar2013-05-221-12/+16
| | | | | | | | | | | | | | | | | | SoftVP8 decoder ignored frame content if EOS flag was set on input frame. Now, decode the frame first, unless it is empty. Change-Id: Id105a9eb86103a61390af3de60cae2507028e2d1 Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 9091495
| * am bfc5b96c: am 09f842b0: Merge "The software FLAC encoder now properly ↵Andreas Huber2013-05-022-2/+20
| |\ | | | | | | | | | | | | | | | | | | signals an error if client" into jb-mr2-dev * commit 'bfc5b96c326a6321f167a59de4a201e2b61f5ca4': The software FLAC encoder now properly signals an error if client
| | * am 09f842b0: Merge "The software FLAC encoder now properly signals an error ↵Andreas Huber2013-05-022-2/+20
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | if client" into jb-mr2-dev * commit '09f842b03d8f9c0ab5e4541937f8061a7d1bf53d': The software FLAC encoder now properly signals an error if client
| | | * The software FLAC encoder now properly signals an error if clientAndreas Huber2013-05-012-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attempts to configure it with too large an input buffer size. Previously this would lead to memory corruption during encoding due to a typo. Change-Id: I229b07b7dbe87fb8424419706671b66a8d58ec6b related-to-bug: 8778893
| * | | am b0ec4e15: am 3030f344: Merge "Fixed the wrong timestamps issue about ↵Marco Nelissen2013-04-221-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | camera recording" * commit 'b0ec4e15704b77847c1d24e611029b6311d67dfe': Fixed the wrong timestamps issue about camera recording
| | * | am 3030f344: Merge "Fixed the wrong timestamps issue about camera recording"Marco Nelissen2013-04-221-1/+1
| | |\ \ | | | |/ | | |/| | | | | | | | | * commit '3030f344e77d14cf688c34f79c83a045c888825d': Fixed the wrong timestamps issue about camera recording
| | | * Fixed the wrong timestamps issue about camera recordingJun Tian2013-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On emulator, the camera video recording crashes randomly. It's caused by wrong timestamp when encoding the video frame. The element of the vector is erased before accessing it. Therefore, when reading the timestamp from the element, the memory of the element has been changed. Change-Id: I9750417fbb9dc4697ccae1e78e286b23925d3764 Signed-off-by: Panfeng Chang <panfengx.chang@intel.com> Signed-off-by: Jun Tian <jun.j.tian@intel.com>
| * | | am 4707c9b0: am f7baffd1: Merge "Make sure the drain buffer is big enough" ↵Marco Nelissen2013-04-171-3/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev * commit '4707c9b04891e5cf7772de74e9c229bce028c87d': Make sure the drain buffer is big enough
| | * | Merge "Make sure the drain buffer is big enough" into jb-mr2-devMarco Nelissen2013-04-171-3/+6
| | |\ \
| | | * | Make sure the drain buffer is big enoughMarco Nelissen2013-04-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/8614909 Change-Id: I9d973dcd74100b793791359c262b821207ff9ddd
| * | | | am c9e18491: am 767fea95: Merge "Apparently the mp3 decoder glitches if it ↵Andreas Huber2013-04-171-0/+15
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | was configured with the wrong" into jb-mr2-dev * commit 'c9e18491b4dd6d82d52ec7baa2101732ab617db6': Apparently the mp3 decoder glitches if it was configured with the wrong
| | * | | Apparently the mp3 decoder glitches if it was configured with the wrongAndreas Huber2013-04-171-0/+15
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | sample rate. Make sure we tell it about the one the extractor provides. Change-Id: Ice5b9cf55485ca1a8f099a14be0202be9540e781 related-to-bug: 8621639
| * | | am 844c8b03: am ff4b1e2b: Merge "Better default AAC DRC setting" into jb-mr2-devJean-Michel Trivi2013-04-161-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '844c8b039feb7d2dd9b951a244966edd5e6fab67': Better default AAC DRC setting
| | * | Merge "Better default AAC DRC setting" into jb-mr2-devJean-Michel Trivi2013-04-161-0/+3
| | |\ \
| | | * | Better default AAC DRC settingJean-Michel Trivi2013-04-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, use boost and attenuation together. bug 7140036 Change-Id: Ie0565f9e5cd24f7a59b5a218b4e6186661832601
| * | | | am 589bee39: am 94b66227: Fix Vorbis decoder resetMarco Nelissen2013-04-161-1/+12
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '589bee39de9b6b7450f43c9e61f7b0393772f4ac': Fix Vorbis decoder reset
| | * | | Fix Vorbis decoder resetMarco Nelissen2013-04-151-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/8543366 Change-Id: I9f32e96fdfc355cf444259a7c40554e2de184728
| * | | | am f749a670: am f4c873a6: Merge "Fix AAC decoder reconfiguration" into ↵Marco Nelissen2013-04-151-0/+6
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'f749a67054e63b9184e67461ab40fe7b4b270241': Fix AAC decoder reconfiguration
| | * | | Fix AAC decoder reconfigurationMarco Nelissen2013-04-151-0/+6
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recent flush() changed made the codec behave differently after a reconfigure. Now we reset its state properly again. b/8543366 Change-Id: I8807b5ab02249b43fc1cf315d4e8d4ceb3f9b298
| * | | am fe028e58: am 089edf2e: Merge "Fix MediaCodec.flush()" into jb-mr2-devMarco Nelissen2013-04-122-55/+51
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'fe028e58782566bd1a8bf9209848c2b00f2b339c': Fix MediaCodec.flush()
| | * | Merge "Fix MediaCodec.flush()" into jb-mr2-devMarco Nelissen2013-04-122-55/+51
| | |\ \
| | | * | Fix MediaCodec.flush()Marco Nelissen2013-04-122-55/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two problems here. One was that the skip/cut buffer wasn't cleared when it should be, and the second was that we were always sending the first buffer of encoded data to the AAC decoder twice. b/8543366 Change-Id: Ic040edabf16cccd1f6ef8c9e5c9cfbacbdd8a089
| * | | | am e63f850b: am da0dc0af: Add liblogYing Wang2013-04-0917-18/+18
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'e63f850b179a43a344d438f202ad34ec7566f955': Add liblog
| | * | | Add liblogYing Wang2013-04-0917-18/+18
| | |/ / | | | | | | | | | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
| * | | am b41c9a03: am a5761dcb: Fix a number of warnings in stagefright code.Andreas Huber2013-04-043-3/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'b41c9a03b7a7ca4244f68fd26b2f9d41b66f038a': Fix a number of warnings in stagefright code.
| | * | Fix a number of warnings in stagefright code.Andreas Huber2013-04-043-3/+4
| | | | | | | | | | | | | | | | Change-Id: If3edd00d991851797aeccdfe795a4a405e3a2ea3
| * | | am 49a8b409: am 5952255a: Merge "Fix valgrind error in software h264 ↵Marco Nelissen2013-03-281-4/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | decoder" into jb-mr2-dev * commit '49a8b409541eb090bf31761014d3bc9bd64b77bd': Fix valgrind error in software h264 decoder
| | * | Fix valgrind error in software h264 decoderMarco Nelissen2013-03-271-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | h264bsdNextMbAddress could read past the end of an allocation, which could conceivably result in a segfault if the allocation was at the very end of a page. Change-Id: Id7a0c5733d66e609f36feb0e15b2d67b9bbc0b4d
| * | | Turn off debug tags in stagefright modules.Dan Morrill2013-03-193-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | LOCAL_MODULE_TAGS := debug causes the module to be included in every userdebug build, regardless of whether it's specified as a dep by the device config. This CL switches them all to optional (i.e. default behavior) so that we can do (userdebug) device builds without pulling these in. Change-Id: I4b7b65afea61865dd38b3af55550fb8f10edf66d
| * | am ceb83b8d: Merge "SoftAMR: Signal the right frame format"Andreas Huber2013-02-271-1/+1
| |\ \ | | |/ | | | | | | | | | * commit 'ceb83b8d8919dc778402bf610c073987d4f9f89b': SoftAMR: Signal the right frame format
| | * Merge "SoftAMR: Signal the right frame format"Andreas Huber2013-02-271-1/+1
| | |\
| | | * SoftAMR: Signal the right frame formatMartin Storsjo2013-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The correct enum for the format used is OMX_AUDIO_AMRFrameFormatFSF, which is the same as is used in amrnb/enc/SoftAMRNBEncoder.cpp, amrwbenc/SoftAMRWBEncoder.cpp and in OMXCodec and ACodec. The OMX_AUDIO_AMRFrameFormatConformance enum refers to an odd file format only used for conformance tests, not used in the wild. Change-Id: Idc395fc1d4969e33453522d6ec6526876438c526
| * | | am ccf51ec4: Merge "SoftVorbis: Set the right encoding in the port definition"Andreas Huber2013-02-271-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'ccf51ec41652a7e2db8cbee37bca91a95908d5ff': SoftVorbis: Set the right encoding in the port definition
| | * | SoftVorbis: Set the right encoding in the port definitionMartin Storsjo2013-01-311-1/+1
| | |/ | | | | | | | | | | | | | | | Previously, it set the encoding type to AAC, which is just a typo. Change-Id: I2dcae1f579e9feb0b35b6f5d334028c534275042
| | * Match new paths and organization in external/libvpxJohann2012-12-121-4/+3
| | | | | | | | | | | | | | | | | | See I2c0a87b0fc049e855e21f455b806287b578091de Change-Id: Iec8566bce0a4763a9a17b4a46f15aa39b5bcd141
| * | Adds VPX encoding support for stagefright.Kunter Gultekin2013-02-125-0/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only following encoder settings are available - target bitrate - rate control (constant / variable) - frame rate - token partitioning - error resilience - reconstruction & loop filters Only following color formats are recognized - YUV420Planar - YUV420SemiPlanar - AndroidOpaque Following settings are not configurable by the client - encoding deadline is realtime - the algorithm interface for encoder is vp8 - fractional bits of frame rate is discarded - timebase is fixed to 1/1000000 Requires libvpx to be built with encoder support enabled. Requires openmax 1.1.2 extension headers. Relevant tests exist in cts repo. Change-Id: I650f1aca83e7dc93f79d7e6cba7ac24f26e66d40 Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>
| * | Revert "Adds VPX encoding support for stagefright."James Dong2013-02-085-1102/+0
| | | | | | | | | | | | | | | | | | | | | This lib was not part of the build, but it is built anyway for userdebug image (not for eng though). let me revert it for now... This reverts commit 6c6bb9873f55853fe74d8f45ad3ae116636d8be7.
| * | Adds VPX encoding support for stagefright.Kunter Gultekin2013-02-075-0/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only following encoder settings are available - target bitrate - rate control (constant / variable) - frame rate - token partitioning - error resilience - reconstruction & loop filters Only following color formats are recognized - YUV420Planar - YUV420SemiPlanar - AndroidOpaque Following settings are not configurable by the client - encoding deadline is realtime - the algorithm interface for encoder is vp8 - fractional bits of frame rate is discarded - timebase is fixed to 1/1000000 Requires libvpx to be built with encoder support enabled. Requires openmax 1.1.2 extension headers. Relevant tests exist in cts repo. Change-Id: If759edb8db36acbd24dcb53d159a54e942766020 Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>