52 Commits

Author SHA1 Message Date
Joshua M. Doe
1611f54672 niimaqdxsrc: don't over-report dropped frames 2019-10-02 09:32:43 -04:00
Joshua M. Doe
8fd7c91da6 niimaqdxsrc: add UNIX epoch reference timestamp for absolute timestamping
Requires GStreamer 1.14 and a downstream element that can use it.
2019-10-02 09:31:02 -04:00
Joshua M. Doe
904546b7e2 niimaqdxsrc: fix endianness for Mono14 big endian 2019-04-15 10:43:39 -04:00
Joshua M. Doe
68e7fb1c00 niimaqdxsrc: ignore spaces in format names
Some devices add spaces to format names, such as 'Mono 16'.
Ignore these spaces.
2019-03-25 14:42:07 -04:00
Joshua M. Doe
de488ab3a8 niimaqdxsrc: on timeout return GST_FLOW_ERROR 2018-05-31 11:13:05 -04:00
Joshua M. Doe
2703a95b23 niimaqdxsrc: declare callback to have correct calling convention 2017-09-26 13:23:22 -04:00
Joshua M. Doe
bbba3dae51 build: use CMakeLists.txt instead of config.h to define plugin macros 2017-09-26 12:46:55 -04:00
Joshua M. Doe
ff999402bd niimaqdxsrc: add non-standard 'BayerRG 16' format 2017-08-10 10:22:29 -04:00
Joshua M. Doe
0e138cc0f3 niimaqdxsrc: avoid error if no attributes exist 2017-08-10 10:21:40 -04:00
Joshua M. Doe
a1a051bdeb niimaqdxsrc: post dropped-frame-info message 2017-08-10 10:21:05 -04:00
Joshua M. Doe
ff8376b9d2 build: use git version info in plugins and build ZIP package 2017-08-03 10:18:51 -04:00
Joshua M. Doe
62d1b1f6fd niimaqdxsrc: handle USB3 Vision as little-endian 2017-05-04 10:11:10 -04:00
Joshua M. Doe
ebe9271d5c niimaqdxsrc: use pixel-aspect-ratio for caps not par 2017-05-03 12:51:07 -04:00
Joshua M. Doe
a4af051165 niimaqdxsrc: add support for JPEG PixelFormat 2017-05-03 11:59:04 -04:00
Joshua M. Doe
4a18d3e118 niimaqdxsrc: add is-controller property to open as controller or listener 2017-04-25 10:18:50 -04:00
Joshua M. Doe
8a75099778 niimaqdxsrc: try and reset camera if open fails 2016-11-02 08:16:55 -04:00
Joshua M. Doe
0b3cd2af14 niimaqdxsrc: add more Bayer formats 2016-11-02 08:15:53 -04:00
Joshua M. Doe
e1ee20c4ad niimaqdxsrc: fix crash with non-4-byte aligned strides, by allocating enough memory 2016-08-17 13:36:15 -04:00
Joshua M. Doe
f96c1087e4 niimaqdxsrc: fix timestamping, using frame done callback 2016-07-13 11:01:38 -04:00
Joshua M. Doe
e9df2bd790 niimaqdxsrc: rename self pointer from niimaqdxsrc to just src 2016-07-13 08:21:36 -04:00
Joshua M. Doe
7667e3cc38 niimaqdxsrc: don't assert on malformed attribute string, just issue warning 2016-07-12 13:41:26 -04:00
Joshua M. Doe
a0302d6faa niimaqdxsrc: allow attributes to be set at any time, not just startup 2016-07-11 11:28:49 -04:00
Joshua M. Doe
59a583d8c7 build: clean up CMakeLists.txt and install pdb files alongside dlls 2016-06-28 13:53:48 -04:00
Joshua M. Doe
6076fedfa9 niimaqdxsrc: run gst-indent 2015-09-15 15:33:25 -04:00
Joshua M. Doe
4ea4487d2f niimaqdxsrc: send error msg on unsupported pixel formats, not assert 2015-09-15 15:33:09 -04:00
Joshua M. Doe
7b8a6f2453 niimaqdxsrc: simplify template caps, mostly for better looking gst-inspect output 2015-09-15 15:31:31 -04:00
Joshua M. Doe
13450b3304 niimaqdxsrc: add GenICam-style pixel format names for Mono* 2015-09-15 15:30:39 -04:00
Joshua M. Doe
e0b97d0a34 niimaqdxsrc: add "Bayer GR 8" and "Bayer GR 12" formats 2015-06-24 07:05:32 -04:00
Joshua M. Doe
833accf1b6 niimaqdxsrc: add 64-bit import library as NI doesn't provide one 2015-06-24 07:05:00 -04:00
Joshua M. Doe
1cec085eca niimaqdx: cleanup cmakelists 2014-12-11 10:57:56 -05:00
Joshua M. Doe
fd8c0d9225 niimaqdxsrc: add more mono formats 2014-09-30 16:23:24 -04:00
Joshua M. Doe
ccacc9bdb8 niimaqdxsrc: add bayer-as-gray property to use GRAY caps instead of BAYER 2014-09-30 16:23:23 -04:00
Joshua M. Doe
59bce030b0 build: get CMake build working again to build in VS2012 2014-09-30 16:23:23 -04:00
Joshua M. Doe
87490ce952 niimaqdxsrc: use depth instead of bpp to correctly calculate stride 2014-06-10 15:17:00 -04:00
Joshua M. Doe
acbe262ed6 niimaqdxsrc: avoid potential crashes when pixel format is unsupported 2014-04-24 15:06:12 -04:00
Joshua M. Doe
06fda33eaf niimaqdxsrc: add support for "BGRA 8 Packed"
Motivated by PixeLINK FireWire camera.
2014-04-24 15:04:25 -04:00
Joshua M. Doe
9e5e5196dc niimaqdxsrc: add Mono14 2014-01-24 10:03:15 -05:00
Joshua M. Doe
034e1edcbc niimaqdx: set blocksize explicitly in set_caps 2014-01-24 10:03:10 -05:00
Joshua M. Doe
48000caaec niimaqdx: add TODO about problems cropping Firewire cameras 2014-01-24 10:03:09 -05:00
Joshua M. Doe
2e485ee44e niimaqdx: add back in set_caps/get_caps, and improve caps handling 2014-01-24 10:03:09 -05:00
Joshua M. Doe
c2949d882a niimaqdx: add some debugging statements 2014-01-24 10:03:08 -05:00
Joshua M. Doe
2388d2ccd6 niimaqdxsrc: port to 1.0 2014-01-24 10:03:07 -05:00
Joshua M. Doe
5970685580 niimaqdx: show attributes via DEBUG instead of printf 2014-01-24 10:03:06 -05:00
Joshua M. Doe
881a75b1f8 niimaqdx: allow Mono16 to be big or little endian depending on interface
It appears FireWire and GigE Vision use different endianness. So now we need
to keep track of two things, PixelFormat and endianness.
2014-01-24 10:03:06 -05:00
Joshua M. Doe
b7e1085885 niimaqdx: only query attributes that are actually readable 2014-01-24 10:03:05 -05:00
Joshua M. Doe
e9755b0b00 niimaqdx: show IMAQdx error code as well as string 2014-01-24 10:03:05 -05:00
Joshua M. Doe
918b48f530 niimaqdx: add property to set attributes at startup (e.g., gain) 2014-01-24 10:03:05 -05:00
Joshua M. Doe
6c23f87572 niimaqdx: add BayerBG8 support 2014-01-24 10:03:05 -05:00
Joshua M. Doe
a5171fe410 niimaqdx: add 'YUV 422 Packed' format and temporarily use ANY for static caps 2014-01-24 10:03:04 -05:00
Joshua M. Doe
757e7591d4 niimaqdx: don't rely on GstVideoFormat, and handle stride alignment 2014-01-24 10:03:04 -05:00