videobox: port to 0.11

This commit is contained in:
Mark Nauwelaerts 2012-04-13 16:54:38 +02:00
parent 8bf26fa7dc
commit edf3139e22
3 changed files with 623 additions and 681 deletions

View file

@ -309,7 +309,6 @@ dnl *** plug-ins to include ***
dnl Non ported plugins (non-dependant, then dependant)
dnl Make sure you have a space before and after all plugins
GST_PLUGINS_NONPORTED="deinterlace flx \
videobox \
cairo cairo_gobject dv1394 gdk_pixbuf \
oss oss4 \
osx_video osx_audio "

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
*/
#include <gst/gst.h>
#include <gst/base/gstbasetransform.h>
#include <gst/video/gstvideofilter.h>
#include <gst/video/video.h>
#ifndef __GST_VIDEO_BOX_H__
@ -52,7 +52,7 @@ GstVideoBoxFill;
struct _GstVideoBox
{
GstBaseTransform element;
GstVideoFilter element;
/* <private> */
@ -78,13 +78,13 @@ struct _GstVideoBox
gboolean autocrop;
void (*fill) (GstVideoBoxFill fill_type, guint b_alpha, GstVideoFormat format, guint8 *dest, gboolean sdtv, gint width, gint height);
void (*copy) (guint i_alpha, GstVideoFormat dest_format, guint8 *dest, gboolean dest_sdtv, gint dest_width, gint dest_height, gint dest_x, gint dest_y, GstVideoFormat src_format, const guint8 *src, gboolean src_sdtv, gint src_width, gint src_height, gint src_x, gint src_y, gint w, gint h);
void (*fill) (GstVideoBoxFill fill_type, guint b_alpha, GstVideoFrame *dest, gboolean sdtv);
void (*copy) (guint i_alpha, GstVideoFrame * dest, gboolean dest_sdtv, gint dest_x, gint dest_y, GstVideoFrame * src, gboolean src_sdtv, gint src_x, gint src_y, gint w, gint h);
};
struct _GstVideoBoxClass
{
GstBaseTransformClass parent_class;
GstVideoFilterClass parent_class;
};
GType gst_video_box_get_type (void);