From 27d5b9a0b8436a6eb88b75e2d5662e28d3cf93bb Mon Sep 17 00:00:00 2001 From: Konsta Date: Tue, 1 Apr 2025 19:32:37 +0300 Subject: [PATCH] v4l2: don't allocate using ion Codec2.0 poolMask: ION(16) BUFFERQUEUE(18) BLOB(19) V4L2_BUFFERQUEUE(20) V4L2_BUFFERPOOL(21) SECURE_LINEAR(22) SECURE_GRAPHIC(23) For linear buffer allocation: If ION is chosen, then the mask should be 0xf50000 If BLOB is chosen, then the mask should be 0xfc0000 0xf50000 -> 11110101 0000000000000000 0xfc0000 -> 11111100 0000000000000000 --- vendor.prop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor.prop b/vendor.prop index 5366bbe..17529a0 100644 --- a/vendor.prop +++ b/vendor.prop @@ -71,7 +71,7 @@ debug.stagefright.c2inputsurface=-1 persist.device_config.mglru_native.lru_gen_config=core # V4L2 -debug.stagefright.c2-poolmask=0xf50000 +debug.stagefright.c2-poolmask=0xfc0000 persist.vendor.v4l2_codec2.rank.decoder=128 persist.vendor.v4l2_codec2.rank.encoder=128 ro.vendor.v4l2_codec2.decode_concurrent_instances=8