sim_camera: rename video to camera

Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
shizhenghui 2024-02-01 14:30:24 +08:00 committed by Xiang Xiao
parent 04dfae545c
commit 8d1f4e9697
2 changed files with 5 additions and 5 deletions

View File

@ -338,14 +338,14 @@ config SIM_OFFLOAD_BUFFER_NUMBYTES
value.
config SIM_CAMERA
bool "Simulated video support"
bool "Simulated camera support"
depends on VIDEO
default y
if SIM_CAMERA
choice
prompt "Simulated video device type"
prompt "Simulated camera device type"
default SIM_CAMERA_V4L2
config SIM_CAMERA_V4L2
@ -354,8 +354,8 @@ config SIM_CAMERA_V4L2
endchoice
config HOST_VIDEO_DEV_PATH
string "Host video device path"
config HOST_CAMERA_DEV_PATH
string "Host camera device path"
default "/dev/video0"
config SIM_CAMERA_DEV_PATH

View File

@ -233,7 +233,7 @@ static int sim_camera_data_init(struct imgdata_s *data)
{
sim_camera_priv_t *priv = (sim_camera_priv_t *)data;
priv->vdev = host_video_init(CONFIG_HOST_VIDEO_DEV_PATH);
priv->vdev = host_video_init(CONFIG_HOST_CAMERA_DEV_PATH);
if (priv->vdev == NULL)
{
return -ENODEV;