Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a9d953ed authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Build Coastguard Worker
Browse files

Codec 2.0: fix multi-fd sync fence support

Fix multiple issues with multi-fd sync fences:
- add expanded documentation for public methods
- restore single-fd native handles to have a single fd
- use proper magic number in the native handles, and
  distinguish ordered and unordered multi-fd fence native
  handles to ensure APIs behave as described.
- fix handling all previous layouts of native handles

Add unit tests to ensure compatibility.

Bug: 326528469
Test: /data/nativetest64/codec2_vndk_test/codec2_vndk_test and high-level tests
(cherry picked from https://android-review.googlesource.com/q/commit:cb5d948cc202c2181e3f12326a34a5675248d8a0)
Merged-In: I5123dbd51dfd94c5f821e9663a0674a0a6e73b22
Change-Id: I5123dbd51dfd94c5f821e9663a0674a0a6e73b22
parent 7eca2110
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment