summaryrefslogtreecommitdiffstats
path: root/gst/videomixer
Commit message (Collapse)AuthorAgeFilesLines
* videomixer: fix up Makefile some moreTim-Philipp Müller2009-09-221-1/+1
| | | | | Remove CFLAGS from LIBADD and make order of the various CFLAGS and LIBS at least consistent with each other.
* videomixer: Add $(GST_PLUGINS_BASE_LIBS) to LDFLAGS for linking libgstvideoBrian Cameron2009-09-221-1/+1
| | | | Fixes bug #595897.
* videomixer: Random cleanupSebastian Dröge2009-07-101-91/+46
|
* videomixer: Send queries to the master pad by default instead of all padsSebastian Dröge2009-07-101-2/+2
|
* videomixer: Add RGB, BGR, xRGB, RGBx, xBGR, BGRx supportSebastian Dröge2009-07-103-3/+238
|
* videomixer: Clean up debugging a bitSebastian Dröge2009-07-101-19/+20
|
* videomixer: Remove some redundant checks and error out immediately if not ↵Sebastian Dröge2009-07-101-26/+21
| | | | | | negotiated Also stop leaking the output buffer in some error cases.
* videomixer: Remove the calculate_frame_size() function and use libgstvideo ↵Sebastian Dröge2009-07-105-33/+9
| | | | instead
* videomixer: Remove unused link/unlink pad methodsEdward Hervey2009-07-101-15/+0
|
* videomixer: I420 mode: Add fast path for 0.0 and 1.0 alphaEdward Hervey2009-07-101-0/+18
| | | | | If the source alpha is 0.0, we take nothing. If the source alpha is 1.0, we overwrite everything.
* videomixer: I420 blending : Fix main algorithm.Edward Hervey2009-07-101-1/+1
| | | | | | | When blending a source layer with an alpha of 'a' on top of another destination layer we take the sum of: * 'a' percent of the source layer * (100 - 'a') percent of the destination layer (the remainder)
* videomixer: Make debugging category global to all the code.Edward Hervey2009-07-104-2/+7
|
* videomixer: improve readability of debugging statements.Edward Hervey2009-07-101-11/+11
|
* videomixer: Make checker pattern lookup table constantSebastian Dröge2009-07-082-2/+2
|
* videomixer: Add support for ARGBSebastian Dröge2009-07-083-143/+156
| | | | And clean up the caps parsing.
* docs: Quieten a couple more docs warningsJan Schmidt2009-06-111-1/+1
|
* videomixer: Don't use // commentsSebastian Dröge2009-05-283-6/+5
|
* videomixer: Fix background blitting when a color mode is selected with BGRASebastian Dröge2009-05-281-7/+8
|
* videomixer: Some cleanup and fix the calculation of the frame size in bytesSebastian Dröge2009-05-285-30/+44
|
* videomixer: Fix I420 blending to actually do somethingSebastian Dröge2009-05-281-10/+33
| | | | | | For this we a) implement the checkers filling and b) actually blend the src/dest by using the src alpha value from the pad.
* videomixer: Fix ARGB blending to actually workSebastian Dröge2009-05-281-1/+1
|
* videomixer: Blend BGRA ourselves instead of using CairoSebastian Dröge2009-05-282-28/+61
|
* videomixer: Add support for blending BGRA and AYUVAlex Ugarte2009-05-286-283/+878
| | | | Fixes bug #577017.
* Remove trivial unused variables detected by CLang static analyzer.Edward Hervey2009-04-181-6/+1
|
* videomixer: some more indent fixesWim Taymans2009-03-261-3/+0
|
* videomixer: fix gst-indent screwupWim Taymans2009-03-261-50/+0
|
* Update and add documentation for plugins with no deps (gst).Stefan Kost2009-01-281-12/+5
| | | | Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
* Don't install static libs for plugins. Fixes #550851 for -good.Stefan Kost2008-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/Makefile.am: * ext/annodex/Makefile.am: * ext/cairo/Makefile.am: * ext/dv/Makefile.am: * ext/esd/Makefile.am: * ext/flac/Makefile.am: * ext/gconf/Makefile.am: * ext/gdk_pixbuf/Makefile.am: * ext/hal/Makefile.am: * ext/jpeg/Makefile.am: * ext/ladspa/Makefile.am: * ext/libcaca/Makefile.am: * ext/libmng/Makefile.am: * ext/libpng/Makefile.am: * ext/mikmod/Makefile.am: * ext/pulse/Makefile.am: * ext/raw1394/Makefile.am: * ext/shout2/Makefile.am: * ext/soup/Makefile.am: * ext/speex/Makefile.am: * ext/taglib/Makefile.am: * ext/wavpack/Makefile.am: * gst/alpha/Makefile.am: * gst/apetag/Makefile.am: * gst/audiofx/Makefile.am: * gst/auparse/Makefile.am: * gst/autodetect/Makefile.am: * gst/avi/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/equalizer/Makefile.am: * gst/flx/Makefile.am: * gst/goom/Makefile.am: * gst/goom2k1/Makefile.am: * gst/icydemux/Makefile.am: * gst/id3demux/Makefile.am: * gst/interleave/Makefile.am: * gst/law/Makefile.am: * gst/level/Makefile.am: * gst/matroska/Makefile.am: * gst/median/Makefile.am: * gst/monoscope/Makefile.am: * gst/multifile/Makefile.am: * gst/multipart/Makefile.am: * gst/oldcore/Makefile.am: * gst/qtdemux/Makefile.am: * gst/replaygain/Makefile.am: * gst/rtp/Makefile.am: * gst/rtsp/Makefile.am: * gst/smpte/Makefile.am: * gst/spectrum/Makefile.am: * gst/udp/Makefile.am: * gst/videobox/Makefile.am: * gst/videocrop/Makefile.am: * gst/videofilter/Makefile.am: * gst/videomixer/Makefile.am: * gst/wavenc/Makefile.am: * gst/wavparse/Makefile.am: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: * sys/oss/Makefile.am: * sys/osxaudio/Makefile.am: * sys/osxvideo/Makefile.am: * sys/sunaudio/Makefile.am: * sys/v4l2/Makefile.am: * sys/waveform/Makefile.am: * sys/ximage/Makefile.am: Don't install static libs for plugins. Fixes #550851 for -good.
* gst/videomixer/videomixer.c: Handle segments a little better. Fixes #537361.Wim Taymans2008-09-251-1/+15
| | | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_fill_queues), (gst_videomixer_sink_event): Handle segments a little better. Fixes #537361.
* gst/videomixer/videomixer.c: Remove bogus check.Wim Taymans2008-06-101-2/+3
| | | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_fill_queues), (gst_videomixer_blend_buffers), (gst_videomixer_update_queues): Remove bogus check.
* gst/videomixer/videomixer.c: Use stream_time to synchronize the object ↵Wim Taymans2008-06-101-7/+26
| | | | | | | | | | | | properties. Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_fill_queues), (gst_videomixer_blend_buffers): Use stream_time to synchronize the object properties. Use running_time of the master pad to timestamp outgoing buffers. Fix the initial segment event to extend an unknown amount of time. Fixes #537361.
* gst/videomixer/videomixer.c: When using gst_element_iterate_pads() one has ↵Sebastian Dröge2008-06-021-0/+61
| | | | | | | | | | to unref every pad after usage. Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_query_duration), (gst_videomixer_query_latency): When using gst_element_iterate_pads() one has to unref every pad after usage.
* gst/videomixer/videomixer.*: duration and latency queries.Sebastian Dröge2008-05-282-0/+205
| | | | | | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_reset), (gst_videomixer_init), (gst_videomixer_query_duration), (gst_videomixer_query_latency), (gst_videomixer_query), (gst_videomixer_blend_buffers): * gst/videomixer/videomixer.h: Implement position (in time), duration and latency queries.
* gst/videomixer/videomixer.*: Implement proper seek/newsegment handling.Edward Hervey2008-05-272-1/+176
| | | | | | | | | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_reset), (gst_videomixer_init), (gst_videomixer_request_new_pad), (gst_videomixer_fill_queues), (forward_event_func), (forward_event), (gst_videomixer_src_event), (gst_videomixer_sink_event): * gst/videomixer/videomixer.h: Implement proper seek/newsegment handling. Based on adder's implementation. Fixes #535121
* gst/videomixer/videomixer.c: Add missing incudes.Stefan Kost2008-05-201-0/+5
| | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: Add missing incudes.
* gst/videomixer/videomixer.*: Instead of a random number for the request pad ↵Jan Schmidt2008-05-202-3/+12
| | | | | | | | | | | | id's, use a counter. Original commit message from CVS: * gst/videomixer/videomixer.c: * gst/videomixer/videomixer.h: Instead of a random number for the request pad id's, use a counter. Register the videomixerpad class from the element's class_init where it's safer, and allows the docs generator to scan it.
* Try using thaytans new mechanism to get extra classes into plugin docs. ↵Stefan Kost2008-05-191-0/+4
| | | | | | | | | | | | | | | | Aparently works for the Eq. For VideoMixer th... Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/gst-plugins-good-plugins.hierarchy: * docs/plugins/gst-plugins-good-plugins.interfaces: * docs/plugins/gst-plugins-good-plugins.types: * gst/videomixer/videomixer.c: Try using thaytans new mechanism to get extra classes into plugin docs. Aparently works for the Eq. For VideoMixer the GObject stuff is missing still.
* gst/videomixer/videomixer.c: Don't call gst_object_sync_values() unless we ↵Michael Smith2008-02-291-2/+3
| | | | | | | | have a valid timestamp. Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_blend_buffers): Don't call gst_object_sync_values() unless we have a valid timestamp.
* gst/videomixer/Makefile.am: Add controller flags.Stefan Kost2008-01-161-2/+2
| | | | | | Original commit message from CVS: * gst/videomixer/Makefile.am: Add controller flags.
* gst/videomixer/videomixer.c: Also commit the missing gst_object_sync_values().Stefan Kost2008-01-161-3/+3
| | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: Also commit the missing gst_object_sync_values().
* docs/plugins/: Update plugin docs.Stefan Kost2008-01-154-128/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins.args: * docs/plugins/gst-plugins-good-plugins.signals: * docs/plugins/inspect/plugin-alaw.xml: * docs/plugins/inspect/plugin-alpha.xml: * docs/plugins/inspect/plugin-alphacolor.xml: * docs/plugins/inspect/plugin-annodex.xml: * docs/plugins/inspect/plugin-apetag.xml: * docs/plugins/inspect/plugin-audiofx.xml: * docs/plugins/inspect/plugin-auparse.xml: * docs/plugins/inspect/plugin-autodetect.xml: * docs/plugins/inspect/plugin-avi.xml: * docs/plugins/inspect/plugin-cairo.xml: * docs/plugins/inspect/plugin-cdio.xml: * docs/plugins/inspect/plugin-cutter.xml: * docs/plugins/inspect/plugin-debug.xml: * docs/plugins/inspect/plugin-dv.xml: * docs/plugins/inspect/plugin-efence.xml: * docs/plugins/inspect/plugin-effectv.xml: * docs/plugins/inspect/plugin-flac.xml: * docs/plugins/inspect/plugin-flxdec.xml: * docs/plugins/inspect/plugin-gconfelements.xml: * docs/plugins/inspect/plugin-gdkpixbuf.xml: * docs/plugins/inspect/plugin-goom.xml: * docs/plugins/inspect/plugin-halelements.xml: * docs/plugins/inspect/plugin-icydemux.xml: * docs/plugins/inspect/plugin-id3demux.xml: * docs/plugins/inspect/plugin-jpeg.xml: * docs/plugins/inspect/plugin-ladspa.xml: * docs/plugins/inspect/plugin-level.xml: * docs/plugins/inspect/plugin-matroska.xml: * docs/plugins/inspect/plugin-mulaw.xml: * docs/plugins/inspect/plugin-multipart.xml: * docs/plugins/inspect/plugin-navigationtest.xml: * docs/plugins/inspect/plugin-png.xml: * docs/plugins/inspect/plugin-quicktime.xml: * docs/plugins/inspect/plugin-rtp.xml: * docs/plugins/inspect/plugin-rtsp.xml: * docs/plugins/inspect/plugin-shout2send.xml: * docs/plugins/inspect/plugin-smpte.xml: * docs/plugins/inspect/plugin-speex.xml: * docs/plugins/inspect/plugin-taglib.xml: * docs/plugins/inspect/plugin-udp.xml: * docs/plugins/inspect/plugin-videobalance.xml: * docs/plugins/inspect/plugin-videobox.xml: * docs/plugins/inspect/plugin-videocrop.xml: * docs/plugins/inspect/plugin-videoflip.xml: * docs/plugins/inspect/plugin-videomixer.xml: * docs/plugins/inspect/plugin-wavenc.xml: * docs/plugins/inspect/plugin-wavpack.xml: * docs/plugins/inspect/plugin-wavparse.xml: Update plugin docs. * gst/videomixer/Makefile.am: * gst/videomixer/videomixer.c: * gst/videomixer/videomixer.h: * gst/videomixer/videomixerpad.h: Split out header to fix warnings from the doc-build.
* gst/videomixer/videomixer.c: Fix error from my last commit.Edward Hervey2008-01-091-1/+1
| | | | | | Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_init): Fix error from my last commit.
* gst/videomixer/videomixer.c: Implement GstChildProxy interface.Edward Hervey2008-01-091-27/+68
| | | | | | | | | | | | | | | Original commit message from CVS: reviewed by: Edward Hervey <edward.hervey@collabora.co.uk> * gst/videomixer/videomixer.c: (gst_videomixer_set_master_geometry), (_do_init), (gst_videomixer_child_proxy_get_child_by_index), (gst_videomixer_child_proxy_get_children_count), (gst_videomixer_child_proxy_init), (gst_videomixer_reset), (gst_videomixer_init), (gst_videomixer_request_new_pad), (gst_videomixer_release_pad), (gst_videomixer_fill_queues): Implement GstChildProxy interface. Send newsegment at the right moment Fixes #488879
* gst/videomixer/videomixer.c: Fix strides calculation for AYUV (it's just ↵Tim-Philipp Müller2007-05-081-19/+9
| | | | | | | | | | width*4) (#436910). Original commit message from CVS: * gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_ayuv), (gst_videomixer_fill_checker), (gst_videomixer_fill_color), (gst_videomixer_collected): Fix strides calculation for AYUV (it's just width*4) (#436910).
* gst/videomixer/videomixer.c: Introduce some locking around the videomixer ↵Sjoerd Simons2006-12-161-152/+109
| | | | | | | | | | | | | | | | state so that it does not crash when adding... Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/videomixer/videomixer.c: (gst_videomixer_pad_set_property), (gst_videomixer_set_master_geometry), (gst_videomixer_pad_sink_setcaps), (gst_videomixer_collect_free), (gst_videomixer_reset), (gst_videomixer_init), (gst_videomixer_finalize), (gst_videomixer_request_new_pad), (gst_videomixer_release_pad), (gst_videomixer_collected), (gst_videomixer_change_state): Introduce some locking around the videomixer state so that it does not crash when adding/removing pads. Fixes #383043.
* gst/videomixer/videomixer.c: Don't reset xpos and ypos in the setcaps ↵Sjoerd Simons2006-12-061-5/+1
| | | | | | | | | | | | | function because causes unexpected behaviour. Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/videomixer/videomixer.c: (gst_videomixer_set_master_geometry), (gst_videomixer_pad_sink_setcaps), (gst_videomixer_collect_free): Don't reset xpos and ypos in the setcaps function because causes unexpected behaviour. Fixes #382179.
* gst/videomixer/videomixer.c: Fix memleak by unref'ing collectpads instance ↵Mark Nauwelaerts2006-11-131-26/+143
| | | | | | | | | | | | | | | | (when finalizing) Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/videomixer/videomixer.c: (gst_videomixer_set_master_geometry), (gst_videomixer_pad_sink_setcaps), (gst_videomixer_class_init), (gst_videomixer_collect_free), (gst_videomixer_reset), (gst_videomixer_init), (gst_videomixer_finalize), (gst_videomixer_request_new_pad), (gst_videomixer_release_pad), (gst_videomixer_collected), (gst_videomixer_change_state): Fix memleak by unref'ing collectpads instance (when finalizing) Implement releasing a request pad. Fixes #374479.
* gst/videomixer/videomixer.c: Fix videomixer so that it can handle any ↵Mark Nauwelaerts2006-10-301-2/+2
| | | | | | | | | | combination of framerates. Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/videomixer/videomixer.c: (gst_videomixer_update_queues): Fix videomixer so that it can handle any combination of framerates. Fixes #367221.
* gst/: Include stdlib.h in some more places, makes things compile with uClibc ↵Peter Kjellerstedt2006-09-251-0/+1
| | | | | | | | | | | | | | and -Werror (#357592). Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst/alpha/gstalpha.c: * gst/rtp/gstrtpamrdepay.c: * gst/rtsp/gstrtspsrc.c: * gst/udp/gstudpsrc.c: * gst/videomixer/videomixer.c: Include stdlib.h in some more places, makes things compile with uClibc and -Werror (#357592).
* More G_OBJECT macro fixing.Stefan Kost2006-09-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/flac/gstflactag.c: * gst/alpha/gstalpha.c: * gst/debug/breakmydata.c: * gst/debug/negotiation.c: * gst/debug/testplugin.c: * gst/effectv/gstaging.c: * gst/effectv/gstdice.c: * gst/effectv/gstedge.c: * gst/effectv/gstquark.c: * gst/effectv/gstrev.c: * gst/effectv/gstshagadelic.c: * gst/effectv/gstvertigo.c: * gst/effectv/gstwarp.c: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstgamma.c: * gst/videofilter/gstvideotemplate.c: * gst/videomixer/videomixer.c: * sys/sunaudio/gstsunaudiosrc.h: More G_OBJECT macro fixing.