diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-29 21:03:23 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-01-03 15:31:14 +0200 |
commit | ec6921d7f7ef70cd7c5ea3d7a20082d66b8aa6e5 (patch) | |
tree | 744fd998a9381101737bb1bd52cb2449e0f1448d /src/android/jpeg/thumbnailer.h | |
parent | 46b32fa0e48aed16778c6e8d324d65473fbd06b7 (diff) |
libcamera: media_device: Move recursive lock handling to pipeline handler
The MediaDevice lock is meant to prevent concurrent usage of multiple
cameras from the same pipeline handlers. As media devices are acquired
by pipeline handlers, we can't have multiple pipeline handlers trying to
lock the same media device. The recursive locking detection can thus be
moved to the pipeline handler. This simplifies the media device
implementation that now implements true lock semantics, and prepares for
support of concurrent camera usage.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/thumbnailer.h')
0 files changed, 0 insertions, 0 deletions