summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
Commit message (Collapse)AuthorAgeFilesLines
* We were accidentally sending out an output buffer before the final port ↵Andreas Huber2011-08-231-19/+25
| | | | | | | settings change Change-Id: I4de0d3c377bb12e59524ed370ab3ed0b9a9b70a6 related-to-bug: 5122512
* Raise the maximum input buffer size for the vpx video decoder to 256KBAndreas Huber2011-08-191-1/+1
| | | | | Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4 related-to-bug: 5169641
* Fix the software AAC decoder's AAC+ detection to ignore malformed framesAndreas Huber2011-08-121-2/+4
| | | | | | | at the beginning of the stream. Change-Id: Ib990848c696896e7d43c80dec8119dec35704b74 related-to-bug: 5122512
* Remove PV AVC decoderJames Dong2011-07-1918-11184/+0
| | | | Change-Id: Icf056c852f95b5d6a07473728ddbf5b641990381
* am e5143d6c: am a4aef41a: am a74774fd: am 4d8f6a38: Merge "stagefright ↵Conley Owens2011-07-181-1/+1
|\ | | | | | | | | | | | | aacenc: Mark codeWord as UWord16" * commit 'e5143d6c09f0e9a960661a2b0a5916c33fcafc4d': stagefright aacenc: Mark codeWord as UWord16
| * am a4aef41a: am a74774fd: am 4d8f6a38: Merge "stagefright aacenc: Mark ↵Conley Owens2011-07-181-1/+1
| |\ | | | | | | | | | | | | | | | | | | codeWord as UWord16" * commit 'a4aef41a74a69b0296b88361ffb33d0470a26362': stagefright aacenc: Mark codeWord as UWord16
| | * Merge "stagefright aacenc: Mark codeWord as UWord16"Conley Owens2011-07-181-1/+1
| | |\
| | | * stagefright aacenc: Mark codeWord as UWord16Martin Storsjo2011-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, the codeword 0xffff will be expanded to 0xffffffff when passed as a Word32 parameter. All code words set into this variable are UWord16 initially. When it was expanded to 0xffffffff, it could accidentally overwrite earlier cached bits in the bitstream writer. Change-Id: Id91a2b8a4e934876d9cb39eaeeee323202ec8e40
* | | | am 3ab6ccda: am 2acddc54: am 89bac182: am 88409911: Merge "stagefright: ↵Deckard Autoverifier2011-07-181-3/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Include stdlib.h for malloc/free" * commit '3ab6ccda447c605c35c8854a2ec8c49c2a0653a6': stagefright: Include stdlib.h for malloc/free
| * | | am 2acddc54: am 89bac182: am 88409911: Merge "stagefright: Include stdlib.h ↵Deckard Autoverifier2011-07-181-3/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | for malloc/free" * commit '2acddc54e1e7a9f41b4b5acc2e8984c46539425a': stagefright: Include stdlib.h for malloc/free
| | * | Merge "stagefright: Include stdlib.h for malloc/free"Deckard Autoverifier2011-07-181-3/+1
| | |\ \
| | | * | stagefright: Include stdlib.h for malloc/freeMartin Storsjo2011-06-221-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to ANSI C, malloc/free are provided by stdlib.h. Also, string.h is always available according to ANSI C, and provides the memset function, so there's no need to include it conditionally for linux only. This makes the code buildable on OS X, too. Change-Id: Ie5d1da02158797e7e45dea257cbe3e4996dde4db
* | | | | am b32af642: am 31140598: am 16db83c2: am eb07c531: Merge "stagefright ↵Deckard Autoverifier2011-07-181-73/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | amrwbenc: Remove a duplicate, unused file" * commit 'b32af642454f3113cb1539821eb3b0dbf4174974': stagefright amrwbenc: Remove a duplicate, unused file
| * | | | am 31140598: am 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a ↵Deckard Autoverifier2011-07-181-73/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | duplicate, unused file" * commit '31140598866c668047fc6dede7944e146aa21a0a': stagefright amrwbenc: Remove a duplicate, unused file
| | * | | Merge "stagefright amrwbenc: Remove a duplicate, unused file"Deckard Autoverifier2011-07-181-73/+0
| | |\ \ \
| | | * | | stagefright amrwbenc: Remove a duplicate, unused fileMartin Storsjo2011-06-231-73/+0
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file is identical to common/cmnMemory.c, and that's the file that is used by all the makefiles, not this one. Change-Id: I6a601c24a983285e55e5356bd5569853a1e2d7fe
* | | | | am d4dee1a5: am 29fd8cdb: am 80ef1745: am c06c3603: Merge "stagefright ↵Deckard Autoverifier2011-07-181-2/+7
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | aacenc: Make the mem_malloc function 64-bit safe" * commit 'd4dee1a57fdcd1bd1e7c621163e89039cf88d9f9': stagefright aacenc: Make the mem_malloc function 64-bit safe
| * | | | am 29fd8cdb: am 80ef1745: am c06c3603: Merge "stagefright aacenc: Make the ↵Deckard Autoverifier2011-07-181-2/+7
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | mem_malloc function 64-bit safe" * commit '29fd8cdbe554ca65c57dd9eea59dc57e3392acc3': stagefright aacenc: Make the mem_malloc function 64-bit safe
| | * | | Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"Deckard Autoverifier2011-07-181-2/+7
| | |\ \ \
| | | * | | stagefright aacenc: Make the mem_malloc function 64-bit safeMartin Storsjo2011-06-221-2/+7
| | | |/ / | | | | | | | | | | | | | | | Change-Id: I720109133bf5e13388b26a3bdbd66ff1f5320b70
* | | | | am b7f0d825: am 691257b1: am 68e37dac: am 55f115a3: Merge "stagefright: Only ↵Deckard Autoverifier2011-07-181-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | use __int64 on MSVC, not on all win32 compilers" * commit 'b7f0d825c56dced10bb7df7cfc624ef9ebffe21c': stagefright: Only use __int64 on MSVC, not on all win32 compilers
| * | | | am 691257b1: am 68e37dac: am 55f115a3: Merge "stagefright: Only use __int64 ↵Deckard Autoverifier2011-07-181-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | on MSVC, not on all win32 compilers" * commit '691257b1812ffd8172b01c17b9ba23a48eb76594': stagefright: Only use __int64 on MSVC, not on all win32 compilers
| | * | | Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"Deckard Autoverifier2011-07-181-1/+1
| | |\ \ \
| | | * | | stagefright: Only use __int64 on MSVC, not on all win32 compilersMartin Storsjo2011-06-221-1/+1
| | | |/ / | | | | | | | | | | | | | | | Change-Id: I9eef7e1cb762753b792ab602333dc5a2fd8a173c
| * | | | am 45ddd425: am 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: ↵Conley Owens2011-07-18150-5154/+5154
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Remove trailing whitespace" * commit '45ddd42544167494cee7213ecddcb6f8057c86c0': stagefright aacenc/amrwbenc: Remove trailing whitespace
| | * | | Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"Conley Owens2011-07-18150-5154/+5154
| | |\ \ \ | | | |/ / | | |/| / | | | |/
| | | * stagefright aacenc/amrwbenc: Remove trailing whitespaceMans Rullgard2011-04-23150-5154/+5154
| | | | | | | | | | | | | | | | Change-Id: I3c85d8ba4cfb164455d137cdbf3b5ecc941dc6b8
| * | | am 644f36ea: am d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line ↵Conley Owens2011-06-09185-30089/+30089
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | breaks to Unix style" * commit '644f36eab4eb9911ad897c9caae68b9c5a72388f': stagefright aacenc/amrwbenc: Convert line breaks to Unix style
| | * | Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"Conley Owens2011-06-09185-30089/+30089
| | |\ \ | | | |/
| | | * stagefright aacenc/amrwbenc: Convert line breaks to Unix styleMans Rullgard2011-04-23185-30089/+30089
| | | | | | | | | | | | | | | | Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
| | * | MP3Extractor and MP3 decoder fixes - DO NOT MERGEJames Dong2011-03-111-2/+4
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cherry-picked the following patches from HC branch: o PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits o Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode o When the temp buffer wraps around, the next read position should start from what have been read to avoid reading the same remaining bytes in the buffer again. o Speed up MP3Extractor using cached reads bug - 4083532 Change-Id: I7bbd2bd358fd5ee322287866cb8ee0c2bb217fea
| | * DO NOT MERGE: Support non-multiple-of-16 dimensions in MPEG4/H.263 software ↵Andreas Huber2011-01-243-9/+23
| | | | | | | | | | | | | | | | | | | | | decoder Change-Id: I6c27c00a6e13cb3635e61089c0db0989f5810c37 related-to-bug: 3384367
* | | Merge "Support profile and level query for SW video decoders"James Dong2011-07-143-0/+125
|\ \ \
| * | | Support profile and level query for SW video decodersJames Dong2011-07-113-0/+125
| | | | | | | | | | | | | | | | Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
* | | | Remove old-style software decoders.Andreas Huber2011-07-1318-2742/+0
|/ / / | | | | | | | | | Change-Id: Ie0729d6a65470ffdc38229791f25a75a22c724d8
* | | Return ERROR_END_OF_STREAM when the input source reaches eosJames Dong2011-06-292-4/+9
| | | | | | | | | | | | Change-Id: I334313b054dcf388d2e05d56efb10ceea4980638
* | | Reduce the number of output buffers and force output buffers in display ↵James Dong2011-06-262-2/+3
| | | | | | | | | | | | | | | | | | order for SoftAVC decoder Change-Id: I9ec6d8205e7a56e42d5b5799a6c2e31076d24b81
* | | Merge "Boost software vp8 decoder performance using multi-threaded decoding ↵James Dong2011-06-211-1/+17
|\ \ \ | | | | | | | | | | | | if possible"
| * | | Boost software vp8 decoder performance using multi-threaded decoding if possibleJames Dong2011-06-201-1/+17
| | | | | | | | | | | | | | | | | | | | Change-Id: I7258c7d0cf91aa7c62444d03ed8bce96fb23d8ef related-to-bug: 4539653
* | | | Restore legacy soft-aac decoder behaviour. Substitute silence on decode error.Andreas Huber2011-06-201-0/+8
|/ / / | | | | | | | | | | | | Change-Id: I680ccaabef32b1319819f723260cb3789585f09e related-to-bug: 4579486
* | | Correctly handle crop rect event in SoftAVC.cppJames Dong2011-06-092-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | Width and height of the video frame was incorrectly overwritten when a cropping need was detected. Using a separate crop width and crop height resolves the problem. Change-Id: I8a371c7fe7f8417a7995d7a7fe231120274ea0c8 related-to-bug: 4575591
* | | Initial-checkin for ON2 Software AVC/H264 decoderJames Dong2011-06-02401-0/+112273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o when neon is present, the performance gain of On2 AVC software decoder over PV software decoder is more than 30%. o In addition, it fixes some known PV software decoder issues like missing output frames o allow both pv and on2 software avc to be available for easy comparision o change output frames from 8 to 16 Change-Id: I567ad1842025ead7092f0c47e3513d6d9ca232dd
* | | Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts streams.Andreas Huber2011-05-251-0/+1
| | | | | | | | | | | | Change-Id: I9d2ee63495f161e30daba7c3aab16cb9d8ced6a5
* | | Merge "Convert line breaks to Unix style"James Dong2011-05-25175-29631/+29631
|\ \ \
| * | | Convert line breaks to Unix styleMans Rullgard2011-05-21175-29631/+29631
| | | | | | | | | | | | | | | | Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
* | | | Make sure the software mpeg4 decoder supports multiple input frames per ↵Andreas Huber2011-05-241-8/+19
|/ / / | | | | | | | | | | | | | | | | | | | | | input buffer to enable faster throughput in ACodec. Change-Id: I6f6a1c70d9446f9d52c3df257b2d22358b0e71f4
* | | Fix module tags on stagefright software decoders.Andreas Huber2011-05-168-8/+8
| | | | | | | | | | | | | | | Change-Id: I8b3f60760e1e8eaa0f66eb6c7ce3df8e425638fb related-to-bug: 4427361
* | | Squashed commit of the following:Andreas Huber2011-05-1127-22/+4420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c80992e419ed567abef451042f09c4958534b90d Author: Andreas Huber <andih@google.com> Date: Wed May 11 14:00:07 2011 -0700 Support for the mp3 audio decoder as a software OMX component. Change-Id: I66e10c4d0be4c3aecdef1c21b15a2c7359ceb807 commit a358d0e1bf2a88897887445f42ccdda0f5f2f528 Author: Andreas Huber <andih@google.com> Date: Wed May 11 13:11:23 2011 -0700 Support for G.711 alaw and mulaw decoders as software OMX components Change-Id: Ia5c76c02cb83a9f94ce39a27b2251e5880218f03 commit 79088b9c9a5c8b8c97ea66cb4f90a2b0f0d34553 Author: Andreas Huber <andih@google.com> Date: Thu May 5 15:43:32 2011 -0700 Instead of using an RGB surface and conversion yuv420->rgb565 convert from OMX_COLOR_FormatYUV420Planar to HAL_PIXEL_FORMAT_YV12 instead. Change-Id: I8c4fc3c54c963f0d4ba6377f3c4ab4e0013152e5 related-to-bug: 4394005 commit 69469d3bd84425777b11b9fc938c5e0c61af26a7 Author: Andreas Huber <andih@google.com> Date: Tue May 10 15:46:42 2011 -0700 voip mustn't link against libstagefright.so Change-Id: I4d0ba9a8b9dc9380b792a1bd04bcda231964862c commit 2a9a9eeeeeb36ae3a9e680469c3016d509ff08c3 Author: Andreas Huber <andih@google.com> Date: Tue May 10 14:37:10 2011 -0700 Remove most non-OMX software decoders by default Change-Id: Ic56514bc1b56b8fa952e8c4a164ea7379ecb69d0 commit a4de62c37b335c318217765403a9fb282b20a216 Author: Andreas Huber <andih@google.com> Date: Mon May 9 16:50:02 2011 -0700 Conditionally build the old-style software decoders. Change-Id: I5de609e1d76c92d26d6eb81d1551462258f3f15f commit 5d8b039f9449dc3dad1e77c42c80cc0b54b0c846 Author: Andreas Huber <andih@google.com> Date: Mon May 9 16:13:12 2011 -0700 Support for MPEG4 and H.263 video decoders as soft OMX components. Change-Id: I5e3a4835afab89f98e3aa128d013628f5830eafe commit b25a1bfbeb0ff6e62e1cc694ce2599c91489c7d0 Author: Andreas Huber <andih@google.com> Date: Mon May 9 11:49:10 2011 -0700 Boost Soft OMX thread priority, fix timestamp handling in vorbis Soft OMX decoder. Change-Id: I68d26d4999f06fcc451d69e5303663fab0cba9e8 commit c0574362f8dc3319ce84d981097867062a698527 Author: Andreas Huber <andih@google.com> Date: Mon May 9 11:28:53 2011 -0700 Support for the AMR decoders (NB and WB) as Soft OMX components. Change-Id: Ia565f59833fb52653e23f26536e7e41fc329a754 commit 3e5575a8f0e27a490cb7bde77bd9456087837f08 Author: Andreas Huber <andih@google.com> Date: Wed May 4 13:41:25 2011 -0700 Signal an error if the aac decoder failed to initialize from codec specific data. Change-Id: I01da7831bdf722edd7d6dc5974486daa2cf2b209 related-to-bug: 4272179 commit f94aeaa9886e772ff4823e671ed237096649f4af Author: Andreas Huber <andih@google.com> Date: Tue May 3 13:07:38 2011 -0700 Software OMX nodes don't (yet?) support native_window mode. Change-Id: I7d9ca9164ef4abf66b573ca21dba12d672f8b12d commit eefdfabac8dc659e00daa56da69aea705c49cb67 Author: Andreas Huber <andih@google.com> Date: Tue May 3 12:57:16 2011 -0700 Fixing the OMX tests to refer to appropriate files from test content. Change-Id: I5b61c3498749bfb876abbd3946a5132356e3f6ff commit f31b7326aef14b6a1b7946520a9688f092e844d5 Author: Andreas Huber <andih@google.com> Date: Tue May 3 11:08:38 2011 -0700 Soft OMX components are now dynamiclly loaded/unloaded, not directly linked against. Change-Id: I1e2ecfbfab67a8869886f738eaf0c7b3c948b6d9 commit b7f0343879e4df06f0a1c9bfece24df557954e2f Author: Andreas Huber <andih@google.com> Date: Mon May 2 15:58:36 2011 -0700 Support for the AVC software decoder as an OMX component. Change-Id: I13c12df435ba4afbd968a9fc659f66b91c818bc2 commit 5bb9e616d6c8e1b13d531fe996b9a9affdfb2977 Author: Andreas Huber <andih@google.com> Date: Fri Apr 29 12:05:37 2011 -0700 Fix Vorbis OMX decoder's component role. Change-Id: I5e871e5e11b3f951c93590210e63fd7987c467b5 commit 089c91f2333062e196c7afd5fb0ca914878aa474 Author: Andreas Huber <andih@google.com> Date: Fri Apr 29 12:05:18 2011 -0700 Support vorbis_decoder OMX testing. Change-Id: I1985be178a12ae3f8768bc72067d9236238be170 commit 56e241fa36fc37219bc536b823bdc2ab82dc1fad Author: Andreas Huber <andih@google.com> Date: Fri Apr 29 12:01:46 2011 -0700 SoftVorbis OMX component now respects the number of valid frames per page. Change-Id: I82a117a064d9b083fc58a54ad900a987a763ef03 commit fcd618ec520c376fdb78f4cbb44b8d9f5d213e2b Author: Andreas Huber <andih@google.com> Date: Fri Apr 29 10:59:38 2011 -0700 Support for the vorbis audio decoder as a soft OMX component. Change-Id: Iaeb057e58ca306d3dce205c0445b74d5aefef492 commit d1fcc3203fc8003ad79c6e96b3a1fc4261743f16 Author: Andreas Huber <andih@google.com> Date: Fri Apr 29 10:07:50 2011 -0700 VPX decoder now properly resizes buffers after a port settings change. Change-Id: I110749a31b6cba087891d8e5dfe420830bdbf831 commit 35c7168243cb69849d88911144a2c7fdfed5c54e Author: Andreas Huber <andih@google.com> Date: Thu Apr 28 13:23:34 2011 -0700 Support for the VPX video decoder as a Software OMX component. Change-Id: Ic345add2d6d768d4af631160153f2e9b97fcea71 commit 923b2534b4211fc5405377b5190bfa6f2dd27f32 Author: Andreas Huber <andih@google.com> Date: Thu Apr 28 11:34:40 2011 -0700 Table-based registration of soft omx components. Change-Id: I7f45f0fa5b3a7950776e69c66349731f7674e937 commit 04a88f3edb2266a463da9c4481b80178be460902 Author: Andreas Huber <andih@google.com> Date: Thu Apr 28 11:22:31 2011 -0700 Apparently OMX_GetParameter is valid in any state other than OMX_StateInvalid OMX_SetParameter is still constrained to OMX_StateLoaded or a disabled port. Change-Id: I1032d7cf4011982d306aa369d4158a82830d26fb commit 9d70ca68445e7c40f5c9b2d12466e468f514de88 Author: Andreas Huber <andih@google.com> Date: Wed Apr 27 15:03:18 2011 -0700 Use the new soft OMX aac decoder for HTTP live playback. Change-Id: Ifbcfb732a9edb855cb46b49f6d0ac942170ee28f commit 213fe4a10ea93cce08e8622dc3908053f29878a1 Author: Andreas Huber <andih@google.com> Date: Tue Apr 12 16:39:45 2011 -0700 Foundation for supporting software decoders as OMX components Change-Id: I7fdab256563b35d1d090617abaea9a26b198d816 Change-Id: I83e9236beed4af985d10333c203f065df9e09a42
* | | Merge "Initial check-in for AACWriter"James Dong2011-05-041-1/+1
|\ \ \
| * | | Initial check-in for AACWriterJames Dong2011-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia21ca39a404484b2dda25c6101780d2ff11c4623 related-to-bug: 4211046