summaryrefslogtreecommitdiff
path: root/gst/videoscale/gstvideoscaleorc-dist.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-26 12:35:57 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-26 12:35:57 +0200
commit16e84d38b8d8224e7bed643d8f7220cc1865e62f (patch)
treeda65ce3f876b8df5d2275e9e58a386d66357a908 /gst/videoscale/gstvideoscaleorc-dist.h
parente99bdcf1830558204b42c889d0143f96bd0cd85b (diff)
Release 1.0.71.0.7
Diffstat (limited to 'gst/videoscale/gstvideoscaleorc-dist.h')
-rw-r--r--gst/videoscale/gstvideoscaleorc-dist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst/videoscale/gstvideoscaleorc-dist.h b/gst/videoscale/gstvideoscaleorc-dist.h
index 7c6677a26..868f07b4b 100644
--- a/gst/videoscale/gstvideoscaleorc-dist.h
+++ b/gst/videoscale/gstvideoscaleorc-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_scale_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, const orc_uint8 * ORC_RESTRICT s1, const orc_uint8 * ORC_RESTRICT s2, int p1, int n);
void video_scale_orc_merge_linear_u16 (orc_uint16 * ORC_RESTRICT d1, const orc_uint16 * ORC_RESTRICT s1, const orc_uint16 * ORC_RESTRICT s2, int p1, int p2, int n);
void video_scale_orc_splat_u16 (orc_uint16 * ORC_RESTRICT d1, int p1, int n);