92 Commits

Author SHA1 Message Date
Joshua M. Doe
ad240b0ae3 niimaq: try to improve accuracy of timestamping
By reducing instructions in callback, and adjusting for base time. This last
part needs testing however.
2014-01-24 10:02:58 -05:00
Joshua M. Doe
4fa97a4290 niimaq: cleanup, remove unused property, organize code 2014-01-24 10:02:58 -05:00
Joshua M. Doe
1b6b14d225 niimaq: organize and cleanup 2014-01-24 10:02:58 -05:00
Joshua M. Doe
07fe523680 niimaq: slightly better debug message for depth/bpp 2014-01-24 10:02:57 -05:00
Joshua M. Doe
9002eb1f70 niimaq: handle byte alignment during copying
Previously if the row stride wasn't a multiple of 4, display would not work
correctly. Rely on NI-IMAQ to fix the byte alignment for us. This hasn't
been thoroughly tested yet however.
2014-01-24 10:02:57 -05:00
Joshua M. Doe
865b416cd0 niimaq: fix buffer offset end 2014-01-24 10:02:57 -05:00
Joshua M. Doe
05cd4f3438 niimaq: use pad_alloc_buffer instead of g_malloc 2014-01-24 10:02:57 -05:00
Joshua M. Doe
48ea4b565d niimaq: more cleanup, rely more on base and video libraries 2014-01-24 10:02:57 -05:00
Joshua M. Doe
7c251fa83a niimaq: use standard video caps
Even though NI-IMAQ can specify 10-, 12-, or 14-bit images, no other standard
element supports it, and in 0.11/1.0 caps are simplified to be gray8/gray16.
We can always add back custom caps if there is a real need for it.
2014-01-24 10:02:56 -05:00
Joshua M. Doe
fa883c1ca1 niimaq: make sure timelist exists before modifying it
Caused seg fault unless delay was introduced (e.g. with debugging messages
on). Still need to investigate why we don't get a timestamp before the
first frame.
2014-01-24 10:02:56 -05:00
Joshua M. Doe
248db4f3f7 ignore more VS2010 build files in .gitignore 2014-01-24 10:02:56 -05:00
Joshua M. Doe
0a54477f2d videolevels: add prepare_output_buffer
To try and fix problem with camerabin2, and remove mistakenly added file.
2014-01-24 10:02:56 -05:00
Joshua M. Doe
802b6c5fa8 freeimage: better debugging and some cleanup 2014-01-24 10:02:55 -05:00
Joshua M. Doe
28b9a382a6 build: add vs2010 build files for phoenix 2014-01-24 10:02:55 -05:00
Joshua M. Doe
b64d8a18a5 phoenix: remove unused i18n localization functions 2014-01-24 10:02:55 -05:00
Joshua M. Doe
7a904c8f5d niimaq: use video lib caps 2014-01-24 10:02:55 -05:00
Joshua M. Doe
af6cdbd8f1 videolevels: use more of the video library
But gst_video_format_get_component_depth is broken in 0.10.36, so manually
get bpp for now.
2014-01-24 10:02:54 -05:00
Joshua M. Doe
a8a1f57fe3 videolevels: Remove dead code 2014-01-24 10:02:54 -05:00
Joshua M. Doe
bd993e5e06 videolevels: Don't lock base transform to avoid lockup
Maybe lock is already established in BaseTransform now?
2014-01-24 10:02:54 -05:00
Joshua M. Doe
c705237e2e niimaq: add some debug statements and FIXME 2014-01-24 10:02:54 -05:00
Joshua M. Doe
d5409fca8a niimaq: send DateTime tag event 2014-01-24 10:02:53 -05:00
Joshua M. Doe
18f3e03c7e niimaq: fix some bugs regarding valid clocks, etc. 2014-01-24 10:02:53 -05:00
Joshua M. Doe
e5a4257891 niimaq: simplify caps format handling 2014-01-24 10:02:53 -05:00
Joshua M. Doe
2296c487ae style: run gst-indent 2014-01-24 10:02:53 -05:00
Joshua M. Doe
0c4ab07572 build: add VS2010 build files to use GStreamer SDK 2014-01-24 10:02:52 -05:00
Joshua M. Doe
50e316fa3a videolevels: add some debug statements and comments 2014-01-24 10:02:52 -05:00
Joshua M. Doe
07975dbe56 videolevels: Remove signed support
Ahead of its time, no other element supports signed, so causes more trouble than it's worth.
2014-01-24 10:02:52 -05:00
Joshua M. Doe
6efc1eb913 Avoid critical error unreffing structure 2014-01-24 10:02:52 -05:00
Joshua M. Doe
13dbcbb0e2 Fix memory leaks 2014-01-24 10:02:52 -05:00
Joshua M. Doe
db54d20753 Add more debugging statements 2014-01-24 10:02:51 -05:00
Joshua M. Doe
6883b2083d build: fix cmake warning about multiple specifiers 2014-01-24 10:02:51 -05:00
Joshua M. Doe
7b8742afd8 build: borrow CMake modules from qt-gstreamer for Linux compatibility
Almost certainly breaks Windows compat, but will need to update it anyways to work with the newer GStreamer SDK.
2014-01-24 10:02:47 -05:00
Joshua M. Doe
cca79973df phoenix: more accurate timestamps, duration and dropped frame count
Timestamp and duration now set using Phoenix timer, recorded at frame start and end (FVAL high then low).

