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
This commit is contained in:
Konsta
2025-04-01 19:32:37 +03:00
parent 0dc4975917
commit 27d5b9a0b8

View File

@@ -71,7 +71,7 @@ debug.stagefright.c2inputsurface=-1
persist.device_config.mglru_native.lru_gen_config=core persist.device_config.mglru_native.lru_gen_config=core
# V4L2 # V4L2
debug.stagefright.c2-poolmask=0xf50000 debug.stagefright.c2-poolmask=0xfc0000
persist.vendor.v4l2_codec2.rank.decoder=128 persist.vendor.v4l2_codec2.rank.decoder=128
persist.vendor.v4l2_codec2.rank.encoder=128 persist.vendor.v4l2_codec2.rank.encoder=128
ro.vendor.v4l2_codec2.decode_concurrent_instances=8 ro.vendor.v4l2_codec2.decode_concurrent_instances=8