#include <gst/video/video.h>
#include <string.h>
+#define GST_CAT_DEFAULT egladaption_debug
+GST_DEBUG_CATEGORY (egladaption_debug);
+
/* GLESv2 GLSL Shaders
*
* OpenGL ES Standard does not mandate YUV support. This is
};
/* *INDENT-ON* */
+void
+gst_egl_adaption_init (void)
+{
+ GST_DEBUG_CATEGORY_INIT (egladaption_debug, "egladaption", 0, "EGL adaption layer");
+}
+
static GstCaps *
_gst_video_format_new_template_caps (GstVideoFormat format)
{
gboolean buffer_preserved;
};
+GST_DEBUG_CATEGORY_EXTERN (egladaption_debug);
+
+void gst_egl_adaption_init (void);
+
GstEglAdaptationContext * gst_egl_adaptation_context_new (GstElement * element);
void gst_egl_adaptation_context_free (GstEglAdaptationContext * ctx);
void gst_egl_adaptation_init (GstEglAdaptationContext * ctx);
#include "gstegladaptation.h"
+#define GST_CAT_DEFAULT egladaption_debug
+
struct _GstEaglContext
{
EAGLContext *eagl_context;
#include <GLES2/gl2ext.h>
#include <gst/egl/egl.h>
+#define GST_CAT_DEFAULT egladaption_debug
+
/* Some EGL implementations are reporting wrong
* values for the display's EGL_PIXEL_ASPECT_RATIO.
* They are required by the khronos specs to report
GST_DEBUG_CATEGORY_INIT (gst_eglglessink_debug, "eglglessink",
0, "Simple EGL/GLES Sink");
+ gst_egl_adaption_init ();
+
#ifdef USE_EGL_RPI
GST_DEBUG ("Initialize BCM host");
bcm_host_init ();