Commit graph

2034 commits

Author SHA1 Message Date
Josh Doe
6e43f75df3 opencv: fix caps issues and extend supported caps for some elements
Some elements had vague caps, such as "video/x-raw-rgb", which caused problems
at least with textwrite. For other elements, the underlying OpenCV functions
support more than just one image type, so I increased the number of supported
caps.

I created a utility function "gst_opencv_caps_from_cv_image_type", so each
element creates caps directly from OpenCV image types, such as CV_8UC1 for
8-bit grayscale. This function uses gstvideo to create uniform caps.

https://bugzilla.gnome.org/show_bug.cgi?id=635304
2010-11-22 22:25:18 -03:00
Olivier Aubert
c86b12ac95 rsvgoverlay: scalable and relative svg overlay with cairo
Add a cairo+librsvg based overlay element to the rsvg plugin.
2010-11-22 17:08:06 +02:00
Mart Raudsepp
c364f2b46b assrender: Remove unused src_stride variable from blit functions 2010-11-09 23:36:59 +00:00
Stefan Kost
fedcff79d7 rsvgdec: avoid reffing the element in chain 2010-11-08 16:02:07 +02:00
Stefan Kost
9ddeba2407 rsvgdec: add some minimal logging to track what it is doing 2010-11-08 16:02:07 +02:00
Tim-Philipp Müller
2363d97da1 zbar: handle more formats that start with an 8-bit Y plane
We can handle most planar YUV layouts too, as long as we don't
tell zbar about the chroma planes.
2010-11-02 17:46:11 +00:00
Tim-Philipp Müller
7ddd7f7809 zbar: use correct stride
Fixes detection for images with a width that's not a multiple of four.

Based on patch by: Kaj-Michael Lang <milang@tal.org>
Based on patch by: Stefan Kost <ensonic@users.sf.net>

https://bugzilla.gnome.org/show_bug.cgi?id=630830
2010-11-02 17:23:12 +00:00
Tim-Philipp Müller
a97ece29cc zbar: minor clean-up
Fix typo and use DEFAULT_FOO define for property default.
2010-11-02 16:36:05 +00:00
Tim-Philipp Müller
2122c1eb9a zbar: disable cache by default
Since it breaks still image bar code detection.
2010-11-02 16:32:55 +00:00
Tim-Philipp Müller
c627604ea9 cog, colorspace: update orc backup functions for latest changes
Should fix build on systems without the latest orc.
2010-11-01 15:54:18 +00:00
Stefan Kost
0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Stefan Kost
92634ff92a various: wrap property registration and add a single fixme for long desc. 2010-10-19 15:36:18 +03:00
David Schleef
fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
Kaj-Michael Lang
18c3302608 zbar: Make scanner cache optional 2010-10-14 23:51:01 +03:00
Mark Nauwelaerts
8a6c490962 faad: reflow opening and closing decoder
In particular, this reconfigures quite forcefully when renegotiation is needed.

Fixes #631501.
2010-10-14 11:27:17 +02:00
Mark Nauwelaerts
7499f2b09b faad: cater for renegotiation
At least, whenever either stream (e.g. ADTS) or upstream provides necessary
info for doing so.

Fixes #631501.
2010-10-12 18:19:54 +02:00
Mark Nauwelaerts
bc6549a108 faac: handle trailing encoder output 2010-10-11 17:13:10 +02:00
Sebastian Dröge
d7d28ea4db switchsrc: Set the GST_ELEMENT_IS_SOURCE flag 2010-10-11 14:26:59 +02:00
Tim-Philipp Müller
a3f9fab72f alsaspdif: remove alsaspdifsink element
Remove alsaspdifsink, it's not needed any longer. alsasink in -base
has been able to handle SPDIF for a while now.
2010-10-05 11:42:42 +01:00
Mark Nauwelaerts
de97a994ba faad: reverse playback; cater for decoder delay
... thereby actually using the gather and decode queues.
2010-09-29 11:30:06 +02:00
Mark Nauwelaerts
636d1caf0d faad: tweak output buffer timestamping
In particular, avoid packetised input leading to initial to non-0 output ts.
2010-09-29 11:30:00 +02:00
Tim-Philipp Müller
887fc8e6e7 resindvdsrc: improve error messages on read erros
Provide i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.

