Codec2: Support locking vendor formats with gralloc4
Try to lock vendor formats via gralloc4 with fallback to
legacy-lockYCbCr. This allows locking 8bit and 10bit formats.
Bug: 179301660
Test: android.media.cts.ImageReaderDecoderTest#testOtherH265_10BitImage
Change-Id: I6eb1ce89561ccd3d38ba1fb1cd452886df611679
diff --git a/media/codec2/vndk/Android.bp b/media/codec2/vndk/Android.bp
index be81c84..a365042 100644
--- a/media/codec2/vndk/Android.bp
+++ b/media/codec2/vndk/Android.bp
@@ -73,11 +73,12 @@
"libbase",
"libcutils",
"libdl",
+ "libdmabufheap",
+ "libfmq",
+ "libgralloctypes",
"libhardware",
"libhidlbase",
"libion",
- "libdmabufheap",
- "libfmq",
"liblog",
"libnativewindow",
"libstagefright_foundation",