Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-06 | libhwjpeg: Add advisory lock | Michelle Yang | |
Libhwjpeg is not thread safe. This can generally be worked around via a mutex managed by the caller. However, if multiple processes use libhwjpeg, an exclusive lock managed by the library is necessary to ensure that all operations required to configure & encode an image is completed together. Bug: 269642082 Test: m libhwjpeg Change-Id: If805a79ac7c3290cd224c862f258c56fc3d8958f |