summaryrefslogtreecommitdiff
path: root/src/cam/event_loop.h
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-07-30 16:31:53 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-08-04 09:03:33 +0530
commit79abef20640fe7ab5a01ec1f4e95ec56b5743b0d (patch)
treec7bce016da39d0c40917796c0982bb5389b1c508 /src/cam/event_loop.h
parentf65fad5a4d5566f37eab67bbb95daa9235d61978 (diff)
android: Override camera as "Internal" provided found in HAL config
Currently, all UVC cameras are reported with CameraLocationExternal [1] by libcamera-core since there is no universal information or standard, to know the location of these cameras. However, in the libcamera HAL layer, we can make an informed decision whether it's external or internal, simply by checking its presence in the HAL configuration file. The CameraHalManager will now assign the numerical id of the camera accordingly when initializing the CameraDevice, based on the camera facing value set in the HAL config file. [1] 76809320bb1a ("libcamera: pipeline: uvcvideo: Treat all UVC cameras as external") Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.h')
0 files changed, 0 insertions, 0 deletions