Skip to content

Commit d87d7a1

Browse files
author
Peter Bee
committed
sim: support camera framework multi-instance and dynamic mounting
Allow the SIM camera/V4L2 capture framework to manage multiple imgdata instances with dynamic mounting. This avoids cross-talk between camera streams when multiple devices are used. Signed-off-by: Peter Bee <bijunda@bytedance.com>
1 parent 3f16c4a commit d87d7a1

8 files changed

Lines changed: 601 additions & 85 deletions

File tree

arch/sim/Kconfig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,8 @@ config SIM_CAMERA_V4L2
414414

415415
endchoice
416416

417-
config HOST_CAMERA_DEV_PATH
418-
string "Host camera device path"
419-
default "/dev/video0"
420-
421417
config SIM_CAMERA_DEV_PATH
422-
string "NuttX video device path"
418+
string "NuttX video device path prefix"
423419
default "/dev/video"
424420

425421
endif

0 commit comments

Comments
 (0)