Commit graph

95 commits

Author SHA1 Message Date
David Schleef ff90d39556 Convert a few inner loops to use liboil. This is currently optional, and is only enabled if liboil is present (duh!).
Original commit message from CVS:
Convert a few inner loops to use liboil.  This is currently
optional, and is only enabled if liboil is present (duh!).
* configure.ac: Check for liboil-0.1
* gst/intfloat/Makefile.am:
* gst/intfloat/gstint2float.c: (conv_f32_s16), (scalarmult_f32),
(gst_int2float_chain_gint16):
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c: (gst_videobalance_class_init),
(tablelookup_u8), (gst_videobalance_planar411):
* gst/videotestsrc/Makefile.am:
* gst/videotestsrc/gstvideotestsrc.c: (plugin_init):
* gst/videotestsrc/videotestsrc.c: (splat_u8), (paint_hline_YUY2),
(paint_hline_IYU2), (paint_hline_str4), (paint_hline_str3),
(paint_hline_RGB565), (paint_hline_xRGB1555):
2004-02-12 07:37:50 +00:00
Ronald S. Bultje 44c6a27972 gst/videofilter/gstvideobalance.*: Implement lookup-tables. +/- 10x faster.
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose),
(gst_videobalance_init),
(gst_videobalance_colorbalance_list_channels),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value),
(gst_videobalance_update_properties),
(gst_videobalance_update_tables_planar411),
(gst_videobalance_planar411):
* gst/videofilter/gstvideobalance.h:
Implement lookup-tables. +/- 10x faster.
2004-01-25 11:17:11 +00:00
David Schleef 4ac1a134ec gst/videofilter/gstvideobalance.c: Fix regression; changing a property affects the video stream.
Original commit message from CVS:
* gst/videofilter/gstvideobalance.c: Fix regression; changing a
property affects the video stream.
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
Add synchronous property for debugging.  Should probably be
disabled in non-CVS builds.  Make sure that the Xv attribute
exists before we set it (crash!).  Fix a silly float bug that
caused colorbalance to just not work.
2004-01-16 23:52:53 +00:00
Julien Moutte 36470772d6 gst/videofilter/gstvideobalance.c: Implement passthru if settings are in the middle.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value): Implement passthru if
settings are in the middle.
* tools/gst-launch-ext.in: Stop using xvideosink, use ximagesink.
2004-01-15 17:16:37 +00:00
Ronald S. Bultje 13bee94964 gst/: Since we use videofilter symbols, link to it.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/videofilter/Makefile.am:
* gst/volume/Makefile.am:
Since we use videofilter symbols, link to it.
2004-01-15 16:34:44 +00:00
Julien Moutte 185fa362d6 gst/videofilter/gstvideobalance.c: Fixing videobalance ranges for colorbalance interface implementation.
Original commit message from CVS:
2004-01-14  Julien MOUTTE  <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value): Fixing videobalance ranges
for colorbalance interface implementation.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_dispose), (gst_ximagesink_init),
(gst_ximagesink_class_init): Adding DISPLAY property.
* sys/ximage/ximagesink.h: Adding display_name to store display.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_dispose), (gst_xvimagesink_init),
(gst_xvimagesink_class_init): Adding DISPLAY property and colorbalance
properties (they still need polishing though for gst-launch use : no
xcontext yet, i ll do that tomorrow).
* sys/xvimage/xvimagesink.h: Adding display_name to store display.
2004-01-14 23:01:49 +00:00
Julien Moutte 0d9c9217ec gst-libs/gst/colorbalance/colorbalance.c: Adding a default type.
Original commit message from CVS:
2004-01-14  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.c:
(gst_color_balance_class_init): Adding a default type.
* gst-libs/gst/colorbalance/colorbalance.h: Adding a macro to access
the type.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_get_type),
(gst_videobalance_dispose), (gst_videobalance_class_init),
(gst_videobalance_init), (gst_videobalance_interface_supported),
(gst_videobalance_interface_init),
(gst_videobalance_colorbalance_list_channels),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value),
(gst_videobalance_colorbalance_init): Implementing colorbalance
interface.
* gst/videofilter/gstvideobalance.h: Adding colorbalance channels
list.
* sys/ximage/ximagesink.c: (gst_ximagesink_set_xwindow_id): Fixing a
bug which was triggering a BadAccess X error when setting an overlay
before pad was really negotiated.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_colorbalance_init):
Using the colorbalance type macro.
2004-01-14 17:15:34 +00:00
Jon Trowbridge eabada02dc gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based...
Original commit message from CVS:
2004-01-13  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
colorbalance interface stating if it is hardware based or software
based.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411):
Removing a trailing comma.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_colorbalance_init): Integrating a patch from Jon
Trowbridge <trow@ximian.com> querying Xv adaptor for min/max value as
the documentation seems to be wrong on the -1000 to 1000 interval.
2004-01-13 17:57:24 +00:00
David Schleef 86a4117f7e Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Original commit message from CVS:
Remove all usage of gst_pad_get_caps(), and replace it with
gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
2004-01-12 03:40:18 +00:00
David Schleef 4ec54daec5 ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
Original commit message from CVS:
* ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
* gst/debug/efence.c: (gst_efence_chain), (gst_fenced_buffer_new),
(gst_fenced_buffer_default_copy): Fix for rename of buffer private
structure members.
* gst/effectv/gstwarp.c: (gst_warptv_setup): Don't reset the time
value during a resize/renegotiation.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain): use
gst_pad_alloc_buffer();
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Fix for rename of buffer private
structure members.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
Fix for rename of buffer private structure members.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
Fix for rename of buffer private structure members.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
Fix for rename of buffer private structure members.
2004-01-11 22:03:52 +00:00
David Schleef 6d53140c73 New gamma filter
Original commit message from CVS:
New gamma filter
2004-01-11 21:52:10 +00:00
David Schleef 756480d6d5 ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
2004-01-09 01:53:31 +00:00
David Schleef 60f5f23055 Handle builddir != srcdir builds with making gstvideoexample.c
Original commit message from CVS:
Handle builddir != srcdir builds with making gstvideoexample.c
2004-01-07 21:36:52 +00:00
David Schleef 6f0026286d Fix the regular expressions and quote properly
Original commit message from CVS:
Fix the regular expressions and quote properly
2004-01-07 21:33:01 +00:00
David Schleef f3961006ac Convert make_filter to sh. Add make_filter's id to the output
Original commit message from CVS:
Convert make_filter to sh.  Add make_filter's id to the output
2004-01-07 21:07:12 +00:00
Julien Moutte b88c80d4be gstvideoexample.h disappeared. fixing build.
Original commit message from CVS:
gstvideoexample.h disappeared. fixing build.
2004-01-07 13:04:40 +00:00
David Schleef 08797649fb Merge gstvideotemplate.h into gstvideotemplate.c
Original commit message from CVS:
Merge gstvideotemplate.h into gstvideotemplate.c
2004-01-07 08:56:45 +00:00
David Schleef 7bbd7da502 Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
2003-12-31 08:02:04 +00:00
David Schleef ce51f6173c Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Benjamin Otte 26492d2076 make videofilter handle RGB correctly
Original commit message from CVS:
make videofilter handle RGB correctly
2003-12-09 01:17:28 +00:00
Andy Wingo e46d34995d remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:38 +00:00
Leif Johnson 5c244e8374 + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:22 +00:00
David Schleef 19c9bdf5d7 remove pesky g_print()s
Original commit message from CVS:
remove pesky g_print()s
2003-11-08 03:02:14 +00:00
David Schleef 4a7080ae85 break up Id: in s/ pattern
Original commit message from CVS:
break up Id: in s/ pattern
2003-11-08 03:00:07 +00:00
David Schleef 1307da3508 Add tag to output .c file
Original commit message from CVS:
Add tag to output .c file
2003-11-08 02:58:08 +00:00
David Schleef d312ad6641 recommmit to get the make_filter tag correct
Original commit message from CVS:
recommmit to get the make_filter tag correct
2003-11-08 02:57:18 +00:00
David Schleef aee9dba783 much cleanup hacking made possible by plugin changes
Original commit message from CVS:
much cleanup hacking made possible by plugin changes
2003-11-08 02:52:41 +00:00
David Schleef bd2c86e953 Update the videofilter template
Original commit message from CVS:
Update the videofilter template
2003-11-08 02:48:59 +00:00
Ronald S. Bultje 5621eae1c5 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:01 +00:00
David Schleef 62c24a3419 Fixes for new plugin system
Original commit message from CVS:
Fixes for new plugin system
2003-11-03 08:54:57 +00:00
Benjamin Otte 3c6cdb7d7c fix template, too
Original commit message from CVS:
fix template, too
2003-11-02 23:03:44 +00:00
Ronald S. Bultje 673bb31a92 Bla
Original commit message from CVS:
Bla
2003-11-02 22:54:47 +00:00
Andy Wingo f2d5cae8da /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:18 +00:00
David Schleef aa0c086a44 Change some g_prints to GST_DEBUG
Original commit message from CVS:
Change some g_prints to GST_DEBUG
2003-09-14 11:50:14 +00:00
Christian Schaller 787df17482 add cvsignores
Original commit message from CVS:
add cvsignores
2003-09-11 19:17:02 +00:00
David Schleef 37fe79eef2 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
David Schleef ad79edbe42 Caps fixes and general cleanup.
Original commit message from CVS:
Caps fixes and general cleanup.
2003-07-14 08:32:38 +00:00
Christian Schaller a8183e9a3f small disting fix
Original commit message from CVS:
small disting fix
2003-07-05 22:45:39 +00:00
David Schleef 2b054f0f89 add formats to base class, not the actual videofilter class
Original commit message from CVS:
add formats to base class, not the actual videofilter class
2003-07-02 08:10:35 +00:00
David Schleef 96e5a724f8 Add a base init function
Original commit message from CVS:
Add a base init function
2003-07-02 08:08:34 +00:00
David Schleef e22a782729 move code from videoflip directory. Why? I don't really know.
Original commit message from CVS:
move code from videoflip directory.  Why?  I don't really know.
2003-07-02 06:50:32 +00:00
David Schleef c6e986c8e4 video balancing (brightness, contrast, etc.)
Original commit message from CVS:
video balancing (brightness, contrast, etc.)
2003-07-02 06:49:37 +00:00
David Schleef 623f55f194 Add videobalance from template
Original commit message from CVS:
Add videobalance from template
2003-07-02 06:31:33 +00:00
David Schleef 1bdd2c9cc3 Add videoflip, created from template.
Original commit message from CVS:
Add videoflip, created from template.
2003-07-02 06:16:39 +00:00
David Schleef 23e47de332 GstVideofilter abstract class for video filters
Original commit message from CVS:
GstVideofilter abstract class for video filters
2003-07-02 05:22:47 +00:00