Blame gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.h

Packit 971217
/*
Packit 971217
 * GStreamer
Packit 971217
 * Copyright (C) 2014 Matthew Waters <ystreet00@gmail.com>
Packit 971217
 * Copyright (C) 2015 Freescale Semiconductor <b55597@freescale.com>
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef __GST_GL_DISPLAY_VIV_FB_H__
Packit 971217
#define __GST_GL_DISPLAY_VIV_FB_H__
Packit 971217
Packit 971217
#include <gst/gst.h>
Packit 971217
#include <gst/gl/gstgldisplay.h>
Packit 971217
#include <gst/gl/egl/gstegl.h>
Packit 971217
Packit 971217
G_BEGIN_DECLS
Packit 971217
Packit 971217
GType gst_gl_display_viv_fb_get_type (void);
Packit 971217
Packit 971217
#define GST_TYPE_GL_DISPLAY_VIV_FB             (gst_gl_display_viv_fb_get_type())
Packit 971217
#define GST_GL_DISPLAY_VIV_FB(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_DISPLAY_VIV_FB,GstGLDisplayVivFB))
Packit 971217
#define GST_GL_DISPLAY_VIV_FB_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_GL_DISPLAY_VIV_FB,GstGLDisplayVivFBClass))
Packit 971217
#define GST_IS_GL_DISPLAY_VIV_FB(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GL_DISPLAY_VIV_FB))
Packit 971217
#define GST_IS_GL_DISPLAY_VIV_FB_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_GL_DISPLAY_VIV_FB))
Packit 971217
#define GST_GL_DISPLAY_VIV_FB_CAST(obj)        ((GstGLDisplayVivFB*)(obj))
Packit 971217
Packit 971217
typedef struct _GstGLDisplayVivFB GstGLDisplayVivFB;
Packit 971217
typedef struct _GstGLDisplayVivFBClass GstGLDisplayVivFBClass;
Packit 971217
Packit 971217
/**
Packit 971217
 * GstGLDisplayVivFB:
Packit 971217
 *
Packit 971217
 * the contents of a #GstGLDisplayVivFB are private and should only be accessed
Packit 971217
 * through the provided API
Packit 971217
 */
Packit 971217
struct _GstGLDisplayVivFB
Packit 971217
{
Packit 971217
  GstGLDisplay          parent;
Packit 971217
Packit 971217
  /* <private> */
Packit 971217
  gint disp_idx;
Packit 971217
  EGLNativeDisplayType display;
Packit 971217
};
Packit 971217
Packit 971217
struct _GstGLDisplayVivFBClass
Packit 971217
{
Packit 971217
  GstGLDisplayClass object_class;
Packit 971217
};
Packit 971217
Packit 971217
GstGLDisplayVivFB *gst_gl_display_viv_fb_new (gint disp_idx);
Packit 971217
Packit 971217
G_END_DECLS
Packit 971217
Packit 971217
#endif /* __GST_GL_DISPLAY_VIV_FB_H__ */