diff options
| author | Amy Zhang <amyjojo@google.com> | 2020-09-08 17:08:29 -0700 |
|---|---|---|
| committer | Amy Zhang <amyjojo@google.com> | 2020-09-21 17:42:29 -0700 |
| commit | 976c640464b1d6ed82f68522ab4f7b692ca69dbb (patch) | |
| tree | 782ac165e4194f974b1409b7bc020f36b9b3f411 /identity/support/src/cppbor_parse.cpp | |
| parent | cbd93156bd02a619d6194cfaa735592132a6a4dd (diff) | |
Add API to get the shared memory Audio/Video handle
In the MediaEvent of AV filters, the AV memory handle is mapped/unmapped on each event.
If the vendor allocates a persistent memory block, and use MediaEvent.offset to access the data,
the mapping change is unnecessary.
To improve this, a new API to get shared AV Memory is introduced.
To pass additional information to Codec2 for AV memory,
the index for Codec2 to setup additional information can be carried in the handle.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 162013047
Bug: 157143515
Bug: 156664393
Change-Id: Ibd4471ff8e19b0a99b8bcbc982dc08dbcc92efcf
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
