Merge "Clarify format BLOB locking" am: 66cf51232c am: c764d58ed8

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2381019

Change-Id: I5551eb868e58b8d7e4000b0f5d26e4c07699754c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-01-12 05:55:41 +00:00 committed by Automerger Merge Worker
commit 36c65361a0

View file

@ -241,7 +241,9 @@ typedef struct AIMapperV5 {
* acceptable. * acceptable.
* *
* 1D buffers (width = size in bytes, height = 1, pixel_format = BLOB) must * 1D buffers (width = size in bytes, height = 1, pixel_format = BLOB) must
* "lock in place". The buffers must be directly accessible via mapping. * "lock in place" and behave similar to shared memory. That is, multiple threads or processes
* may lock the buffer for reading & writing and the results must follow the device's memory
* model.
* *
* The client must not modify the content of the buffer outside of * The client must not modify the content of the buffer outside of
* @p accessRegion, and the device need not guarantee that content outside * @p accessRegion, and the device need not guarantee that content outside