https://bugzilla.gnome.org/show_bug.cgi?id=613633
2010-09-26 20:43:43 +01:00
Sebastian Dröge
1d189c9e75 ofa: Call g_object_notify() after the fingerprint was created 2010-09-25 12:33:58 +02:00
David Schleef
09ed8e87e7 schrodec: Fix class definition
Class structures should include parent class, not the parent
instance structure.
2010-09-22 11:58:55 -07:00
Edward Hervey
9db0d94364 sdlvideosink: Fix function prototype for touchy compilers 2010-09-21 18:45:03 +02:00
Edward Hervey
a96c0ab9fe sdl: Port to new XOverlay API
Fixes #630253
2010-09-21 16:31:57 +02:00
Sebastian Dröge
4376506183 spc: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:27:56 +02:00
Sebastian Dröge
160b5ee560 mplex: Don't use GST_FLOW_IS_SUCCESS() 2010-09-21 12:27:20 +02:00
Sebastian Dröge
2aea590153 timidity: Don't post an error message on the bus for UNEXPECTED
Also don't use GST_FLOW_IS_FATAL()
2010-09-21 12:26:36 +02:00
Sebastian Dröge
e0694abd0a wildmidi: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
Sebastian Dröge
e618365a19 gme: Post an error message on the bus for fatal errors
Also don't use GST_FLOW_IS_FATAL().
2010-09-21 12:26:36 +02:00
Sebastian Dröge
2137ae524d sfsink: Don't use GST_FLOW_IS_FATAL() 2010-09-21 12:26:36 +02:00
David Schleef
62a9383527 basevideodecoder: add capture pattern handling
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Sebastian Dröge
c28c480eb9 cog: Allow compilation without orc
Also don't ignore --disable-orc. Fixes bug #629897.
2010-09-17 08:43:48 +02:00
Stefan Kost
bc1c9ac18e metadata: remove metadata plugin
This plugins functionality is replaced by utility libraries in base for exif
and xmp. Jpeg images can use this via jpegformat plugin.
Fixes #486659
2010-09-15 18:22:51 +03:00
Tristan Matthews
0f9a31880a jack: added translatable text for server not found error 2010-09-14 17:40:27 +03:00
Olivier Crête
3cb4a7aefd celtenc: Change bitrate to bits/sec 2010-09-13 17:22:40 -04:00
Tim-Philipp Müller
960ccc118f opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
41b9b76fa5 opencv: avoid 'unused' compiler warnings with inline functions in opencv headers
Override CV_INLINE to avoid 'unused' gcc warnings. GLib will take care of defining
'inline' sufficiently and OpenCV's define isn't good enough to avoid 'unused'
compiler warnings (at least in version 2.1.0).
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
e2b45f5155 opencv: update plugin source package name and origin 2010-09-09 15:29:31 +01:00
Thiago Santos
19ba4c8d19 facedetect: Add more parameters
Expose the parameters of cvHaarDetectObjects in facedetect
element.
2010-09-08 23:59:38 -03:00
Thiago Santos
27fedbb352 opencv: Refactor files structure
Remove internal folders and put all code inside the main plugin
folder. Also fixes some building warnings.
2010-09-08 17:15:51 -03:00
Thiago Santos
cf86df2d00 opencv: Adds new plugin opencv
Moves opencv plugin from http://github.com/Elleo/gst-opencv
into -bad module.
2010-09-08 17:15:51 -03:00
Thiago Santos
0c61434945 facedetect: Post an useful message
Add a message to be post when faces are found on a frame that
contains all faces on a single message and also has
timestamp/running/segment times for that buffer so it
can be identified.

This message is called 'facedetect' and has a 'faces' list
of structures with all faces.

The old 'face' message is still posted for each face found, but
it is not really useful as it doesn't have any reference to the
buffer that generated it.
2010-09-08 17:15:51 -03:00
Thiago Santos
77fe3e6a07 facedetect: Use GstOpencvVideoFilter as the base class
Port facedetect to use GstOpencvVideoFilter as the base class
to inherit all the goodness that GstBaseTransform/GstVideoFilter
already handles.
2010-09-08 17:15:51 -03:00
Thiago Santos
dcb97354bf opencvbasetrans: Use GstVideoFilter as the base class
Port from GstBaseTransform to GstVideoFilter as the base class.
2010-09-08 17:15:50 -03:00
Thiago Santos
4c03c980ce cvlaplace: adds new cvlaplace element
Adds new cvlaplace element.

Also adds a new opencvbasetransform function to be overriden
by children classes: the cv_set_caps, it allows children classes
to know what are they going to handle and prepare properly.
2010-09-08 17:15:50 -03:00
Thiago Santos
e17b555efd Adds new element cvsobel 2010-09-08 17:15:50 -03:00
Thiago Santos
8f5b32f764 Adds new element cvequalizehist 2010-09-08 17:15:50 -03:00