summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/m4v_h263
Commit message (Collapse)AuthorAgeFilesLines
* Codecs: Add MetaDataMode support to software video encoders.Eino-Ville Talvala2012-07-243-8/+124
| | | | | | | | | | | | | | This support is needed to enable efficient video recording with emulator and camera HAL 2. - Update SoftAVCEncoder and SoftMPEG4Encoder to support MetaDataMode extension. - Allow CameraSource to handle opaque pixel formats, so that MetaDataMode can be used. - Remove hardware codec restriction for MetaDataMode Bug: 6243944 Change-Id: I970eb3d55542a413b6d75a78f76d3a8583155601
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-134-0/+380
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* Don't attempt to support content the software MPEG4 decoder clearly wasn'tAndreas Huber2012-05-101-1/+1
| | | | | | | prepared for. Change-Id: I4614ba25a1c67e47bde27ddebd99cb50892c1a94 related-to-bug: 6327803
* Fix both H.263 and MPEG4 decoders.Andreas Huber2012-05-081-5/+3
| | | | | Change-Id: I6c76fa33f6ea4b439abc14c396a86c3553c85189 related-to-bug: 6460112
* Removed software video encoders that are not OMX-based.James Dong2012-04-302-489/+0
| | | | | | o related-to-bug: 5933287 Change-Id: I63635375e2bef00733b61adc3fa12c29df7e2155
* Software MPEG4/H263 video encoder is now OMX-basedJames Dong2012-04-253-0/+831
| | | | | | o related-to-bug: 6401068 Change-Id: If8eccea060f38e42ad31eb6e91aaa832e67c5559
* AV Android make files changesJames Dong2012-03-282-3/+3
| | | | | | | o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
* Switched to use the header files in /frameworks/nativeJames Dong2012-03-122-4/+4
| | | | | | | | and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
* resolved conflicts for merge of 532679a5 to masterDirk Dougherty2012-03-071-1/+1
|\ | | | | | | Change-Id: Id60d047c0e1f288acff97526c016cca632873b6b
| * am 4d7bc655: Doc change: String changes for Android MarketDirk Dougherty2012-03-051-1/+1
| |\ | | | | | | | | | | | | * commit '4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219': Doc change: String changes for Android Market
| | * Doc change: String changes for Android MarketDirk Dougherty2012-03-051-1/+1
| | | | | | | | | | | | Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759
| * | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-192-16/+16
| | | | | | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
| * | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)Steve Block2012-01-192-4/+4
| | | | | | | | | | | | Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
| * | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)Steve Block2012-01-191-1/+1
| | | | | | | | | | | | Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
| * | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)Steve Block2012-01-192-9/+9
| |/ | | | | | | Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
* | Move away from MediaDebug and use ADebug insteadJames Dong2012-02-101-3/+3
| | | | | | | | Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
* | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-16/+16
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-062-4/+4
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* | am 2dff5cdc: am b42aea5b: Merge "Don\'t believe the PV decoder\'s lies..." ↵Andreas Huber2011-11-101-1/+6
|\ \ | |/ | | | | | | | | | | into ics-mr1 * commit '2dff5cdc362ff6026e71d4b96faea8f2d7bd7063': Don't believe the PV decoder's lies...
| * Don't believe the PV decoder's lies...Andreas Huber2011-11-091-1/+6
| | | | | | | | Change-Id: I97391235255afb8a4890a4ff52d4e8e9ca954f27
* | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-262-9/+9
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Merge "Support profile and level query for SW video decoders"James Dong2011-07-141-0/+53
|\
| * Support profile and level query for SW video decodersJames Dong2011-07-111-0/+53
| | | | | | | | Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
* | Remove old-style software decoders.Andreas Huber2011-07-132-305/+0
|/ | | | Change-Id: Ie0729d6a65470ffdc38229791f25a75a22c724d8
* Return ERROR_END_OF_STREAM when the input source reaches eosJames Dong2011-06-291-3/+6
| | | | Change-Id: I334313b054dcf388d2e05d56efb10ceea4980638
* 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-161-1/+1
| | | | | Change-Id: I8b3f60760e1e8eaa0f66eb6c7ce3df8e425638fb related-to-bug: 4427361
* Squashed commit of the following:Andreas Huber2011-05-113-0/+646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoderAndreas Huber2011-01-243-8/+24
| | | | | Change-Id: Ia22ebce66d9c35de4b04c3eedc9495847796901d related-to-bug: 3384367
* Return a runtime error instead of asserting if the M4vH263Decoder fails in ↵Andreas Huber2011-01-101-1/+4
| | | | | | | start() Change-Id: Ie704a72685f749613fa0ed5fa6f461abc0406371 related-to-bug: 3328200
* If camera source uses the metadata, we must use HW encoderJames Dong2010-12-021-1/+1
| | | | | | | | Software video encoders are not able to deal with non-YUV metadata in the video buffer sent from camera bug - 3242213 Change-Id: I97361ed88b2a687190e5129459011afff7f32c2d
* Separate the key for audio sampling rate and video frame rate in MetaData.hJames Dong2010-11-111-2/+2
| | | | Change-Id: Ia33befaa7e6df8762703002d01aa79c04f15f040
* Fix missing breaks in the profile/level conversion code in M4vH263 encoderJames Dong2010-11-091-1/+6
| | | | Change-Id: Icd2cac68ffb0f38acb68b2968bbb36210431482d
* Added profile and level translation in SW video encodersJames Dong2010-10-271-3/+106
| | | | Change-Id: I6b9c33c7e4b497f3dc61b2a0dcf4e65727f9bcdd
* Include the framework copy of the OpenMAX headers instead of referencing ↵Andreas Huber2010-10-152-2/+2
| | | | | | | external/opencore. Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6 related-to-bug: 3101573
* Mainly fix two mistakes that I made:James Dong2010-08-121-2/+1
| | | | | | | | | 1. When the ERROR_END_OF_STREAM is returned from read, the input buffer is not initialized release it would lead to crash 2. The mPrevTimestampUs is not initialized and thus fail in the CHECK(mPrevTimestampUs, timeUs) Change-Id: Id1e51575fb8b3ca48e80547efd3a3a82dfac773b
* Don't send late frames to software encoders for encodingJames Dong2010-08-121-2/+11
| | | | | | o Document on what frames will be rejected and what frames will be accepted Change-Id: I5a5d489ad3d2b50dbb40a0f6e01529312ce81c54
* Add input buffer size check for software video encodersJames Dong2010-08-101-0/+10
| | | | Change-Id: I03953a1245060ed6656a965e1a8a61386126c441
* Support finer seek control on MediaSources.Andreas Huber2010-07-211-7/+45
| | | | | | related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
* Merge "Progress status notification" into gingerbreadJames Dong2010-07-201-1/+0
|\
| * Progress status notificationJames Dong2010-07-201-1/+0
| | | | | | | | | | | | - Keep track of per-track progress Change-Id: Ibd36f0e8c78581928c8aa2f5e23c5e7e0615c2cc
* | Fix simulator build (1st attempt)James Dong2010-07-181-0/+1
|/ | | | Change-Id: I65a824c17929170b7b2bc75a13e756e92d8fe50a
* Initial check-in for software m4v_h263 encoderJames Dong2010-07-1537-0/+26272
| | | | Change-Id: I4b49fa5c3a5e6e21cfd2419441d98dd784046367
* Better handling of codec initialization failure in the player and thumbnail ↵Andreas Huber2010-05-201-2/+9
| | | | | | | extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize. Change-Id: I5cba02ee85a41e43c2623053de40f26e2cf2efe4 related-to-bug: 2699505
* Protect against possible temporary objects going away before we get at their ↵Andreas Huber2010-01-051-2/+3
| | | | data.
* Fix mpeg4/h.263 software decoder.Andreas Huber2010-01-041-17/+61
|
* Attempt to fix simular build break.James Dong2009-12-192-1/+2
| | | | Missing header file stdlib.h for free, malloc, etc
* Fix a memory corruption problem in software M4v/H263 decoder due to ↵James Dong2009-12-181-7/+11
| | | | out-of-scope local variable
* Initial checkins of the mpeg4 and h263 software decoders based on PVJames Dong2009-12-1752-0/+21686