82832ceb96670bf95013c7b42e22f32f58050131 |
27-Jan-2018 |
Wonsik Kim <wonsik@google.com> |
Move WGraphicBufferProducer from omx to bqhelper In addition, make TWGraphicBufferProducer a template so that it can inherit from any descendants of IGraphicBufferProducer so that it's possible to avoid diamond inheritance while reusing the implementation. Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Change-Id: Iad5479735af1ae83f2175b1968a3e040d77a3bc0
GraphicBufferProducer.cpp
ProducerListener.cpp
|
2860573684ebaf514827cc1b5b144deb194eb8f6 |
12-Jan-2018 |
Wonsik Kim <wonsik@google.com> |
stagefright: Separate OMX specific part from GraphicBufferSource Test: adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Change-Id: I76bb392c888b5ed62385bb9ddc312f5bae88b853
mx.cpp
GraphicBufferSource.cpp
|
fad26c14c7e68c3fe40bda8fd5692b8dbfac1000 |
16-Oct-2017 |
Santhosh Behara <santhoshbehara@codeaurora.org> |
libmedia: Fix null pointer crash in secure buffer allocation. Add null pointer check for native_handle as it is null if secure memory allocation fails. Author: Vasantha Balla<vballa@codeaurora.org> Test: fix the bug Bug: 71053053 Change-Id: I204ca69b9808448788c83a1ae5a642618eca8973 (cherry picked from commit 617b0827bc7daf66272455034c1dddd10b846663)
OmxNode.cpp
|
c80d8810bffeb28f1dcf6e92bd81fc549df13348 |
03-Oct-2017 |
Pawin Vongmasa <pawin@google.com> |
Check transaction status in WGraphicBufferSource Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 67298613 Change-Id: Ibd6f4c28e3bffc65c59a32d5790cec52e29ab8ec
GraphicBufferSource.cpp
|
2999d3596225d560fec27cbf73e4577f02ac3fd5 |
07-Sep-2017 |
Lajos Molnar <lajos@google.com> |
Merge "Implement IOmxStore" into oc-mr1-dev
|
e4bf97fbf4302bdea149fba4114b96b6ab9a4799 |
06-Sep-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix null pointer dereferencing in TWGBP" into oc-mr1-dev
|
cbdeea977b79c41910b004cffcb80d81265853e8 |
27-Jul-2017 |
Pawin Vongmasa <pawin@google.com> |
Implement IOmxStore Separate out MediaCodecsXmlParser and implement IOmxStore and IOMXStore. Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Test: make cts -j123 && cts-tradefed run cts -m \ CtsMediaTestCases -t android.media.cts.MediaCodecListTest Bug: 37657124 Merged-In: I8c5a3a8fe6defab4f17c8a49bce57452879193dc Change-Id: I8c5a3a8fe6defab4f17c8a49bce57452879193dc
mx.cpp
mxStore.cpp
|
d8cbbf9f426153596377ae6189f68865ed5790bc |
15-Aug-2017 |
Pawin Vongmasa <pawin@google.com> |
Fix null pointer dereferencing in TWGBP Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 64227158 Bug: 64495583 Change-Id: I3bcab37346d5d7de31a7c24b2951b3501fa9858f
GraphicBufferProducer.cpp
|
6c161bd7ec23c002e3dbc999fb728f5fa0235589 |
18-Jul-2017 |
Ian Elliott <ianelliott@google.com> |
Have the Surface class track the buffer age. This change corresponds to a change between the Surface and BufferQueueProducer classes. Have the Surface class track the buffer age, so that Surface::query() can return the buffer age without having to use a binder call to BufferQueueProducer::query(). The idea is for BufferQueueProducer::dequeueBuffer() to return the value, which the Surface class will cache for later use by Surface::query(). Bug: b/27903668 Test: Use systrace to no ensure query binder call after dequeueBuffer. Change-Id: I78ff3d2d639111705c25a92f3672b7e6d0fac19f (cherry picked from commit ee9ddeff468484061c5c8df1368867cd31ec09d5)
GraphicBufferProducer.cpp
|
255735a38b9d5c3755c7b819bdc8fdaf4357d860 |
19-Jul-2017 |
Pawin Vongmasa <pawin@google.com> |
Organize header dependencies Header files that are exported are moved to a specific place for exporting. Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 63821829 Change-Id: Ia578e3c0dd1ff157335b3a49af896acb922586e8
onversion.h
mx.cpp
mx.h
mxStore.cpp
mxStore.h
GraphicBufferProducer.cpp
GraphicBufferProducer.h
GraphicBufferSource.cpp
GraphicBufferSource.h
OmxBufferSource.cpp
OmxBufferSource.h
OmxNode.cpp
OmxNode.h
OmxObserver.cpp
OmxObserver.h
ProducerListener.cpp
ProducerListener.h
|
2be091cebb9462b63d7160d0fa2cfa8703973a69 |
11-Jul-2017 |
Pawin Vongmasa <pawin@google.com> |
Move xmlparser to under libstagefright Test: make cts -j123 && cts-tradefed run cts-dev --module \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 37657124 Change-Id: Ib78f983635586558b99850b2fd54143b0a418d1d
mx.h
|
383f61d9eec276b668bc1853a25c6574582e2547 |
01-Jul-2017 |
Pawin Vongmasa <pawin@google.com> |
Release the mutex before calling hidl_cb In Omx::allocateNode, Omx::serviceDied may be called by hidl_cb in Omx::allocateNode if the observer dies before hidl_cb is called. This CL prevents a deadlock from happening in this situation. Test: make cts -j99 && cts-tradefed run cts-dev \ --module CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 63177989 Change-Id: I8e1357ff637b0912a3a97c6611d886533caaaf8a
mx.cpp
|
db4a3e576acf8e3f685ef23e6ecd56ae25c17938 |
23-May-2017 |
Pawin Vongmasa <pawin@google.com> |
Merge "Check the return value from allocateSecureBuffer" into oc-dev am: 0375da69b2 am: d6da847e36 Change-Id: I485d69da0a2d1d1067a801ae0612396287160dfc
|
c7455a0bb4909d1d48c86e4a9b699ddda65f87f4 |
20-May-2017 |
Pawin Vongmasa <pawin@google.com> |
Check the return value from allocateSecureBuffer Test: Small CtsMediaTestCases Test: com.google.android.media.gts.WidevineCodecStressTests in GtsMediaTestCases Bug: 38452958 Change-Id: Iba53c3fc144a3ee7d1f54b62ab3836b1a3a46dc6
OmxNode.cpp
|
611a545969944b0ee78f0890a858f6e87e75f88c |
12-May-2017 |
Praveen Chavan <pchavan@codeaurora.org> |
Omx: Fix codec instance leak if Observer dies am: 990bc6dec9 am: 0140b054b0 Change-Id: Ibcc916d72d516dad391c89c8597225a54e622856
|
990bc6dec9e62f1fb529a3f552aaaf7478f84756 |
09-May-2017 |
Praveen Chavan <pchavan@codeaurora.org> |
Omx: Fix codec instance leak if Observer dies If Observer dies, {instance, observer} book-keeping may be cleaned up. In such case avoid only unlinking the death-notifier, but proceed with instance cleanup Test: Manual use of Camera, Photos, Play Movies and YouTube. Test: Small CtsMediaTestCases Bug: 38149818 Change-Id: I412953b55827c93730353a95560b865fb18b5f0f
mx.cpp
|
f8fbef69d5270db6f23cf5cca74e03a33475fd04 |
10-May-2017 |
Robert Shih <robertshih@google.com> |
Merge "Add null check in setSidebandStream" into oc-dev am: ebb1475d1a am: b42ec7ea29 Change-Id: Iab9c41d741e0ca62b024850fa02a2a63720c43f2
|
defb1b0b7e082621a10763d1bd7a4a01e280fdf0 |
28-Apr-2017 |
Mathias Agopian <mathias@google.com> |
fix circular dependency libnativewindow <-> libui Bug: 37647680, 37648355 Test: compile, manual Change-Id: I9cb8a1320d7c73299fb2b081a054eafb8ef086c8
GraphicBufferProducer.cpp
|
5c7ade853642a8e9414e5c69fdc43c0957bed9af |
09-May-2017 |
Robert Shih <robertshih@google.com> |
Add null check in setSidebandStream Bug: 38172844 Change-Id: I5d9a6b4c84b4c4cf9f5c9b1634a9cd35797c09b2
GraphicBufferProducer.cpp
|
6330ce561e401ca5bc65a74a323de32fc5bad7ad |
28-Apr-2017 |
Yi Kong <yikong@google.com> |
Remove unused lambda capture Clean up, no functionality change. Test: build Bug: 37752547 Change-Id: I040b5af2069b679a8a7e681cb79b24664224fc5b
OmxNode.cpp
|
fdb3f0a8c33b8a02c9274c84293b70929c1a1da6 |
27-Apr-2017 |
Pawin Vongmasa <pawin@google.com> |
Merge "Stub implementation for IOmxStore." into oc-dev am: 12b97c8d65 am: 14b7161b48 Change-Id: I01306b79b41a94fcc26acbb4f1aaa2eae228ed4b
|
52257b75115135821bba562ac35c0c6325a1e100 |
25-Apr-2017 |
Pawin Vongmasa <pawin@google.com> |
Stub implementation for IOmxStore. Test: Small CtsMediaTestCases Bug: 37657124 Change-Id: I5728a12d000223231600ab3c3ab4eb044dd1847d
mxStore.cpp
mxStore.h
|
f72cefddf378909f360998852e41f49042711299 |
05-Apr-2017 |
Hangyu Kuang <hkuang@google.com> |
media: Support getStopTimeOffsetUs in GraphicBufferSource. So MediaCodecSource could use the stopTimeOffset to adjust the stop timeout dynamically. Test: Camera recording with video stream delay. Bug: 35925528 Change-Id: Ic186971992bdc03155e9993cb44027002f71a457
GraphicBufferSource.cpp
|
22dc508717c7767927064ec7c152def99e54adcb |
20-Apr-2017 |
Pawin Vongmasa <pawin@google.com> |
Make IGraphicBufferSource::setTimeLapseConfig take fps Test: Manual use of Camera, Movies, Photos and YouTube apps. Test: With CtsMediaTestCases.apk installed, adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Bug: 37302530 Change-Id: Id0d4f7fed57349a2f5484f6b6264981471e8f022
GraphicBufferSource.cpp
GraphicBufferSource.h
|
24059088a46160f731903cc66404184a531d0478 |
07-Apr-2017 |
Pawin Vongmasa <pawin@google.com> |
Add future support for IGraphicBufferSource::getStopTimeOffsetUs Test: Compiles Bug: 35925528 Change-Id: I31368939d2f13811b9e8b3e5911b91b14148c167
GraphicBufferSource.cpp
GraphicBufferSource.h
|
0de04e850beced076e4b1fcf0e513255f62a7d85 |
12-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Remove setQuirks() from IOMXNode and IOmxNode." into oc-dev
|
6ed07dc02d4240f94e7fb0786fb263bdc7a610ba |
05-Apr-2017 |
Pawin Vongmasa <pawin@google.com> |
Remove setQuirks() from IOMXNode and IOmxNode. Test: Media post-submit tests on Pixel phone. Test: Manual use of Camera, Photos, Play Movies and YouTube apps. Bug: 36952714 Change-Id: I230df51c2d658e29cffec369ba622e336c3402d2
mx.cpp
mx.h
OmxNode.cpp
OmxNode.h
|
c1d17710bde127ad6c4533490b27effb3016f1b4 |
03-Apr-2017 |
Scott Randolph <randolphs@google.com> |
Use explicit .c_str() for hidl_string hidl_string no longer will provide an implicit cast to const char* as it interfers with other expected behaviors of the class. It now emulated std::string in requiring a call to .c_str() to get the same behavior. Bug: 36532780 Test: Build the tree Change-Id: I2b7c4d8e530cc1678cd08d77e365c5e560493264
mx.cpp
OmxNode.cpp
|
04563aafa0debc95d50951ca944abf37ef2777ce |
09-Mar-2017 |
Pawin Vongmasa <pawin@google.com> |
Move hybrid interface from libbinder to libhidl/transport. Also, merge android.hardware.media.omx@1.0-impl into libstagefright_omx. Test: With CtsMediaTestCases.apk installed, adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Test: Manual use of Camera, Photos, Play Movies and YouTube apps. Test: Manual use of screen mirroring. Bug: 33854657 Change-Id: Ie927bcafd86dc7e9509bb8b76bb3b51f9a423cc7
onversion.h
mx.cpp
mx.h
GraphicBufferProducer.cpp
GraphicBufferProducer.h
GraphicBufferSource.cpp
GraphicBufferSource.h
OmxBufferSource.cpp
OmxBufferSource.h
OmxNode.cpp
OmxNode.h
OmxObserver.cpp
OmxObserver.h
ProducerListener.cpp
ProducerListener.h
|