summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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>
| * | Ensure proper EOS behaviorMarco Nelissen2012-12-202-9/+9
| | | | | | | | | | | | | | | | | | | | | If a buffer is tagged with EOS but has data in it, decode that data instead of ignoring it. Change-Id: Ie41c8485c3ad7fe7d9c64f0752c2e7601d91d602
| * | Make codecs reconfigurableMarco Nelissen2012-12-186-0/+18
| | | | | | | | | | | | Change-Id: I3dd46cb4401493becbf6152f4dcd5a8f1e9a0b44
| * | Merge "Match new paths and organization in external/libvpx"Ying Wang2012-12-121-4/+3
| |\ \
| | * | Match new paths and organization in external/libvpxJohann2012-10-291-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | See I739f99d48b8d7e6354c416ef2ca79c954826307f Change-Id: I42b51e2845a696a6e211dde00951afc8f571336f
| * | | Merge "Add GSM 6.10 decoder"Marco Nelissen2012-11-166-0/+549
| |\ \ \
| | * | | Add GSM 6.10 decoderMarco Nelissen2012-11-166-0/+549
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Supports Microsoft frame packing only, since that's what the sample file used. b/6620569 Change-Id: Ia89d95bcbf0f8dcbaad42148a7401728f60e079d
| * | | The length information of the chunks making up vorbis codec specific infoAndreas Huber2012-11-151-1/+1
| |/ / | | | | | | | | | | | | | | | | | | are "Xiph-style-lacing encoded" instead of individual bytes. Change-Id: Ic1274a5bd8f082197bae6831da04002762a920c5 related-to-bug: 7401329
| * | am c3ed4a1c: Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-devJean-Michel Trivi2012-10-191-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit 'c3ed4a1c3ea71681c71de48c206a899e702864bd': AAC DRC reference level for mobile is -16dB
| | * | AAC DRC reference level for mobile is -16dBJean-Michel Trivi2012-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use -16dB as the default DRC reference level when decoding streams with DRC metadata. Bug 7370764 Change-Id: I900cee22f32384a5657fb041b69d42657bcddf09
| * | | am 1baa01a5: Merge "hardening: eliminate more .text relocations"Nick Kralevich2012-10-191-2/+4
| |\ \ \ | | |/ / | |/| | | | | | | | | | * commit '1baa01a52f24566c134313fade8b19a582654638': hardening: eliminate more .text relocations
| * | | Bug 7170947 Configure AAC decoder for mobile DRC settingsJean-Michel Trivi2012-10-021-5/+37
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure the AAC decoder to use the modile DRC settings when decoding streams with DRC metadata. Settings are: - target reference level of -12dB - DRC compression factor (attenuation) at max These settings can be overridden by platform properties if the default values are to be modified. Change-Id: If329fe566497685b735abe4e4b9a5e01697c063b
| * | am a923dd4e: am 1b0ae9e4: Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last ↵Jean-Baptiste Queru2012-09-121-0/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | output frame" * commit 'a923dd4e6c14f5cba2fc5f6f152619ec6bc70c5d': avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
| * \ \ am f755a506: am d81be6d6: Merge "aacenc: Mark some global arrays const"Jean-Baptiste Queru2012-09-103-3/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'f755a506335df3bfb32c062096deceaf045044ed': aacenc: Mark some global arrays const
| * | | | Fix buffer size issue for multichannel HE-AACJean-Michel Trivi2012-09-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decoding of HE-AAC fails due to output buffer size being too small. Size output buffer size according to maximum number of channels. Change-Id: I6b10842cf7ba3da1f4b4075b1f7f5404bf76be41
| * | | | am bf30787f: am 735d1b92: Merge "avcenc: Don\'t erase the InputBufferInfo ↵Jean-Baptiste Queru2012-08-291-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before reading info from it" * commit 'bf30787f2694057e775f3b527b649a9f8074237b': avcenc: Don't erase the InputBufferInfo before reading info from it
* | | | | | avcenc: Prepend startcodes to output buffersMartin Storsjo2013-09-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the encoder output data that is similar to what actual HW encoders output. This form is also what is expected by virtually every other component - the only exception seems to be stagefright's MPEG4Writer which happens to work with this format. This also makes the encoder's output work in other decoders when passing through directly. If feeding the encoded data straight through to a decoder (such as in the EncodeDecodeTest CTS test), the output from OMX.google.h264.encoder cannot be decoded by e.g. OMX.Nvidia.h264.decode on a Nexus 7 or OMX.SEC.avc.dec on a Galaxy S3. Change-Id: I6e16433a4a66936e3080723c8233681f53bd55e5
* | | | | | 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 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