commit | 7e6dd5ab4c0a92773867f37fd40d9303650590cd | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Mon Mar 08 16:50:50 2021 +0900 |
committer | Chih-Yu Huang <akahuang@google.com> | Mon Mar 15 14:41:33 2021 +0900 |
tree | ca175367051b6b9ec245dd72ea46a0281b79ecd8 | |
parent | 01d7532a8bd0560f250aa160c0cc723f3940d7e2 [diff] |
V4L2DecodeComponent: polish the logic of start and stop This CL polishes the logic of start and stop, including: 1. Remove timeout waiting: CCodec framework already has timeout for calling component's method, so we don't need the timeout again. 2. make release() not call stop(). Originally release() calls stop() directly, but release() can skip some tasks in stop(). Actually release() should do the same clean-up as destructor does. Bug: 181541291 Test: android.media.cts.AdaptivePlaybackTest Change-Id: I7cdb0037115ab308e7038fa95fdcfdf0133ac53e
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.