summaryrefslogtreecommitdiff
path: root/gst/videomixer/blendorc-dist.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-06-05 17:58:51 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-06-05 18:31:40 +0200
commit048866f1b19de448a4996406b40d4c4114ae52a3 (patch)
treece6ad3cd8c049b67bfe1baf051d64b9b2c3ce490 /gst/videomixer/blendorc-dist.h
parent566b7d2b84c6b038a01a1ad9694b4fcc0b3de2e3 (diff)
Release 1.1.1
Diffstat (limited to 'gst/videomixer/blendorc-dist.h')
-rw-r--r--gst/videomixer/blendorc-dist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst/videomixer/blendorc-dist.h b/gst/videomixer/blendorc-dist.h
index aeeb6785d..e5ec9de17 100644
--- a/gst/videomixer/blendorc-dist.h
+++ b/gst/videomixer/blendorc-dist.h
@@ -67,6 +67,19 @@ typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16
#define ORC_RESTRICT
#endif
#endif
+
+#ifndef ORC_INTERNAL
+#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
+#define ORC_INTERNAL __hidden
+#elif defined (__GNUC__)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#else
+#define ORC_INTERNAL
+#endif
+#endif
+
void video_mixer_orc_splat_u32 (guint32 * ORC_RESTRICT d1, int p1, int n);
void video_mixer_orc_memcpy_u32 (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int n);
void video_mixer_orc_blend_u8 (guint8 * ORC_RESTRICT d1, int d1_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int p1, int n, int m);