Blame ext/cairo/gstcairooverlay.h

Packit 1f69a5
/* GStreamer
Packit 1f69a5
 * Copyright (C) <2011> Jon Nordby <jononor@gmail.com>
Packit 1f69a5
 *
Packit 1f69a5
 * This library is free software; you can redistribute it and/or
Packit 1f69a5
 * modify it under the terms of the GNU Library General Public
Packit 1f69a5
 * License as published by the Free Software Foundation; either
Packit 1f69a5
 * version 2 of the License, or (at your option) any later version.
Packit 1f69a5
 *
Packit 1f69a5
 * This library is distributed in the hope that it will be useful,
Packit 1f69a5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1f69a5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 1f69a5
 * Library General Public License for more details.
Packit 1f69a5
 *
Packit 1f69a5
 * You should have received a copy of the GNU Library General Public
Packit 1f69a5
 * License along with this library; if not, write to the
Packit 1f69a5
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 1f69a5
 * Boston, MA 02110-1301, USA.
Packit 1f69a5
 */
Packit 1f69a5
Packit 1f69a5
#ifndef __GST_CAIRO_OVERLAY_H__
Packit 1f69a5
#define __GST_CAIRO_OVERLAY_H__
Packit 1f69a5
Packit 1f69a5
#include <gst/gst.h>
Packit 1f69a5
#include <gst/video/video.h>
Packit 1f69a5
#include <gst/video/gstvideofilter.h>
Packit 1f69a5
Packit 1f69a5
#include <cairo.h>
Packit 1f69a5
#include <cairo-gobject.h>
Packit 1f69a5
Packit 1f69a5
G_BEGIN_DECLS
Packit 1f69a5
Packit 1f69a5
#define GST_TYPE_CAIRO_OVERLAY \
Packit 1f69a5
  (gst_cairo_overlay_get_type())
Packit 1f69a5
#define GST_CAIRO_OVERLAY(obj) \
Packit 1f69a5
  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CAIRO_OVERLAY,GstCairoOverlay))
Packit 1f69a5
#define GST_CAIRO_OVERLAY_CLASS(klass) \
Packit 1f69a5
  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CAIRO_OVERLAY,GstCairoOverlayClass))
Packit 1f69a5
#define GST_IS_CAIRO_OVERLAY(obj) \
Packit 1f69a5
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CAIRO_OVERLAY))
Packit 1f69a5
#define GST_IS_CAIRO_OVERLAY_CLASS(klass) \
Packit 1f69a5
  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CAIRO_OVERLAY))
Packit 1f69a5
Packit 1f69a5
typedef struct _GstCairoOverlay GstCairoOverlay;
Packit 1f69a5
typedef struct _GstCairoOverlayClass GstCairoOverlayClass;
Packit 1f69a5
Packit 1f69a5
struct _GstCairoOverlay {
Packit 1f69a5
  GstVideoFilter video_filter;
Packit 1f69a5
};
Packit 1f69a5
Packit 1f69a5
struct _GstCairoOverlayClass {
Packit 1f69a5
  GstVideoFilterClass video_filter_class;
Packit 1f69a5
};
Packit 1f69a5
Packit 1f69a5
GType gst_cairo_overlay_get_type (void);
Packit 1f69a5
Packit 1f69a5
G_END_DECLS
Packit 1f69a5
Packit 1f69a5
#endif /* __GST_CAIRO_OVERLAY_H__ */