commit | ef98c74885f9e7278f13da174dcba23954fb820f | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Tue Feb 16 16:38:40 2021 +0900 |
committer | Chih-Yu Huang <akahuang@google.com> | Mon Mar 01 15:32:10 2021 +0900 |
tree | 379ee743572d9f1fb3643a8afeda8e2349113c66 | |
parent | 576a72398a9d62adee8030181f15e1989d3bd474 [diff] |
C2VdaBqBlockPool: remove unnecessary data |mComponentOwnedUniquedIds| was used to prevent the issue that buffers might be attached twice to new surface. But ag/13490974 change the way to switch surface. This issue doesn't exist anymore. This CL removes the unnecessary mComponentOwnedUniquedIds data. Also, because the extra field |mUniqueId| of C2VdaBqBlockPoolData is used to update |mComponentOwnedUniquedIds|, it's not needed as well. This CL removes C2VdaBqBlockPoolData class and uses its parent class directly. Bug: 174188958 Test: android.media.cts.AdaptivePlaybackTest Test: android.media.cts.MediaCodecPlayerTest#testPlaybackSwitchViews Change-Id: I588f3896a8ad6cceb90c844981e7ab95defe2092
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.