libcamera/src/v4l2
Laurent Pinchart 3bd1985545 v4l2: camera: Merge getStreamConfig() with open()
The V4L2CameraProxy always calls V4L2Camera::getStreamConfig() right
after V4L2Camera::open(), and never afterwards. Simplify the code by
returning the initial configuration from V4L2Camera::open() and removing
V4L2Camera::getStreamConfig().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
2020-08-25 20:24:21 +03:00
..
meson.build v4l2: v4l2_camera_file: Add V4L2CameraFile to model the opened camera file 2020-06-25 23:41:15 +09:00
v4l2_camera.cpp v4l2: camera: Merge getStreamConfig() with open() 2020-08-25 20:24:21 +03:00
v4l2_camera.h v4l2: camera: Merge getStreamConfig() with open() 2020-08-25 20:24:21 +03:00
v4l2_camera_file.cpp v4l2: V4L2CameraProxy: Take V4L2CameraFile as argument for intercepted calls 2020-06-25 23:41:19 +09:00
v4l2_camera_file.h v4l2: v4l2_camera_file: Add V4L2CameraFile to model the opened camera file 2020-06-25 23:41:15 +09:00
v4l2_camera_proxy.cpp v4l2: camera: Merge getStreamConfig() with open() 2020-08-25 20:24:21 +03:00
v4l2_camera_proxy.h v4l2: camera_proxy: Store v4l2_pix_format instead of v4l2_format 2020-08-25 20:24:21 +03:00
v4l2_compat.cpp v4l2: v4l2_compat: Intercept open64, openat64, and mmap64 2020-06-19 20:21:00 +09:00
v4l2_compat_manager.cpp v4l2: V4L2CameraProxy: Take V4L2CameraFile as argument for intercepted calls 2020-06-25 23:41:19 +09:00
v4l2_compat_manager.h v4l2: V4L2CameraProxy: Take V4L2CameraFile as argument for intercepted calls 2020-06-25 23:41:19 +09:00