summaryrefslogtreecommitdiff
path: root/src/android/camera_hal_manager.cpp
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2024-06-24 19:18:59 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2024-07-03 10:36:55 +0530
commitcc3a3c46a5ae4353b7bc9fe740521cef1008c998 (patch)
tree840d06571649ea1c5d22da72a6b6cbf14c71258a /src/android/camera_hal_manager.cpp
parent7f85673e13a034908e773a6bf421ca880ef0ab4a (diff)
libcamera: converter: Replace usage of stream index by Stream pointer
The converter interface uses the unsigned int output stream index to map to the output frame buffers. This is cumbersome to implement new converters because one has to keep around additional book keeping to track the streams with their correct indexes. The v4l2_converter_m2m and simple pipeline handler are adapted to use the new interface. This work roped in software ISP as well, which also seems to use indexes (although it doesn't implement converter interface) because of a common conversionQueue_ queue used for converter_ and swIsp_. The logPrefix is no longer able to generate an index from a stream, and is updated to be more expressive by reporting the stream configuration instead, for example, reporting "1920x1080-MJPEG" in place of "stream0". Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Tested-by: Andrei Konovalov <andrey.konovalov.ynk@gmail.com> # sm8250 RB5
Diffstat (limited to 'src/android/camera_hal_manager.cpp')
0 files changed, 0 insertions, 0 deletions