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
Joshua M. Doe
992d159add
freeimagedec: Move utility functions to gstfreeimageutils.c/.h and other minor cleanup
...
Also removed static pad templates, changed elements to have underscore rather than hyphen in their name, and fix caps handling (BGR/RGB)
2014-01-24 10:00:25 -05:00
Joshua M. Doe
4fc7cd5ec8
freeimagedec: Create caps from FreeImage plugin queries rather than static list
2014-01-24 10:00:25 -05:00
Joshua M. Doe
be67dea4cb
freeimage: Register each decoder as a separate element
2014-01-24 10:00:24 -05:00
Joshua M. Doe
baa16f775f
freeimage: Create freeimage plugin and freeimagedec decoder
2014-01-24 10:00:24 -05:00
Joshua M. Doe
ddd0c4cf67
build: Add finding gstcontroller to FindGstreamer.cmake
2014-01-24 10:00:24 -05:00
Joshua M. Doe
8a2badb718
Reorganized videolevels into separate plugin
2014-01-24 09:58:49 -05:00
Joshua M. Doe
9f2559c49a
videolevels: Change levels ranges to always be (0.0, 1.0)
...
Now input and output levels always range from 0 to 1, regardless of what the input or output bit-depths are. This simplifies setting and getting these properties.
2014-01-24 09:23:40 -05:00
Joshua M. Doe
90f417f099
videolevels: Use proper enum for auto property instead of integer
2014-01-24 09:23:39 -05:00
Joshua M. Doe
68cf6e0c92
videolevels: Rename levels properties and notify when they are changed
2014-01-24 09:22:56 -05:00
Joshua M. Doe
0b181e7417
videolevels: Fix handling of interval for deciding when to auto adjust
2014-01-24 09:22:56 -05:00
Joshua M. Doe
97b2e8be4c
niimaqsrc: Timestamp buffers based on time from callback on FRAME_START line
...
This timestamp should be much more accurate than the time retrieved in GstPushSrc.create, as there should be no latency (or very little).
2014-01-24 09:22:56 -05:00
Joshua M. Doe
4c7e2e9165
niimaqsrc: Timestamp buffers based on time from callback on FRAME_START line
...
This timestamp should be much more accurate than the time retrieved in GstPushSrc.create, as there should be no latency (or very little).
2014-01-24 09:22:55 -05:00
Joshua M. Doe
1935a8b86e
niimaqsrc: Add additional metadata to buffers (offset, duration, timestamp)
2014-01-24 09:22:55 -05:00
Joshua M. Doe
763b869063
niimaqsrc: Refactor pointer to GstNiImaqSrc to niimaqsrc
2014-01-24 09:22:55 -05:00
Joshua M. Doe
666edbe598
niimaqsrc: always return valid caps in get_caps
...
Return template caps if actual camera caps aren't known yet. Previously resulted in an assertion.
2014-01-24 09:22:55 -05:00
Joshua M. Doe
9b78e8c0f9
niimaqsrc: Report on IMAQ error strings
...
This should probably be done as a #DEFINE GST_IMAQ_DEBUG or something instead of as a function.
2014-01-24 09:22:54 -05:00
Joshua M. Doe
bfdbf89aa8
niimaqsrc: Output caps supports both actual bpp and bpp=16
...
The src caps now have two structures, the first contains the actual bpp of the camera, (10, 12, or 14), and the second has the standard bpp=16. This enables the element to be used both with ffmpegcolorspace (and other elements which only accept bpp=16) but also with our elements like videolevels.
2014-01-24 09:22:54 -05:00
Joshua M. Doe
54ee4258a0
videolevels: Accept bpp=[1,16] when depth=16
...
Accept any number of bits per pixel when the depth is 16 bits. This improves the behavior of the auto option and more accurately reflects the dynamic range of the source.
2014-01-24 09:22:54 -05:00
Joshua M. Doe
9566ebc6e8
niimaqsrc: Refactor class and function names from niimaq to niimaqsrc
2014-01-24 09:22:54 -05:00
Joshua M. Doe
2fd940a13e
niimaqsrc: Move start of acquisition to GstBaseSrc.create from GstBaseSrc.start
...
This ensures that we can immediately push out buffers.
2014-01-24 09:22:53 -05:00
Joshua M. Doe
1a8eaf552c
niimaqsrc: Use IMAQ copyBufferByNumber instead of examineBuffer, memcpy and releaseBuffer
...
Reduces code and possibly faster.
2014-01-24 09:22:53 -05:00