mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
drivers: media: add alternating exposure support
- update ar0234 driver to support ar0234 sensor hardware provided support for capturing frames using alternating exposure time and analog gain settings through automatic context switching - added new v4l2 control having control id TEGRA_CAMERA_CID_ALTERNATING_EXPOSURE for configuring alternating exposure settings - other changes to support aforementioned changes Bug 4064517 Jira L4T-4501 Change-Id: Id1d3d745345836436b16da1fd00cc97f2e3b5553 Signed-off-by: Shashank Kumar <shaskumar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2881141 (cherry picked from commit e973475525c9a7a99552282316e06126b8fff625) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2987067 Reviewed-by: Anubhav Rai <arai@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Anubhav Rai <arai@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2bd1339e63
commit
c56189df5d
@@ -186,6 +186,8 @@ struct tegracam_ctrl_ops {
|
||||
int (*set_exposure_short)(struct tegracam_device *tc_dev, s64 val);
|
||||
int (*set_frame_rate)(struct tegracam_device *tc_dev, s64 val);
|
||||
int (*set_group_hold)(struct tegracam_device *tc_dev, bool val);
|
||||
int (*set_alternating_exposure)(struct tegracam_device *tc_dev,
|
||||
struct alternating_exposure_cfg *val);
|
||||
int (*fill_string_ctrl)(struct tegracam_device *tc_dev,
|
||||
struct v4l2_ctrl *ctrl);
|
||||
int (*fill_compound_ctrl)(struct tegracam_device *tc_dev,
|
||||
@@ -353,6 +355,7 @@ const struct camera_common_colorfmt *camera_common_find_pixelfmt(
|
||||
unsigned int pix_fmt);
|
||||
|
||||
/* common control layer init */
|
||||
int tegracam_ctrl_synchronize_ctrls(struct tegracam_ctrl_handler *handler);
|
||||
int tegracam_ctrl_set_overrides(struct tegracam_ctrl_handler *handler);
|
||||
int tegracam_ctrl_handler_init(struct tegracam_ctrl_handler *handler);
|
||||
int tegracam_init_ctrl_ranges(struct tegracam_ctrl_handler *handler);
|
||||
|
||||
Reference in New Issue
Block a user