24 Commits

Author SHA1 Message Date
Joshua M. Doe
ac4a7b29e3 gentlsrc: add device-user-id property
This will search across all interfaces.
2022-02-25 10:55:00 -05:00
Joshua M. Doe
1bab9b907b gentlsrc: fix bug where two devices wouldn't be found on the same interface 2022-02-25 10:55:00 -05:00
Joshua M. Doe
260c09b1be gentlsrc: only send valid image data in case payload size has padding 2022-02-25 10:55:00 -05:00
Joshua M. Doe
ddae5b5105 gentlsrc: add Mono16, BayerGR16, BayerRG16 2022-02-25 10:55:00 -05:00
Joshua M. Doe
6c5cbad0ad gentlsrc: add support for FLIR Spinnaker cameras
This also required changing how we read values, as FLIR uses little
endian. Timestamps are handled differently as well.

We're even more overdue for moving to properly parse the XML, just a
matter of if we'll use the GenApi reference implementation or something
else like Aravis.
2022-02-25 10:55:00 -05:00
Joshua M. Doe
ddf2f6857e gentlsrc: check first for timestamp in nanoseconds
Then fallback to timestamp in ticks if needed.
2022-02-25 10:54:59 -05:00
Joshua M. Doe
9e91e8afc9 gentlsrc: fix compiling on Linux
This plugin still needs a major refactor, and currently requires
modifications to support any Linux GenTL producers, at least the CTI
path.
2021-11-19 13:11:55 -05:00
Joshua M. Doe
b705e93cb3 gentlsrc: don't throw error if we can't latch timestamp 2021-11-19 13:11:54 -05:00
Joshua M. Doe
de15005b2d gentlsrc: set attributes on every create function if the property was modified 2021-11-19 13:11:54 -05:00
Joshua M. Doe
32661673ab gentlsrc: set buffer offset from frame ID 2021-11-19 13:11:54 -05:00
Joshua M. Doe
8520bf83c9 gentlsrc: allow interface to be reopened in same process 2021-11-19 13:11:49 -05:00
Joshua M. Doe
872988255e gentlsrc: allow local or Local url, and show ZIP/XML file location in debug output 2021-09-21 15:55:14 -04:00
Joshua M. Doe
63731a3b6f gentlsrc: allow two interfaces of the same producer to be opened in one process
Need to make it producer specific, and allow for multiple devices on the same interface
2021-09-21 15:55:13 -04:00
Joshua M. Doe
766d2de7e5 gentlsrc: add attributes property for setting camera parameters
Right now it only works on register addresses and integer values
2021-09-21 15:55:13 -04:00
Joshua M. Doe
0068a0f4b0 gentlsrc: try again if we get a non-image payload type 2021-09-21 15:55:13 -04:00
Joshua M. Doe
92b43c3e0a gentlsrc: if GEV timestamp latch fails use previous value
This has been encountered with multiple instances using the same producer
2021-09-21 15:55:13 -04:00
Joshua M. Doe
dac5fe9232 gentlsrc: add several Basler-specific pixel formats 2021-09-21 15:55:13 -04:00
Joshua M. Doe
8e34238034 gentlsrc: add producer property to select between EVT and Basler
This is still a bandaid fix until we properly parse the XML files
2021-09-21 15:55:13 -04:00
Joshua M. Doe
765662aa82 gentlsrc: use GEV buffer timestamps if available for unix reference time 2021-09-21 15:55:13 -04:00
Joshua M. Doe
6c4eedde70 gentlsrc: show warning if buffer is incomplete
Should this be an ELEMENT_WARNING?
2021-09-21 15:55:13 -04:00
Joshua M. Doe
f38c3a4d1f gentlsrc: check for valid payload type earlier 2021-09-21 15:55:13 -04:00
Joshua M. Doe
bba2fecd56 gentlsrc: run gst-indent 2021-05-03 13:38:43 -04:00
Joshua M. Doe
71631261be gentlsrc: add additional pixel formats 2021-03-23 15:44:07 -04:00
Joshua M. Doe
5925f643b1 gentlsrc: rename genicamsrc to gentlsrc and fix build 2021-03-23 14:31:07 -04:00