summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2017-01-13 11:06:39 +1100
committerMatthew Waters <matthew@centricular.com>2017-01-13 11:20:51 +1100
commit4de388278a0430eae4eb7612d83f5084e48dad62 (patch)
treedcc723fe1f2b442d642ec8397dee2295ecfc41a4 /gst-libs
parent4315a4b54d9c830d9380e3d5c9413601f9a136fe (diff)
downloadgstreamer-plugins-bad-4de388278a0430eae4eb7612d83f5084e48dad62.tar.gz
glutils: privatise matrix multiplication/videoaffinetransformation retrieval
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/gl/gstglutils.c2
-rw-r--r--gst-libs/gst/gl/gstglutils.h6
-rw-r--r--gst-libs/gst/gl/gstglutils_private.h1
-rw-r--r--gst-libs/gst/gl/gstglviewconvert.c1
4 files changed, 3 insertions, 7 deletions
diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c
index b41ed8f4f..fb1915650 100644
--- a/gst-libs/gst/gl/gstglutils.c
+++ b/gst-libs/gst/gl/gstglutils.c
@@ -722,7 +722,7 @@ static const gfloat to_ndc_matrix[] = {
0.0f, 0.0f, 0.0, 1.0f,
};
-void
+static void
gst_gl_multiply_matrix4 (const gfloat * a, const gfloat * b, gfloat * result)
{
int i, j, k;
diff --git a/gst-libs/gst/gl/gstglutils.h b/gst-libs/gst/gl/gstglutils.h
index e1207aafa..4139302c2 100644
--- a/gst-libs/gst/gl/gstglutils.h
+++ b/gst-libs/gst/gl/gstglutils.h
@@ -56,12 +56,6 @@ gboolean gst_gl_value_set_texture_target (GValue * value, GstGLTextureTarget tar
GST_EXPORT
GstGLTextureTarget gst_gl_value_get_texture_target_mask (const GValue * value);
-GST_EXPORT
-void gst_gl_multiply_matrix4 (const gfloat * a, const gfloat * b, gfloat * result);
-GST_EXPORT
-void gst_gl_get_affine_transformation_meta_as_ndc (GstVideoAffineTransformationMeta *
- meta, gfloat * matrix);
-
G_END_DECLS
#endif /* __GST_GL_UTILS_H__ */
diff --git a/gst-libs/gst/gl/gstglutils_private.h b/gst-libs/gst/gl/gstglutils_private.h
index 9321d8d7a..008fcc6dc 100644
--- a/gst-libs/gst/gl/gstglutils_private.h
+++ b/gst-libs/gst/gl/gstglutils_private.h
@@ -26,6 +26,7 @@
G_BEGIN_DECLS
gboolean gst_gl_run_query (GstElement * element, GstQuery * query, GstPadDirection direction);
+void gst_gl_get_affine_transformation_meta_as_ndc (GstVideoAffineTransformationMeta * meta, gfloat * matrix);
G_END_DECLS
diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c
index 11a98f2ae..64c64f7ed 100644
--- a/gst-libs/gst/gl/gstglviewconvert.c
+++ b/gst-libs/gst/gl/gstglviewconvert.c
@@ -34,6 +34,7 @@
#include "gstglviewconvert.h"
#include "gstglsl_private.h"
+#include "gstglutils_private.h"
#include <gst/video/gstvideoaffinetransformationmeta.h>
#define USING_OPENGL(context) (gst_gl_context_check_gl_version (context, GST_GL_API_OPENGL, 1, 0))