summaryrefslogtreecommitdiff
path: root/src/android/camera_hal_config.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-01-29 11:21:57 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-01-29 11:21:57 +0100
commit4e0a6bf1e4e809bed952b908f9d8ae369b9458a6 (patch)
tree0538fa163f52677d168ba5a3b78b08a277b4f323 /src/android/camera_hal_config.cpp
parent8e19093264b55e4bb469ddf2801fb923aa060713 (diff)
libcamera: imx8-isi: Automatically select media bus code
The ISICameraConfiguration::validate() function selects which media bus format to configure the sensor with based on the pixel format of the first configured stream using the media bus code associated to it in the formatsMap_ map. In order to remove the PixelFormamt-to-mbus-code association in formatsMap_ provide a wrapper function for the newly introduced getRawMediaBusFormat() and getYubMediaBusFormat() that automatically selects what media bus format to use based on the first stream pixel format. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/android/camera_hal_config.cpp')
0 files changed, 0 insertions, 0 deletions