| commit | c065af968553ae2c64d5712134d4f1e11501f180 | [log] [tgz] |
|---|---|---|
| author | Chih-Yu Huang <akahuang@google.com> | Tue Feb 16 11:08:33 2021 +0900 |
| committer | Chih-Yu Huang <akahuang@google.com> | Mon Mar 01 15:32:09 2021 +0900 |
| tree | a7023e91cfa65bd60eefc3e1365d30e6afec4fbd | |
| parent | 86ab0c66c9149824a1ed5ecbb71e9a407c5ba939 [diff] |
V4L2DecodeComponent: fix element not found at mWorksAtDecoder |mWorksAtDecoder| is for storing the C2Works that pass to V4L2Decoder::Decode(). After a work is finished decoding, the callback will be called, and V4L2DecodeComponent erase the C2Work from |mWorksAtDecoder|. Originally, we store C2Work after calling V4L2Decoder::Decode(). So it's possible that the callback is called before inserting the C2Work into |mWorksAtDecoder|. This CL fixes this issue. Bug: 177627914 Test: android.media.cts.MediaRandomTest#testPlayerRandomActionH264 Change-Id: I0e496c8d1e37798a5efe153436d56f343e6ac500
accel/ Core V4L2 API and codec utilities, ported from Chromium project.
common/ Common helper classes for both components/ and store/.
components/ The C2Component implementations based on V4L2 API.
store/ The implementation of C2ComponentStore. It is used for creating all the C2Components implemented at components/ folder.
service/ The Codec2's V4L2 IComponentStore service. The service initiates the component store implemented at store/ folder, and registers it as the default service.