drivers/video: video ioctrl api support multi instance

Signed-off-by: yuexinyi <yuexinyi@xiaomi.com>
This commit is contained in:
yuexinyi 2023-07-28 11:44:24 +08:00 committed by Xiang Xiao
parent 5d09b4cbd0
commit 96ea877490
2 changed files with 330 additions and 294 deletions

File diff suppressed because it is too large Load Diff

View File

@ -181,7 +181,8 @@ enum v4l2_scene_mode
V4L2_SCENE_MODE_PORTRAIT = 10, /* Portrait */ V4L2_SCENE_MODE_PORTRAIT = 10, /* Portrait */
V4L2_SCENE_MODE_SPORTS = 11, /* Sports */ V4L2_SCENE_MODE_SPORTS = 11, /* Sports */
V4L2_SCENE_MODE_SUNSET = 12, /* Sunset */ V4L2_SCENE_MODE_SUNSET = 12, /* Sunset */
V4L2_SCENE_MODE_TEXT = 13 /* Text */ V4L2_SCENE_MODE_TEXT = 13, /* Text */
V4L2_SCENE_MODE_MAX = 14 /**< Max number */
}; };
#define V4L2_CID_3A_LOCK (17) /* Lock 3A */ #define V4L2_CID_3A_LOCK (17) /* Lock 3A */