Only more than one dropped frame can be reliably detected.
2014-01-24 10:00:29 -05:00
Joshua M. Doe
9ebfbe4c7d phoenix: add property for number of capture buffers 2014-01-24 10:00:29 -05:00
Joshua M. Doe
c3f3f9897d phoenix: count dropped frames, optimize copying
Dropped frame indicator isn't very accurate, maybe take max of frame_start and frame_end?
2014-01-24 10:00:29 -05:00
Joshua M. Doe
5aece979c5 phoenix: use callbacks to count buffers and detect errors
This way we can detect dropped frames
2014-01-24 10:00:28 -05:00
Joshua M. Doe
6ae2b319c8 phoenix: Initial commit of Active Silicon Phoenix source
Just barely works, no checking for lost/dropped frames, no accurate timestamping, etc.
2014-01-24 10:00:28 -05:00
Joshua M. Doe
35b06f1217 build: only build plugins if dependencies are available 2014-01-24 10:00:28 -05:00
Joshua M. Doe
f3084e002e iotechdaqx: Initial commit
Element works, but not configurable or thoroughly tested.
2014-01-24 10:00:28 -05:00
Joshua M. Doe
390ad794e0 euresys: Show warning if frames have been dropped 2014-01-24 10:00:27 -05:00
Joshua M. Doe
4645490fa1 euresys: Remove unused GstBaseSrc methods, fixing caps negotiation in the process
Removing negotiate() fixed caps handling so we can now display live video.
2014-01-24 10:00:27 -05:00
Joshua M. Doe
d788b025f9 euresys: Fixes to get element working with filesink
Caps aren't correct, but I can correctly save camera output to file.

Many printfs are sprinkled about as I'm having trouble with gst-debug, will remove later.
2014-01-24 10:00:27 -05:00
Joshua M. Doe
e2d2fea82c sensorfx: Add blur element 2014-01-24 10:00:27 -05:00
Joshua M. Doe
fbe6b50379 freeimage: Add more buffer metadata 2014-01-24 10:00:27 -05:00
Joshua M. Doe
8549479892 euresys: Add new plugin for Euresys MultiCam driver (broken)
Untested, but compiles without error.
2014-01-24 10:00:26 -05:00
Joshua M. Doe
b01ef05c41 Rename GST_PACKAGE_NAME define to PACKAGE_NAME 2014-01-24 10:00:26 -05:00
Joshua M. Doe
8dcb52b48d niimaqsrc: Move into subfolder of sys 2014-01-24 10:00:26 -05:00
Joshua M. Doe
eccdfc2703 niimaqsrc: Move into subfolder of sys 2014-01-24 10:00:26 -05:00
Joshua M. Doe
44b78f5175 sensorfx: Add element sfx3dnoise which adds 3D gaussian noise to video 2014-01-24 10:00:25 -05:00
Joshua M. Doe
4933f07ad5 freeimage: Add new elements encoder elements fienc_* 2014-01-24 10:00:25 -05:00