Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4l2 support #856

Merged
merged 14 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ xml2_dep = dependency ('libxml-2.0', required: true)
libz_dep = dependency ('zlib', required: true)
usb_dep = dependency ('libusb-1.0', required: get_option ('usb'))
gmodule_dep = dependency ('gmodule-2.0', required: true)
v4l2_dep = dependency('libv4l2', required: get_option('v4l2'))
gudev_dep = dependency('gudev-1.0', required: get_option('v4l2'))
gudev_dep = dependency ('gudev-1.0', required: get_option('v4l2'))

aravis_public_dependencies = [glib_dep, gobject_dep, gio_dep]
aravis_dependencies = [aravis_public_dependencies, xml2_dep, libz_dep, gmodule_dep]
Expand All @@ -77,8 +76,11 @@ if usb_dep.found()
aravis_dependencies += usb_dep
endif

if v4l2_dep.found()
aravis_dependencies += [v4l2_dep, gudev_dep]
if gudev_dep.found()
aravis_dependencies += gudev_dep
v4l2_enabled = true
else
v4l2_enabled = false
endif

if host_machine.system()=='windows'
Expand Down
9 changes: 9 additions & 0 deletions src/arv-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ Schema=Invalid
SensorSize=2048;2048
SoftwareTriggerSupport=true

[uvcvideo:Integrated_Webcam_HD: Integrate]

SensorSize=640;480
SoftwareTriggerSupport=false
ChunksSupport=false
UseSystemTimestamp=true
FrameRateA=16.0
FrameRateB=16.0

[Basler:acA1300-30gc]

ChunkList=Timestamp Framecounter
Expand Down
Loading
Loading