summaryrefslogtreecommitdiff
path: root/test/libtest/camera_test.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-01-29 12:13:41 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-04-30 18:42:03 +0200
commitad1cd9e33fc019c0601472444b4889a09f48eaa6 (patch)
tree432ad2733157a5cd9eb1715b19445bf248a12574 /test/libtest/camera_test.h
parent680cde6005096677688ed976bdc758763774036c (diff)
libcamera: imx8-isi: Remove mbusCode from formatsMap_
Now that the media bus code selection procedure does not depend on the ISICameraConfiguration::formatsMap_ remove the association between PixelFormat supported by the ISI and the media bus code produced by the sensor. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Tested-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/libtest/camera_test.h')
0 files changed, 0 insertions, 0 deletions
"hl str">Aperture = {}'.format(aperture) patches = [Img.patches[i] for i in Img.order] channels = [Img.channels[i] for i in Img.order] return lux_calc(Cam, Img, patches, channels), shutter_speed, gain """ perform lux calibration on bayer channels """ def lux_calc(Cam, Img, patches, channels): """ find means color channels on grey patches """ ap_r = np.mean(patches[0][3::4])