0d3a5edf232916e81adbc46fc0f4a1753166b066 |
|
22-Feb-2017 |
Pawin Vongmasa <pawin@google.com> |
Remove the dependency on passthrough IOmx in media.codec. Also clean up some other dependencies. Test: Manual testing with Camera, YouTube and Play Movies apps. Bug: 35445903 Change-Id: I28562b5fbcc7054cf45c4ec2530bbe2ab4b5645f
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|
13a926879249276771b0097538459c7550e2f5ce |
|
17-Feb-2017 |
Steven Moreland <smoreland@google.com> |
Use hidl.allocator for IAllocator. android.hidl.memory is being split into android.hidl.memory and android.hidl.allocator since the former is a passthrough hal and the latter is a binderized service. Bug: 35327976 Test: hidl_test, lshal, youtube/camera works Change-Id: I7a2e72dcd3721d2689eb7ef95f5b140ecc1c446f
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|
9c47c97ecac581d66b6febafd156618247e86742 |
|
08-Feb-2017 |
Pawin Vongmasa <pawin@google.com> |
Enable full migration of OMX to Treble. 1. Toggling between Treble and non-Treble OMX will now be controlled by two properties: "persist.hal.binderization" and "persist.media.treble_omx". (Before this CL, this was controlled by "debug.treble_omx".) - If persist.media.treble_omx is not set, it will assume a default value of -1. - If persist.media.treble_omx is -1, persist.hal.binderization will be used to determine whether OMX will be created as a Treble or non-Treble service. - If persist.media.treble_omx is 1, OMX will be created as a Treble service. - If persist.media.treble_omx has any other value, OMX will be created as a non-Treble service. - persist.media.treble_omx can be changed without rebooting, but it will only take effect after media.codec and mediaserver processes are killed. 2. Remove all dependencies on non-Treble service. This was not done for MediaCodec, MediaPlayerService::Client, MediaRecorderClient, stagefright command, and omx_tests command. OMXClient and media.codec process will now pick the right version of OMX based on properties mentioned above. Before this CL, media.codec would always present the non-Treble version of OMX regardless of the flag. 3. Provide workarounds for some HIDL issues. - A sequence of nested binder and hwbinder calls require many threads to handle. (b/35283480) The workaround is to increase the number of threads in the thread pool of media.codec process. - android.hidl.base@1.0::IBase::unlinkToDeath takes a strong pointer instead of a weak pointer. (b/35233970) This causes an infinite recursion in the destructor of ServiceDeathNotifier in MediaPlayerService::Client and MediaRecorderClient. The workaround moves calls to unlinkToDeath() outside of the destructor. Test: Recorded and played videos with Camera app. Ran stagefright and omx_tests commands. Bug: 31399200 Change-Id: Id1940ed982838e10bf10fe8ed5b7bb912a5a2d3a
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|
d59b97223424a3974d2ac31cff998d02eecf2eed |
|
21-Sep-2016 |
Chong Zhang <chz@google.com> |
IOMX: separate node interface from IOMX - Separate node interface from IOMX. Client allocates the node through IOMX, and once it has the node interface, it can interact with the node directly. There is no need to go through IOMX and refer to the node by id. - Simplify OMX, remove id-to-instance mapping on server side, and move the callback dispatch into node instance (as dispatcher is per-node). - Keep track of node generation on client side to ensure that message handling ignores messages directed at an expired node. - Remove MuxOMX, always use IOMX from media.codec. - Minor whitespace reformatting. bug: 31399200 Change-Id: I8aef6ec1fa5aba861da7d121960ed2974a963d81
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|
26a48f304a8754d655e554178ffb6d7ba4c5aac3 |
|
04-Jun-2015 |
Lajos Molnar <lajos@google.com> |
stagefright: add support for batching OMX events Bug: 20503131 Change-Id: I762c419ed1245f8b83fb1f6bf61e5557213ca07b
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|
134ee6a324c35f39e3576172e4eae4c6de6eb9dc |
|
16-Dec-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 144b1c40e9cf08a584c50e1bef7ba3f287e81a4f Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:28:23 2009 -0800 This H264 file shows a certain problem even better. commit 3245f1f3b7471975aeeb824a756c987abd610f55 Author: Andreas Huber <andih@google.com> Date: Wed Dec 16 09:20:08 2009 -0800 Using only the QA testfiles now. commit 074817eb3816c5dd70858a3594e3b92d799d873b Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 16:17:39 2009 -0800 Yay, roles are back again now that the API is in place. commit 6d847e4932cc38301ae27cb7283b7f1553a95457 Author: Andreas Huber <andih@google.com> Date: Tue Dec 15 13:01:20 2009 -0800 Added commandline option for specifying the random seed for reproducable tests. commit 62ab37b26336eaa67e49791c41c996acb6acee3f Author: Andreas Huber <andih@google.com> Date: Mon Dec 14 10:53:27 2009 -0800 When issuing a seek it is important that only the first MediaSource::read call has the seek option. commit e77c46644b2fb6862bafa3569f7d304252074f1e Author: Andreas Huber <andih@google.com> Date: Mon Dec 7 16:39:07 2009 -0800 Make sure the tests are actually built, sp<OMXCodec> becomes sp<MediaSource> commit 6df56915bd55a9445b3c6f953d3cc251d81579b8 Author: Andreas Huber <andih@google.com> Date: Thu Dec 3 14:25:36 2009 -0800 Temporarily disable support for querying the roles of OMX components. commit 31bb26930df9e3658dea684cedb4b0f1a06a4a88 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 13:36:52 2009 -0800 Disregard EOS events, slightly change the way the EOS flag on output buffers is handled. commit 4c382fbc9aebee8197d5988d04378062809e7c48 Author: Andreas Huber <andih@google.com> Date: Tue Dec 1 09:37:24 2009 -0800 New random seek test for the codec tests. Fixed "sticky" end-of-output-buffers flag behaviour in OMXCodec. commit c762eac3e44309592b61a168d66e091cf609fa03 Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 14:13:43 2009 -0800 Fix a typo. commit 50540a59b65c7d476b0193c7494cd75895e6ca6d Author: Andreas Huber <andih@google.com> Date: Tue Nov 3 09:48:35 2009 -0800 Some more fine tuning of the unit tests, make MPEG4Extractor less verbose. commit 1157a7e52a0636706caa235abe16d2ff8a0b8140 Author: Andreas Huber <andih@google.com> Date: Wed Oct 28 12:01:01 2009 -0700 Changes to the IOMX::listNodes API, this now returns the component's roles as well, unit tests now test all components in all supported roles by default. commit 30fbf2d8c6cb927689f7ba75eb550a81e9df488a Author: Andreas Huber <andih@google.com> Date: Mon Oct 26 09:45:26 2009 -0700 Initial check-in of unit tests for OMX components.
/frameworks/av/media/libstagefright/omx/tests/OMXHarness.h
|