0ba8660ea6d88a1809508c31bd3b1da8e8dfabd3 |
|
18-Nov-2011 |
Andreas Huber <andih@google.com> |
Report a runtime error instead of asserting on malformed avc configuration data. Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845 related-to-bug: 5641069
/frameworks/base/include/media/stagefright/OMXCodec.h
|
c0e4293794e9658da1ce9849a42c66ce19ef5f07 |
|
25-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
Stagefright: push blank buffers when tearing down This change makes OMXCodec push RGB 565 buffers filled with black to an ANativeWindow when tearing down after decoding to protected gralloc buffers. This allows the OMX tear down to zero out any protected buffers that were used without the possibility that the buffer is still being used by SurfaceFlinger or HWComposer. Bug: 5483222 Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560
/frameworks/base/include/media/stagefright/OMXCodec.h
|
db62a245f968159ea5ff8ad99afb4cd035e2304d |
|
30-Sep-2011 |
Lakshman Gowda <lakshman79@ti.com> |
Set crop params to ANative Window during Initialization. The native_window_set_crop() is called when port reconfig event callback comes from decoder's and crop parameters are changed from default getconfig() OMX_IndexConfigCommonOutputCrop values. Since the default crop params are same as port reconfig crop params, the native_window_set_crop() is not called, hence resulting in displaying the whole frame(paddedWidth x paddedHeight). By calling native_window_set_crop() during initilaization of output port of decoder ensures in setting up ANative window to crop region. Change-Id: I68926464a1f5c7e6053804615c8b9bd32ea85688 Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
/frameworks/base/include/media/stagefright/OMXCodec.h
|
9a6ed36ba55a206934937cfafca7e797e8c6ea00 |
|
16-Sep-2011 |
Gilles-Arnaud Bleu-Laine <gilles@ti.com> |
Gracefuly return on detecting wrong AAC format from corrupted files Return BAD_VALUE error upon detection of wrongly formatted files. The client should abort the initialization upon error detection. The current CHECK() interrupts the configurecodec() preventing a graceful exit. Change-Id: Ic79313fa76a63284897df5d91635de87d06f3100 Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
/frameworks/base/include/media/stagefright/OMXCodec.h
|
0209da1cb177888af6c58e9bcc13c5d9665d6354 |
|
13-Sep-2011 |
James Dong <jdong@google.com> |
Change an assert failure due to unsupported level by HW AVC decoder and report the error to applications Change-Id: I522a994981d86329ccc86c3b536b561dc6e40eeb related-to-bug: 5300618
/frameworks/base/include/media/stagefright/OMXCodec.h
|
422e3f749697ee264ea377bf92e6b65912ba7978 |
|
10-Aug-2011 |
Andreas Huber <andih@google.com> |
Revert "Notify the OMX component that it's going to be used in "secure" mode." This reverts commit 7616178271e95f009452a21ea45e7225997dc27a.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
7616178271e95f009452a21ea45e7225997dc27a |
|
09-Aug-2011 |
Andreas Huber <andih@google.com> |
Notify the OMX component that it's going to be used in "secure" mode. Change-Id: Id87c4b295eb38f7d24045918e73df298d7b842f9 related-to-bug: 5137212
/frameworks/base/include/media/stagefright/OMXCodec.h
|
e432a0005180ba9ac2c1d7822c4761b475fddc51 |
|
24-Jul-2011 |
James Dong <jdong@google.com> |
Merge "Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens"
|
a05f099301ca9d5efd4db549295401ee00b439a0 |
|
22-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
QueryCodecs() signature change Restore QueryCodecs() signature exactly as used by third-party libs. Add an alternative function to select HW only codecs. Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f
/frameworks/base/include/media/stagefright/OMXCodec.h
|
211f5af3bb47ba44c9714abbef0dec1b1a0ada51 |
|
18-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Merge "Add option to query hardware decoders only"
|
56a37b052912d09c310f43ab1215ccc93f2dbda5 |
|
18-Jul-2011 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add option to query hardware decoders only Add an option to OMXCodec::QueryCodecs() to filter out software codecs. Update stagefright command line tool to list the roles of codecs. Change-Id: Icddb79118c30fe13cc3aea20f340174cc082c4e0
/frameworks/base/include/media/stagefright/OMXCodec.h
|
d9ac621f590c51bdc38b46d5aabba2dbc84cbd58 |
|
16-Jul-2011 |
James Dong <jdong@google.com> |
Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens o Deal with vendor codec hang bug Change-Id: Ic8449afd43045f09a9e0bd3d1be9a320e59ccabe
/frameworks/base/include/media/stagefright/OMXCodec.h
|
fbb170ca9cbbd0c87c71ac39ecbb36086bca5ee2 |
|
11-Jul-2011 |
James Dong <jdong@google.com> |
Support profile and level query for SW video decoders Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
/frameworks/base/include/media/stagefright/OMXCodec.h
|
42fb5d64b9a4f4be5163c67374cca5eaa7226791 |
|
30-Jun-2011 |
Andreas Huber <andih@google.com> |
Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec. Change-Id: Ie03b285265099dbac9b12f3f41d9ad758d0b50ad
/frameworks/base/include/media/stagefright/OMXCodec.h
|
e366f52b1520f13306d5fef1c3c8a2b2c653d935 |
|
28-Jun-2011 |
Andreas Huber <andih@google.com> |
Multiple changes to ACodec/codec tools: Make sure sf2 does not coalesce input buffers, generalize ACodec's codec instantiation based on OMXCodec's list of eligible component names. Some changes/additions to the "sf2" commandline tool Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s' New option '-R' renders surface-allocated buffers. Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified. Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4108b1edc61ef91c63bc94a699f9a95e65c3e684 |
|
08-Jun-2011 |
James Dong <jdong@google.com> |
Add B frame support for MPEG4Writer o requires the support of negative ctts duration values (ctts version 1) Change-Id: Ib14130c9359c3bff3c76f20a7380d468a065dcaf
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4b3913a3e43d3180b21d77cc2f717b446350354f |
|
11-May-2011 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: 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
/frameworks/base/include/media/stagefright/OMXCodec.h
|
b8763f60b488ea4e233c9ebed8208599edb36da3 |
|
28-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3012968 DRM output control Modifies Stagefright to verify that there is a hardware-protected path to video sink for DRM content. Change-Id: I18b8741390e803a05a88c7f180b860a24ba88a10
/frameworks/base/include/media/stagefright/OMXCodec.h
|
b9289833341ec19e016891d0ca9638f0973b9647 |
|
08-Feb-2011 |
Andreas Huber <andih@google.com> |
Handle some edge cases when seeking while starting up OMXCodec These were exposed by the new preview-seekframe while paused code. In particular, the codec may have been in state RECONFIGURING when attempting to seek, or we may have initiated flushing of the output port and this may not have completed yet by the time we want to reconfigure the output port. Change-Id: Id7640ade11dbc7205a22f648ea0b5e3e9b49cf4b related-to-bug: 3392259
/frameworks/base/include/media/stagefright/OMXCodec.h
|
5f3ab06e90365ad6c4865e2cab358a20e12ce0eb |
|
26-Jan-2011 |
James Dong <jdong@google.com> |
Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source. This will fix the stop failure issue where we have to wait n * time_interval before a key frame can be received by the file writer, where o n is the actual number of buffers advertised by the video encoder o time_interval is the interval settings for timelapse video recording specifying the time distance between neighboring input video frames The fix includes two parts: o OMXCodec will not submit all n buffers at one time, but instead submit one input frame at one time if it become available. o Timelapse camera source made available the first two input frames and do not skip them so that the first compressed output frame data can be received regardless the specified time_interval bug - 3367659 Change-Id: Ia68cc2cb0d71aa7dc54540e9ad82fae911ad530b
/frameworks/base/include/media/stagefright/OMXCodec.h
|
5e9dc94a3c7a42d77ab454b77e1350b6fa5d2c26 |
|
21-Jan-2011 |
Andreas Huber <andih@google.com> |
Properly rotate video that's marked as such and decoded to a surface. Change-Id: I1e9144db3447e58c99aac3f47702ad471678789c related-to-bug: 3378148
/frameworks/base/include/media/stagefright/OMXCodec.h
|
681e89c08264af948735d00552c4bd08180b06b4 |
|
10-Jan-2011 |
James Dong <jdong@google.com> |
Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not hold the last reference of OMXCodec object bug - 3336424 Change-Id: I4c79b66a900c527e3ae6a833f76d5da1b75c5a89
/frameworks/base/include/media/stagefright/OMXCodec.h
|
2144f6316d9c993ba20c7de2a6cac35265291cc5 |
|
11-Dec-2010 |
James Dong <jdong@google.com> |
Revert "Allows the authoring engine to skip frame." o Skipping frames could lead to a lot of issues such as I frames is lost etc. It is not being used anyway. This reverts commit 53d4e0d58e2d5c18f6e026c705af833b9bdd7aba. Conflicts: media/libstagefright/AudioSource.cpp media/libstagefright/CameraSource.cpp Change-Id: I3abba1647de48db25bdc369066eb2a7ae4dedec2
/frameworks/base/include/media/stagefright/OMXCodec.h
|
bbbcf65532c905b71f5c731551b15e9bd2fc26e0 |
|
07-Dec-2010 |
Andreas Huber <andih@google.com> |
Better buffer status management and verification in OMXCodec. Change-Id: I90410f2ac0d8ff86076a239dc6e281b1bc4d8643
/frameworks/base/include/media/stagefright/OMXCodec.h
|
d781089731127bd9199d47f53b170895868b8750 |
|
11-Nov-2010 |
James Dong <jdong@google.com> |
Add color format query support to QueryCodecs() Change-Id: Ic8589649cd09392a1b969a30082b4c9c4e6cc6a7
/frameworks/base/include/media/stagefright/OMXCodec.h
|
31b9375f45e19c1408f45af497286b795604c9ec |
|
11-Nov-2010 |
James Dong <jdong@google.com> |
Fix memory leak when 0-memcpy quirk is used o minor change to the original patch by Andreas: call restorePatchedDataPointer() method only if kAvoidMemcopyInputRecordingFrames is turned on Change-Id: Idf3710e6f759d37d28e866613f98d39215722cb9
/frameworks/base/include/media/stagefright/OMXCodec.h
|
05c2fd50d2030e20d6a4cacc6931e453cd2de5c4 |
|
02-Nov-2010 |
James Dong <jdong@google.com> |
Use meta data in the media recording framework o This patch allows us to do 720p video recording Change-Id: I2ea37e80a59630145396b08ebcdc6ee71df53333
/frameworks/base/include/media/stagefright/OMXCodec.h
|
f0c5c1e8ce765c66d24bc9d00904fd350b99d16a |
|
02-Nov-2010 |
Jamie Gennis <jgennis@google.com> |
Fix a MediaBuffer leak in Stagefright. Change-Id: I548e60b07cf1676476874b156cfbc4ffefdfa2b9
/frameworks/base/include/media/stagefright/OMXCodec.h
|
170a929648b9f5c6efbf6dcbec4f1bc73593cbde |
|
23-Oct-2010 |
James Dong <jdong@google.com> |
Add two creation flags to OMXCodec::Create() o This allows to force to use software codecs or hardware codecs o If request cannot be fullfilled, Create() returns NULL. Change-Id: I02b56a9229abb56d49703fe80ac18571d33f3748
/frameworks/base/include/media/stagefright/OMXCodec.h
|
58a36adac1bb3294cd9f2d516d52c6358987687a |
|
07-Oct-2010 |
Jamie Gennis <jgennis@google.com> |
Add decode-to-ANativeWindow support to Stagefright. This change adds support to Stagefright for doing OMX video decoding directly into buffers dequeued from an ANativeWindow. It does this by registering the dequeued buffers with the OMX component using an Android-specific OMX extension, and then exchanging buffers between the OMX component and the ANativeWindow. Change-Id: Ida66f836503255a68d378c6903d96dfe9747ce87
/frameworks/base/include/media/stagefright/OMXCodec.h
|
5a40e394f1e6b0511542e171eaf4c3e5927efc13 |
|
18-Oct-2010 |
Andreas Huber <andih@google.com> |
For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder. related-to-bug: 3106534 Change-Id: Ie28d72af2f9e93818d1840ac83aa7bc11fa57b3b
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4c19bf9833f59f58a9aaea566f0eb98a7fb7e2ea |
|
08-Sep-2010 |
Andreas Huber <andih@google.com> |
Work to support switching transport streams mid-stream and signalling discontinuities to the decoder. Change-Id: I7150e5e7342e1117c524856b204aadcb763e06ed related-to-bug: 2368598
/frameworks/base/include/media/stagefright/OMXCodec.h
|
1e1941638398e5e3e1d7b9ad88e66f574576bcfa |
|
07-Oct-2010 |
Andreas Huber <andih@google.com> |
On this particular device the hardware video decoder spits out buffers that don't actually contain our video data, so we cannot use them to restore the video frame after suspend/resume. Change-Id: I1b8fe68c1766299844fe84ebbff49cb8b3e4cc7c related-to-bug: 3070094
/frameworks/base/include/media/stagefright/OMXCodec.h
|
90862e2a8b3ea522cf1dace5e93dcec109a1aa85 |
|
27-Aug-2010 |
James Dong <jdong@google.com> |
Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder is occasionally too small. bug - 2882917 Change-Id: Id59d8529084c5689a26f272e0cd3b1e955fd8a30
/frameworks/base/include/media/stagefright/OMXCodec.h
|
afd97e82cf28d72048c44f78c211a3e9ac6e11e5 |
|
04-Aug-2010 |
James Dong <jdong@google.com> |
Use the target color format from the camera source if possible - If the target color format is unavailable, the default platform-dependent color format will be used. - Also add some logic to prevent looping forever if the omx component is buggy supporting color format enumeration. Change-Id: I119a78f0d6201b4c3621235cca2f523ec14e24e3
/frameworks/base/include/media/stagefright/OMXCodec.h
|
53d4e0d58e2d5c18f6e026c705af833b9bdd7aba |
|
21-Jul-2010 |
James Dong <jdong@google.com> |
Allows the authoring engine to skip frame. This is 1st part of the work to allow audio and video resync if we found out that audio and video are out of sync during authoring - also fixed a problem in AACEncoder::read() where the buffer acquired from the buffer group does not release when error out at reading from source. Change-Id: I8a2740097fcfdf85e6178869afeb9f3687a99118
/frameworks/base/include/media/stagefright/OMXCodec.h
|
6624c9fd0bc5e3858a22a04c05b5059445c1c367 |
|
21-Jul-2010 |
Andreas Huber <andih@google.com> |
Support finer seek control on MediaSources. related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
/frameworks/base/include/media/stagefright/OMXCodec.h
|
81c929a684aefd7e18e04bcfd54407235b89a37d |
|
02-Jul-2010 |
James Dong <jdong@google.com> |
Allow application to set two more encoding paramters: video profile and level Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
/frameworks/base/include/media/stagefright/OMXCodec.h
|
c0ab2a64589b4cd49734a122b6ef976c7ef530e5 |
|
30-Jun-2010 |
James Dong <jdong@google.com> |
Added encoding parameters set up for H263 video encoder Also: - Allowed start() call when encoder already starts and stop() call when encoder has not started yet - Handled default value for audio/video sources/encoders and file output format Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
/frameworks/base/include/media/stagefright/OMXCodec.h
|
1f24b30fe4b5d8e4050d30c92cf81cfa599cf991 |
|
10-Jun-2010 |
Andreas Huber <andih@google.com> |
Support "pausing" of MediaSources with the effect that they no longer pull on their upstream source until a subsequent read-with-seek. Change-Id: Ie4153a10ab36c1135f5fcfb572958129d886bcc3
/frameworks/base/include/media/stagefright/OMXCodec.h
|
1244eab2cea41df1db4eeb930fddbb9e67ff7691 |
|
08-Jun-2010 |
James Dong <jdong@google.com> |
Remove some hard-coded encoding parameters Change-Id: I7a8ccd5d57891a6a585c8da2ee53acb094955913
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4f501f0f2b71b69cadbdb96c71e83a06751e7f0e |
|
07-Jun-2010 |
James Dong <jdong@google.com> |
Second part of speeding up video recording frame rate 1. Avoid copying the input recording frames to the encoder via OMX interface for TI video encoder This is a missing change for part one which help reduces the CPU load. 2. Release output buffers as early as possible. This is a little bit helpful, but not critical. TODO: We should save the underlying pointers allocated by the OMX component before we replace them and restore them before we call OMX_FreeBuffer()! Change-Id: Ib3a88978f4c3b1153808872eaa7ac4c265a811ff
/frameworks/base/include/media/stagefright/OMXCodec.h
|
17299ab50ceb70d904e610e3b2d7fb2361a11e03 |
|
15-May-2010 |
James Dong <jdong@google.com> |
Initial software encoder checkins Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
/frameworks/base/include/media/stagefright/OMXCodec.h
|
a4357addf609c4a88867c93db135d531b2c40352 |
|
02-Apr-2010 |
Andreas Huber <andih@google.com> |
Coalesce multiple encoded AAC frames into a single input buffer on this particular OMX codec to increase throughput significantly. Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064 related-to-bug: 2548426
/frameworks/base/include/media/stagefright/OMXCodec.h
|
2a09c7e042d6a3ae600b25f606d584368a6e3f3a |
|
16-Mar-2010 |
Andreas Huber <andih@google.com> |
Properly handle errors during the codec configuration phase, attempt to revert to next available (likely software-) codec if configuration fails. Change-Id: Id1c699711e30139c9cc29df972254b5ba026e6fb related-to-bug: 2517098
/frameworks/base/include/media/stagefright/OMXCodec.h
|
d7d22eba3c1bb7212ccc566fedb16dbee44f51a2 |
|
23-Feb-2010 |
Andreas Huber <andih@google.com> |
Propagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back. related-to-bug: 2463749
/frameworks/base/include/media/stagefright/OMXCodec.h
|
b8de9578dcb672d92b407d7a24c77af13f85c353 |
|
22-Feb-2010 |
Andreas Huber <andih@google.com> |
This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk. related-to-bug: 2281327
/frameworks/base/include/media/stagefright/OMXCodec.h
|
e331c7b2c4d9449c23e70067edeb0deadb95aa6e |
|
01-Feb-2010 |
Andreas Huber <andih@google.com> |
The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
52733b83a736b500f72f72733b06258601c966f8 |
|
25-Jan-2010 |
Andreas Huber <andih@google.com> |
The qcom OMX video decoders do not allocate output buffer memory at the time OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
c712b9fe2859435ce142b90ddcb46c5bed33eea8 |
|
21-Jan-2010 |
Andreas Huber <andih@google.com> |
Fix no-copy-overhead OMXCodec implementation to actually work.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
f1fe064d735698b09e4bc7b3a10e4dc3dba9a1d9 |
|
16-Jan-2010 |
Andreas Huber <andih@google.com> |
Avoid unnecessary buffer copying if at all possible, detect if running in the mediaserver process.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
91eb0354043842d96bf3ef201ce68046db70df74 |
|
07-Dec-2009 |
Andreas Huber <andih@google.com> |
Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
8768f2ccefdd7862a248995055aa04fd2d5a4dfe |
|
02-Dec-2009 |
Andreas Huber <andih@google.com> |
A small sample tool to encode pcm audio data to amr, decode it again and play it. Some changes to OMXCodec to properly configure the AMR decoder(s).
/frameworks/base/include/media/stagefright/OMXCodec.h
|
ea6a38c63b9e9aeb45aa22587c069bd3c5d83df8 |
|
17-Nov-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 333057b355f8c260c549553b9a0634755c838b6a Author: Andreas Huber <andih@google.com> Date: Fri Nov 13 15:35:48 2009 -0800 Some more tweaks to AVC encoding on sholes. commit 9981d0ee52ec5b8b0182aae733d1571e3ebb8390 Author: Andreas Huber <andih@google.com> Date: Thu Nov 12 16:36:57 2009 -0800 Support for avc encoding, including sholes specific tweaks to pick the right colorspace for the camera to not require transcoding. commit 5ba0ebbbd4efca51f3ae1f60e2ca31e7d2cf136d Author: Andreas Huber <andih@google.com> Date: Wed Nov 11 09:50:03 2009 -0800 Enable actual (camera) video-only recording using h.263 or mpeg4 encoding. commit 3fd59c3526a37fe7c696f4a978925d1831c09313 Author: Andreas Huber <andih@google.com> Date: Tue Nov 10 14:57:48 2009 -0800 Allow switching between the PV recorder implementation and one supported by stagefright. This is controlled through the property "media.stagefright.enable-record".
/frameworks/base/include/media/stagefright/OMXCodec.h
|
b482ce8837a2d85a2a907d7ea89deaa6610a8333 |
|
29-Oct-2009 |
Andreas Huber <andih@google.com> |
Revive support for video encoding in OMXCodec.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
e13526ad926bfee99778a4f21ea5e4f8a6c8984f |
|
22-Oct-2009 |
Andreas Huber <andih@google.com> |
Prefer software decoders over hardware for thumbnail extraction. While our hardware decoders clearly outperform the software decoders in terms of raw throughput, their startup latency makes them less suitable for thumbnail extraction.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
f68c168d366e8aad58454917f96344398a02efd8 |
|
21-Oct-2009 |
Andreas Huber <andih@google.com> |
Some cleanup of OMXCodec code, make sure to ignore 0-length output buffers in the metadata retriever.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
cfd55579c2e20514b181809dfaf30bd6f7e04c7e |
|
09-Oct-2009 |
Andreas Huber <andih@google.com> |
OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
cd74c0d56c0756ceb5cfa5f06d76e17aa2ed6fb9 |
|
08-Oct-2009 |
Andreas Huber <andih@google.com> |
The vendor is about to check in a fix for this issue, the workaround is no longer needed
/frameworks/base/include/media/stagefright/OMXCodec.h
|
8b432b1d85259a463198db3efa5c50e59c254686 |
|
07-Oct-2009 |
Andreas Huber <andih@google.com> |
Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
e6c409632f773e41f33188272a0072be9fcb783f |
|
10-Sep-2009 |
Andreas Huber <andih@google.com> |
Media MIME types now have corresponding constants in MediaDefs.h, new codec enumeration API.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
ee606e66b0c1bc3527ecaffbbe95486d2ff5009e |
|
08-Sep-2009 |
Andreas Huber <andih@google.com> |
Support encoding amr-wb content in stagefright.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4c48342572503c7a92e5634ef8db3f1f9e541256 |
|
03-Sep-2009 |
Andreas Huber <andih@google.com> |
Setting the component role appears to be mandatory now for all mime types. Also using CODEC_LOGV instead of vanilla LOGV to include the component name the message related to.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
da050cf206afff082f2a3693a8103a5df67df397 |
|
02-Sep-2009 |
Andreas Huber <andih@google.com> |
Some work to make audio encoding work.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
43ad6eaf7710e21d4d0df373103c3d99137d4ecc |
|
02-Sep-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit c45bfbb97ccd05982008df47181f9c73abaf0497 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:58:12 2009 -0700 This quirk should not be enabled by default in order to make the bug reproducible by the vendor. commit 21d72e80e795fcae53d9c3bcc8ba6312b081e420 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:55:45 2009 -0700 Undoing the hack to temporarily give up the lock to facilitate reading from the buffer source. This simply causes too many issues, there need to be independent threads providing input buffers and dequeuing output buffers. commit 84d507def8999c146ce124cc8edfe106c9ca70c2 Author: Andreas Huber <andih@google.com> Date: Tue Sep 1 15:16:23 2009 -0700 The AAC components appear to output stereo data even if the input data is mono...
/frameworks/base/include/media/stagefright/OMXCodec.h
|
42978e55fe438ecdc1b0bac5bf31c2aadbd9e78d |
|
27-Aug-2009 |
Andreas Huber <andih@google.com> |
An attempt to fix a deadlock between OMXCodec::start and upstream ::read
/frameworks/base/include/media/stagefright/OMXCodec.h
|
127fcdcd9f76ca717713ae59dc625a706daa6573 |
|
27-Aug-2009 |
Andreas Huber <andih@google.com> |
Another quirk, some OMX components fail to properly flush before shutdown and we must do it for them...
/frameworks/base/include/media/stagefright/OMXCodec.h
|
446f44f61afd406e19760cd9cc5ad3a10fa11cbf |
|
26-Aug-2009 |
Andreas Huber <andih@google.com> |
Keep up with latest changes to overlay handling on that unnamable platform.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
404cc418be3eeaef93729fab51a0124ed65e1adc |
|
25-Aug-2009 |
Andreas Huber <andih@google.com> |
Make sure not to ask for more buffers when we know that there won't be any, added a quirk for the aac decoder.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
5c0a9133d2e8049f8952a190df91febf6b92064c |
|
20-Aug-2009 |
Andreas Huber <andih@google.com> |
Dynamically allocate a pair of MemoryHeaps according buffer count/sizes required by the OMX component, respect JPEG compressed size.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
4f5e602e1773a2990bb1f34f09875bd5cd057e5a |
|
19-Aug-2009 |
Andreas Huber <andih@google.com> |
The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.
/frameworks/base/include/media/stagefright/OMXCodec.h
|
be06d26cdc70070654f1eedcd08c1c68cd587ad6 |
|
14-Aug-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 5bb012f0065f7ffaaeb4f569d71f0e3a8d6b19c3 Author: Andreas Huber <andih@google.com> Date: Fri Aug 14 10:40:08 2009 -0700 An attempt at fixing export using the qcom encoders. More quirks. commit 0690e76bfa48118a68287ccf1bbfa82febaa620c Author: Andreas Huber <andih@google.com> Date: Fri Aug 14 09:08:28 2009 -0700 Callbacks are now dispatched from a separate thread in OMX. commit c6571a039526df29b6343f9a1971dbc019088c61 Author: Andreas Huber <andih@google.com> Date: Thu Aug 13 15:42:25 2009 -0700 Massive API changes throughout stagefright, smart pointers everywhere. commit 900612af6a0555664d9ba195112cd859491265f4 Author: Andreas Huber <andih@google.com> Date: Thu Aug 13 13:33:12 2009 -0700 OMXCodecs now properly shutdown. commit 96732f05e1b0603dcd1b11f16a23512592eeb4f5 Author: Andreas Huber <andih@google.com> Date: Thu Aug 13 12:04:04 2009 -0700 More work on JPEG decoding using the hardware OMX component. commit 63839a073ac393e3a130434ba467969053b694ad Author: Andreas Huber <andih@google.com> Date: Wed Aug 12 13:13:31 2009 -0700 An attempt to drive the JPEG decoder OMX node. commit 3ac2fe5ab2926eda81b2123610b2434c645294ff Author: Andreas Huber <andih@google.com> Date: Tue Aug 11 16:38:21 2009 -0700 Renamed StateMachine to OMXCodec and put it in its proper place. commit 247da75a96bf8881956413023dd49a84d5b4f5b2 Author: Andreas Huber <andih@google.com> Date: Tue Aug 11 16:06:19 2009 -0700 Statemachine is now a full-fledged MediaSource. commit 045244f6771fa0b9b329495c953afda900a84b71 Author: Andreas Huber <andih@google.com> Date: Fri Aug 7 09:16:54 2009 -0700 Properly setup the input format when exporting to AMR audio. commit 271b984cb32c5cd9e46e3f90ae121f334e4b8da9 Author: Andreas Huber <andih@google.com> Date: Thu Aug 6 09:59:38 2009 -0700 Added some code to test audio encoding to the OMX harness. commit 79af4748e4af33bd66d3fbac606e332a69741cf4 Author: Andreas Huber <andih@google.com> Date: Wed Aug 5 14:36:22 2009 -0700 Merge the old OMXDecoder and the new, shiny, StateMachine code. commit 91cf5dd77a8762bc10a0b2ffce35e3bbeb262231 Author: Andreas Huber <andih@google.com> Date: Tue Aug 4 17:41:43 2009 -0700 A new harness to test OMX node compliance (and quirks).
/frameworks/base/include/media/stagefright/OMXCodec.h
|