Commit Graph

24 Commits

Author SHA1 Message Date
Joshua M. Doe
e4a308a545 fix caps to avoid videoconvert bug in 1.8 which corrupts data
Previous way of creating caps left invalid colorimetry field 0:0:0:0,
which combined with a bug present in GStreamer 1.8 led to GRAY16_LE data
being corrupted when converted to GRAY16_BE (or vice versa). Current
method will properly initialize colorimetry field, avoiding this problem
in 1.8.
2017-11-16 08:31:43 -05: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
e21a40fd4a imperxflexsrc: change assert to be compatible with GLib 2.36 2017-09-26 09:26:07 -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
425994d8fb imperxflexsrc: recover from disrupted signals and better accounting of dropped frames 2016-07-08 11:52:49 -04:00
Joshua M. Doe
e876660438 imperxflexsrc: add timeout property, unlock and unlock_stop methods for better fault handling 2016-07-06 14:36:59 -04:00
Joshua M. Doe
3ca702aaa9 imperxflexsrc: fix support for RGBA (actually BGRA), and Bayer 8, add Bayer10+ later 2015-10-21 11:43:31 -04:00
Joshua M. Doe
2b9ab7f569 imperxflexsrc: rename format-file to config-file for uniformity with other elements 2015-10-21 08:53:04 -04:00
Joshua M. Doe
8d426a1afc imperxflexsrc: add untested support for RGB 2015-10-21 08:52:42 -04:00
Joshua M. Doe
d585319cef imperxflexsrc: fix build and rename framelinksrc to imperxflexsrc 2015-08-03 15:27:32 -04:00
Joshua M. Doe
a3f9a8a843 framelinksrc: add rough timestamp, correct buffer offset 2014-01-24 10:03:19 -05:00
Joshua M. Doe
181607d15c framelinksrc: add (untested) support for multiple boards 2014-01-24 10:03:19 -05:00
Joshua M. Doe
17a360b8d2 framelinksrc: callback used now and use unpack function
Making the callback __stdcall fixed the problem. No clear way how to do a
grab without using a callback, so remove that code. Also use unpack
function provided by the library rather than rolling our own.
2014-01-24 10:03:18 -05:00
Joshua M. Doe
9e585ffd46 framelinksrc: don't push out an old buffer and report dropped frames 2014-01-24 10:03:18 -05:00
Joshua M. Doe
61b7040c2d framelinksrc: properly copy buffer if there is pre- or post-valid data 2014-01-24 10:03:18 -05:00
Joshua M. Doe
aa46f16701 framelinksrc: add _reset function 2014-01-24 10:03:17 -05:00
Joshua M. Doe
588b844357 framelinksrc: add non-callback method of getting buffers 2014-01-24 10:03:17 -05:00
Joshua M. Doe
8a814b1006 framelinksrc: actually use callback when starting grab 2014-01-24 10:03:17 -05:00
Joshua M. Doe
f2aa59e1b1 framelinksrc: put g_cond_wait in loop per GLib docs 2014-01-24 10:03:17 -05:00
Joshua M. Doe
87b92a8f79 framelinksrc: show error code on failure and fix some formatting 2014-01-24 10:03:16 -05:00
Joshua M. Doe
60af9bc88f framelinksrc: allocate memory for strings in camConfig struct to avoid exception 2014-01-24 10:03:16 -05:00
Joshua M. Doe
221bba5901 framelinksrc: remove unused code 2014-01-24 10:03:16 -05:00
Joshua M. Doe
32e6e16d7e framelinksrc: stop grab and close device only if needed 2014-01-24 10:03:16 -05:00
Joshua M. Doe
adb73c4d21 imperx: add untested framelinksrc element 2014-01-24 10:03:15 -05:00