orc: prefix orc functions with gst_video_orc_
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Jul 2012 14:56:35 +0000 (16:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Jul 2012 14:56:55 +0000 (16:56 +0200)
See https://bugzilla.gnome.org/show_bug.cgi?id=680025

gst-libs/gst/video/video-blend.c
gst-libs/gst/video/video-format.c
gst-libs/gst/video/video-orc-dist.c
gst-libs/gst/video/video-orc-dist.h
gst-libs/gst/video/video-orc.orc

index 6f21836..d462195 100644 (file)
@@ -197,7 +197,8 @@ gst_video_blend_scale_linear_RGBA (GstVideoInfo * src, GstBuffer * src_buffer,
   src_pixels = GST_VIDEO_FRAME_PLANE_DATA (&src_frame, 0);
 
   acc = 0;
-  orc_resample_bilinear_u32 (LINE (0), src_pixels, 0, x_increment, dest_width);
+  gst_video_orc_resample_bilinear_u32 (LINE (0), src_pixels, 0, x_increment,
+      dest_width);
   y1 = 0;
   for (i = 0; i < dest_height; i++) {
     j = acc >> 16;
@@ -207,16 +208,16 @@ gst_video_blend_scale_linear_RGBA (GstVideoInfo * src, GstBuffer * src_buffer,
       memcpy (dest_pixels + i * dest_stride, LINE (j), dest_size);
     } else {
       if (j > y1) {
-        orc_resample_bilinear_u32 (LINE (j),
+        gst_video_orc_resample_bilinear_u32 (LINE (j),
             src_pixels + j * src_stride, 0, x_increment, dest_width);
         y1++;
       }
       if (j >= y1) {
-        orc_resample_bilinear_u32 (LINE (j + 1),
+        gst_video_orc_resample_bilinear_u32 (LINE (j + 1),
             src_pixels + (j + 1) * src_stride, 0, x_increment, dest_width);
         y1++;
       }
-      orc_merge_linear_u8 (dest_pixels + i * dest_stride,
+      gst_video_orc_merge_linear_u8 (dest_pixels + i * dest_stride,
           LINE (j), LINE (j + 1), (x >> 8), dest_width * 4);
     }
 
@@ -372,9 +373,9 @@ gst_video_blend (GstVideoFrame * dest,
 
     /* FIXME
      * #if G_BYTE_ORDER == LITTLE_ENDIAN
-     * orc_blend_little (tmpdestline, tmpsrcline, dest->width);
+     * gst_video_orc_blend_little (tmpdestline, tmpsrcline, dest->width);
      * #else
-     * orc_blend_big (tmpdestline, tmpsrcline, src->width);
+     * gst_video_orc_blend_big (tmpdestline, tmpsrcline, src->width);
      * #endif
      */
 
index e11baff..ac77cf2 100644 (file)
@@ -76,7 +76,7 @@ unpack_planar_420 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_I420 (dest,
+  gst_video_orc_unpack_I420 (dest,
       GET_Y_LINE (y), GET_U_LINE (y >> 1), GET_V_LINE (y >> 1), width);
 }
 
@@ -86,7 +86,7 @@ pack_planar_420 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_I420 (GET_Y_LINE (y),
+  gst_video_orc_pack_I420 (GET_Y_LINE (y),
       GET_U_LINE (y >> 1), GET_V_LINE (y >> 1), src, width / 2);
 }
 
@@ -96,7 +96,7 @@ unpack_YUY2 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_YUY2 (dest, GET_LINE (y), width / 2);
+  gst_video_orc_unpack_YUY2 (dest, GET_LINE (y), width / 2);
 }
 
 static void
@@ -105,7 +105,7 @@ pack_YUY2 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_YUY2 (GET_LINE (y), src, width / 2);
+  gst_video_orc_pack_YUY2 (GET_LINE (y), src, width / 2);
 }
 
 #define PACK_UYVY GST_VIDEO_FORMAT_AYUV, unpack_UYVY, 1, pack_UYVY
@@ -114,7 +114,7 @@ unpack_UYVY (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_UYVY (dest, GET_LINE (y), width / 2);
+  gst_video_orc_unpack_UYVY (dest, GET_LINE (y), width / 2);
 }
 
 static void
@@ -123,7 +123,7 @@ pack_UYVY (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_UYVY (GET_LINE (y), src, width / 2);
+  gst_video_orc_pack_UYVY (GET_LINE (y), src, width / 2);
 }
 
 #define PACK_YVYU GST_VIDEO_FORMAT_AYUV, unpack_YVYU, 1, pack_YVYU
@@ -132,7 +132,7 @@ unpack_YVYU (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_YVYU (dest, GET_LINE (y), width / 2);
+  gst_video_orc_unpack_YVYU (dest, GET_LINE (y), width / 2);
 }
 
 static void
@@ -141,7 +141,7 @@ pack_YVYU (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_YVYU (GET_LINE (y), src, width / 2);
+  gst_video_orc_pack_YVYU (GET_LINE (y), src, width / 2);
 }
 
 #define PACK_v308 GST_VIDEO_FORMAT_AYUV, unpack_v308, 1, pack_v308
@@ -368,7 +368,7 @@ unpack_Y41B (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_YUV9 (dest,
+  gst_video_orc_unpack_YUV9 (dest,
       GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), width / 2);
 }
 
@@ -423,7 +423,7 @@ unpack_Y42B (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_Y42B (dest,
+  gst_video_orc_unpack_Y42B (dest,
       GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), width / 2);
 }
 
@@ -433,7 +433,7 @@ pack_Y42B (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_Y42B (GET_Y_LINE (y),
+  gst_video_orc_pack_Y42B (GET_Y_LINE (y),
       GET_U_LINE (y), GET_V_LINE (y), src, width / 2);
 }
 
@@ -443,7 +443,8 @@ unpack_Y444 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_Y444 (dest, GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), width);
+  gst_video_orc_unpack_Y444 (dest, GET_Y_LINE (y), GET_U_LINE (y),
+      GET_V_LINE (y), width);
 }
 
 static void
@@ -452,7 +453,8 @@ pack_Y444 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_Y444 (GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), src, width);
+  gst_video_orc_pack_Y444 (GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), src,
+      width);
 }
 
 #define PACK_GRAY8 GST_VIDEO_FORMAT_AYUV, unpack_GRAY8, 1, pack_GRAY8
@@ -461,7 +463,7 @@ unpack_GRAY8 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_GRAY8 (dest, GET_LINE (y), width);
+  gst_video_orc_unpack_GRAY8 (dest, GET_LINE (y), width);
 }
 
 static void
@@ -470,7 +472,7 @@ pack_GRAY8 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_GRAY8 (GET_LINE (y), src, width);
+  gst_video_orc_pack_GRAY8 (GET_LINE (y), src, width);
 }
 
 #define PACK_GRAY16_BE GST_VIDEO_FORMAT_AYUV64, unpack_GRAY16_BE, 1, pack_GRAY16_BE
@@ -721,7 +723,7 @@ unpack_BGRA (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_BGRA (dest, GET_LINE (y), width);
+  gst_video_orc_unpack_BGRA (dest, GET_LINE (y), width);
 }
 
 static void
@@ -730,7 +732,7 @@ pack_BGRA (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_BGRA (GET_LINE (y), src, width);
+  gst_video_orc_pack_BGRA (GET_LINE (y), src, width);
 }
 
 #define PACK_ABGR GST_VIDEO_FORMAT_ARGB, unpack_ABGR, 1, pack_ABGR
@@ -739,7 +741,7 @@ unpack_ABGR (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_ABGR (dest, GET_LINE (y), width);
+  gst_video_orc_unpack_ABGR (dest, GET_LINE (y), width);
 }
 
 static void
@@ -748,7 +750,7 @@ pack_ABGR (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_ABGR (GET_LINE (y), src, width);
+  gst_video_orc_pack_ABGR (GET_LINE (y), src, width);
 }
 
 #define PACK_RGBA GST_VIDEO_FORMAT_ARGB, unpack_RGBA, 1, pack_RGBA
@@ -757,7 +759,7 @@ unpack_RGBA (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_RGBA (dest, GET_LINE (y), width);
+  gst_video_orc_unpack_RGBA (dest, GET_LINE (y), width);
 }
 
 static void
@@ -766,7 +768,7 @@ pack_RGBA (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_RGBA (GET_LINE (y), src, width);
+  gst_video_orc_pack_RGBA (GET_LINE (y), src, width);
 }
 
 #define PACK_RGB GST_VIDEO_FORMAT_ARGB, unpack_RGB, 1, pack_RGB
@@ -845,7 +847,7 @@ unpack_NV12 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_NV12 (dest,
+  gst_video_orc_unpack_NV12 (dest,
       GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), width / 2);
 }
 
@@ -855,7 +857,7 @@ pack_NV12 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_NV12 (GET_PLANE_LINE (0, y),
+  gst_video_orc_pack_NV12 (GET_PLANE_LINE (0, y),
       GET_PLANE_LINE (1, y >> 1), src, width / 2);
 }
 
@@ -865,7 +867,7 @@ unpack_NV21 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_NV21 (dest,
+  gst_video_orc_unpack_NV21 (dest,
       GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), width / 2);
 }
 
@@ -875,7 +877,7 @@ pack_NV21 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_NV21 (GET_PLANE_LINE (0, y),
+  gst_video_orc_pack_NV21 (GET_PLANE_LINE (0, y),
       GET_PLANE_LINE (1, y >> 1), src, width / 2);
 }
 
@@ -952,7 +954,7 @@ unpack_A420 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_A420 (dest,
+  gst_video_orc_unpack_A420 (dest,
       GET_Y_LINE (y), GET_U_LINE (y >> 1), GET_V_LINE (y >> 1), GET_A_LINE (y),
       width);
 }
@@ -963,7 +965,7 @@ pack_A420 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site,
     gint y, gint width)
 {
-  orc_pack_A420 (GET_Y_LINE (y),
+  gst_video_orc_pack_A420 (GET_Y_LINE (y),
       GET_U_LINE (y >> 1), GET_V_LINE (y >> 1), GET_A_LINE (y), src, width / 2);
 }
 
@@ -1015,7 +1017,7 @@ unpack_410 (const GstVideoFormatInfo * info, GstVideoPackFlags flags,
     gpointer dest, const gpointer data[GST_VIDEO_MAX_PLANES],
     const gint stride[GST_VIDEO_MAX_PLANES], gint x, gint y, gint width)
 {
-  orc_unpack_YUV9 (dest,
+  gst_video_orc_unpack_YUV9 (dest,
       GET_Y_LINE (y), GET_U_LINE (y >> 2), GET_V_LINE (y >> 2), width / 2);
 }
 
index ae8e987..dd2739c 100644 (file)
@@ -82,69 +82,76 @@ typedef union
 #ifndef DISABLE_ORC
 #include <orc/orc.h>
 #endif
-void orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
-    guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
-    guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
-    guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n);
-void orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n);
-void orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+void gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n);
-void orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+void gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
-    const guint8 * ORC_RESTRICT s4, int n);
-void orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
-    guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+void gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int n);
-void orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
+void gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int n);
+void gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1,
+    guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+    guint8 * ORC_RESTRICT d4, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int p1, int p2, int n);
-void orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
+void gst_video_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);
 
@@ -193,11 +200,11 @@ void orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
 
 
 
-/* orc_blend_little */
+/* gst_video_orc_blend_little */
 #ifdef DISABLE_ORC
 void
-orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -301,7 +308,7 @@ orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_blend_little (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_blend_little (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -405,8 +412,8 @@ _backup_orc_blend_little (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -418,8 +425,8 @@ orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_blend_little");
-      orc_program_set_backup_function (p, _backup_orc_blend_little);
+      orc_program_set_name (p, "gst_video_orc_blend_little");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_blend_little);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_constant (p, 4, 0x000000ff, "c1");
@@ -482,10 +489,11 @@ orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_blend_big */
+/* gst_video_orc_blend_big */
 #ifdef DISABLE_ORC
 void
-orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -592,7 +600,7 @@ orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_blend_big (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_blend_big (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -699,7 +707,8 @@ _backup_orc_blend_big (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -711,8 +720,8 @@ orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_blend_big");
-      orc_program_set_backup_function (p, _backup_orc_blend_big);
+      orc_program_set_name (p, "gst_video_orc_blend_big");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_blend_big);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_constant (p, 4, 0xff000000, "c1");
@@ -779,11 +788,12 @@ orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_I420 */
+/* gst_video_orc_unpack_I420 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -842,7 +852,7 @@ orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -901,8 +911,9 @@ _backup_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -914,8 +925,8 @@ orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_I420");
-      orc_program_set_backup_function (p, _backup_orc_unpack_I420);
+      orc_program_set_name (p, "gst_video_orc_unpack_I420");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_I420);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 1, "s1");
       orc_program_add_source (p, 1, "s2");
@@ -956,10 +967,10 @@ orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_I420 */
+/* gst_video_orc_pack_I420 */
 #ifdef DISABLE_ORC
 void
-orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
@@ -1056,7 +1067,7 @@ orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -1152,7 +1163,7 @@ _backup_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -1165,8 +1176,8 @@ orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_I420");
-      orc_program_set_backup_function (p, _backup_orc_pack_I420);
+      orc_program_set_name (p, "gst_video_orc_pack_I420");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_I420);
       orc_program_add_destination (p, 2, "d1");
       orc_program_add_destination (p, 1, "d2");
       orc_program_add_destination (p, 1, "d3");
@@ -1212,11 +1223,11 @@ orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_unpack_YUY2 */
+/* gst_video_orc_unpack_YUY2 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -1293,7 +1304,7 @@ orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -1370,8 +1381,8 @@ _backup_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -1383,8 +1394,8 @@ orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_YUY2");
-      orc_program_set_backup_function (p, _backup_orc_unpack_YUY2);
+      orc_program_set_name (p, "gst_video_orc_unpack_YUY2");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YUY2);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_constant (p, 2, 0x000000ff, "c1");
@@ -1419,10 +1430,11 @@ orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_YUY2 */
+/* gst_video_orc_pack_YUY2 */
 #ifdef DISABLE_ORC
 void
-orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -1498,7 +1510,7 @@ orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -1574,7 +1586,8 @@ _backup_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -1586,8 +1599,8 @@ orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_YUY2");
-      orc_program_set_backup_function (p, _backup_orc_pack_YUY2);
+      orc_program_set_name (p, "gst_video_orc_pack_YUY2");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_YUY2);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 8, "s1");
       orc_program_add_temporary (p, 2, "t1");
@@ -1624,10 +1637,11 @@ orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_pack_UYVY */
+/* gst_video_orc_pack_UYVY */
 #ifdef DISABLE_ORC
 void
-orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -1703,7 +1717,7 @@ orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -1779,7 +1793,8 @@ _backup_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -1791,8 +1806,8 @@ orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_UYVY");
-      orc_program_set_backup_function (p, _backup_orc_pack_UYVY);
+      orc_program_set_name (p, "gst_video_orc_pack_UYVY");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_UYVY);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 8, "s1");
       orc_program_add_temporary (p, 2, "t1");
@@ -1829,11 +1844,11 @@ orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_UYVY */
+/* gst_video_orc_unpack_UYVY */
 #ifdef DISABLE_ORC
 void
-orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -1910,7 +1925,7 @@ orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -1987,8 +2002,8 @@ _backup_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -2000,8 +2015,8 @@ orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_UYVY");
-      orc_program_set_backup_function (p, _backup_orc_unpack_UYVY);
+      orc_program_set_name (p, "gst_video_orc_unpack_UYVY");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_UYVY);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_constant (p, 2, 0x000000ff, "c1");
@@ -2036,11 +2051,11 @@ orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_unpack_YVYU */
+/* gst_video_orc_unpack_YVYU */
 #ifdef DISABLE_ORC
 void
-orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -2120,7 +2135,7 @@ orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -2200,8 +2215,8 @@ _backup_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -2213,8 +2228,8 @@ orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_YVYU");
-      orc_program_set_backup_function (p, _backup_orc_unpack_YVYU);
+      orc_program_set_name (p, "gst_video_orc_unpack_YVYU");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YVYU);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_constant (p, 2, 0x000000ff, "c1");
@@ -2251,10 +2266,11 @@ orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_YVYU */
+/* gst_video_orc_pack_YVYU */
 #ifdef DISABLE_ORC
 void
-orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -2333,7 +2349,7 @@ orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -2412,7 +2428,8 @@ _backup_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -2424,8 +2441,8 @@ orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_YVYU");
-      orc_program_set_backup_function (p, _backup_orc_pack_YVYU);
+      orc_program_set_name (p, "gst_video_orc_pack_YVYU");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_YVYU);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 8, "s1");
       orc_program_add_temporary (p, 2, "t1");
@@ -2464,11 +2481,12 @@ orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_YUV9 */
+/* gst_video_orc_unpack_YUV9 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -2548,7 +2566,7 @@ orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -2628,8 +2646,9 @@ _backup_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -2641,8 +2660,8 @@ orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_YUV9");
-      orc_program_set_backup_function (p, _backup_orc_unpack_YUV9);
+      orc_program_set_name (p, "gst_video_orc_unpack_YUV9");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YUV9);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 2, "s1");
       orc_program_add_source (p, 1, "s2");
@@ -2686,11 +2705,12 @@ orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_unpack_Y42B */
+/* gst_video_orc_unpack_Y42B */
 #ifdef DISABLE_ORC
 void
-orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -2770,7 +2790,7 @@ orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -2850,8 +2870,9 @@ _backup_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -2863,8 +2884,8 @@ orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_Y42B");
-      orc_program_set_backup_function (p, _backup_orc_unpack_Y42B);
+      orc_program_set_name (p, "gst_video_orc_unpack_Y42B");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_Y42B);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 2, "s1");
       orc_program_add_source (p, 1, "s2");
@@ -2903,10 +2924,10 @@ orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_Y42B */
+/* gst_video_orc_pack_Y42B */
 #ifdef DISABLE_ORC
 void
-orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
@@ -2986,7 +3007,7 @@ orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3065,7 +3086,7 @@ _backup_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -3078,8 +3099,8 @@ orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_Y42B");
-      orc_program_set_backup_function (p, _backup_orc_pack_Y42B);
+      orc_program_set_name (p, "gst_video_orc_pack_Y42B");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_Y42B);
       orc_program_add_destination (p, 2, "d1");
       orc_program_add_destination (p, 1, "d2");
       orc_program_add_destination (p, 1, "d3");
@@ -3119,11 +3140,12 @@ orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_unpack_Y444 */
+/* gst_video_orc_unpack_Y444 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -3182,7 +3204,7 @@ orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3241,8 +3263,9 @@ _backup_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n)
+gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -3254,8 +3277,8 @@ orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_Y444");
-      orc_program_set_backup_function (p, _backup_orc_unpack_Y444);
+      orc_program_set_name (p, "gst_video_orc_unpack_Y444");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_Y444);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 1, "s1");
       orc_program_add_source (p, 1, "s2");
@@ -3290,10 +3313,10 @@ orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_Y444 */
+/* gst_video_orc_pack_Y444 */
 #ifdef DISABLE_ORC
 void
-orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
@@ -3349,7 +3372,7 @@ orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3404,7 +3427,7 @@ _backup_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -3417,8 +3440,8 @@ orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_Y444");
-      orc_program_set_backup_function (p, _backup_orc_pack_Y444);
+      orc_program_set_name (p, "gst_video_orc_pack_Y444");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_Y444);
       orc_program_add_destination (p, 1, "d1");
       orc_program_add_destination (p, 1, "d2");
       orc_program_add_destination (p, 1, "d3");
@@ -3452,11 +3475,11 @@ orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_unpack_GRAY8 */
+/* gst_video_orc_unpack_GRAY8 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -3500,7 +3523,7 @@ orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3544,8 +3567,8 @@ _backup_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -3557,8 +3580,8 @@ orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_GRAY8");
-      orc_program_set_backup_function (p, _backup_orc_unpack_GRAY8);
+      orc_program_set_name (p, "gst_video_orc_unpack_GRAY8");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_GRAY8);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 1, "s1");
       orc_program_add_constant (p, 1, 0x000000ff, "c1");
@@ -3587,10 +3610,11 @@ orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_GRAY8 */
+/* gst_video_orc_pack_GRAY8 */
 #ifdef DISABLE_ORC
 void
-orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_int8 *ORC_RESTRICT ptr0;
@@ -3626,7 +3650,7 @@ orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3662,7 +3686,8 @@ _backup_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -3674,8 +3699,8 @@ orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_GRAY8");
-      orc_program_set_backup_function (p, _backup_orc_pack_GRAY8);
+      orc_program_set_name (p, "gst_video_orc_pack_GRAY8");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_GRAY8);
       orc_program_add_destination (p, 1, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_temporary (p, 2, "t1");
@@ -3702,11 +3727,11 @@ orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_BGRA */
+/* gst_video_orc_unpack_BGRA */
 #ifdef DISABLE_ORC
 void
-orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -3731,7 +3756,7 @@ orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3756,8 +3781,8 @@ _backup_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -3769,8 +3794,8 @@ orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_BGRA");
-      orc_program_set_backup_function (p, _backup_orc_unpack_BGRA);
+      orc_program_set_name (p, "gst_video_orc_unpack_BGRA");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_BGRA);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
 
@@ -3794,10 +3819,11 @@ orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_BGRA */
+/* gst_video_orc_pack_BGRA */
 #ifdef DISABLE_ORC
 void
-orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -3822,7 +3848,7 @@ orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -3847,7 +3873,8 @@ _backup_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -3859,8 +3886,8 @@ orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_BGRA");
-      orc_program_set_backup_function (p, _backup_orc_pack_BGRA);
+      orc_program_set_name (p, "gst_video_orc_pack_BGRA");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_BGRA);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
 
@@ -3884,10 +3911,11 @@ orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_pack_RGBA */
+/* gst_video_orc_pack_RGBA */
 #ifdef DISABLE_ORC
 void
-orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -3960,7 +3988,7 @@ orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -4033,7 +4061,8 @@ _backup_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -4045,8 +4074,8 @@ orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_RGBA");
-      orc_program_set_backup_function (p, _backup_orc_pack_RGBA);
+      orc_program_set_name (p, "gst_video_orc_pack_RGBA");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_RGBA);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_temporary (p, 1, "t1");
@@ -4088,11 +4117,11 @@ orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_RGBA */
+/* gst_video_orc_unpack_RGBA */
 #ifdef DISABLE_ORC
 void
-orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -4165,7 +4194,7 @@ orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -4238,8 +4267,8 @@ _backup_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -4251,8 +4280,8 @@ orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_RGBA");
-      orc_program_set_backup_function (p, _backup_orc_unpack_RGBA);
+      orc_program_set_name (p, "gst_video_orc_unpack_RGBA");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_RGBA);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_temporary (p, 1, "t1");
@@ -4294,11 +4323,11 @@ orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_unpack_ABGR */
+/* gst_video_orc_unpack_ABGR */
 #ifdef DISABLE_ORC
 void
-orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -4371,7 +4400,7 @@ orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -4444,8 +4473,8 @@ _backup_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    int n)
+gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -4457,8 +4486,8 @@ orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_ABGR");
-      orc_program_set_backup_function (p, _backup_orc_unpack_ABGR);
+      orc_program_set_name (p, "gst_video_orc_unpack_ABGR");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_ABGR);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_temporary (p, 1, "t1");
@@ -4500,10 +4529,11 @@ orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_ABGR */
+/* gst_video_orc_pack_ABGR */
 #ifdef DISABLE_ORC
 void
-orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -4576,7 +4606,7 @@ orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 
 #else
 static void
-_backup_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -4649,7 +4679,8 @@ _backup_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
+gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -4661,8 +4692,8 @@ orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_ABGR");
-      orc_program_set_backup_function (p, _backup_orc_pack_ABGR);
+      orc_program_set_name (p, "gst_video_orc_pack_ABGR");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_ABGR);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_temporary (p, 1, "t1");
@@ -4704,11 +4735,11 @@ orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n)
 #endif
 
 
-/* orc_unpack_NV12 */
+/* gst_video_orc_unpack_NV12 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n)
+gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -4778,7 +4809,7 @@ orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -4848,8 +4879,8 @@ _backup_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n)
+gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -4861,8 +4892,8 @@ orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_NV12");
-      orc_program_set_backup_function (p, _backup_orc_unpack_NV12);
+      orc_program_set_name (p, "gst_video_orc_unpack_NV12");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_NV12);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 2, "s1");
       orc_program_add_source (p, 2, "s2");
@@ -4895,10 +4926,10 @@ orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_NV12 */
+/* gst_video_orc_pack_NV12 */
 #ifdef DISABLE_ORC
 void
-orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
@@ -4965,7 +4996,7 @@ orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -5031,7 +5062,7 @@ _backup_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -5044,8 +5075,8 @@ orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_NV12");
-      orc_program_set_backup_function (p, _backup_orc_pack_NV12);
+      orc_program_set_name (p, "gst_video_orc_pack_NV12");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_NV12);
       orc_program_add_destination (p, 2, "d1");
       orc_program_add_destination (p, 2, "d2");
       orc_program_add_source (p, 8, "s1");
@@ -5081,11 +5112,11 @@ orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_unpack_NV21 */
+/* gst_video_orc_unpack_NV21 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n)
+gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
 {
   int i;
   orc_union64 *ORC_RESTRICT ptr0;
@@ -5155,7 +5186,7 @@ orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -5225,8 +5256,8 @@ _backup_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, int n)
+gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -5238,8 +5269,8 @@ orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_NV21");
-      orc_program_set_backup_function (p, _backup_orc_unpack_NV21);
+      orc_program_set_name (p, "gst_video_orc_unpack_NV21");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_NV21);
       orc_program_add_destination (p, 8, "d1");
       orc_program_add_source (p, 2, "s1");
       orc_program_add_source (p, 2, "s2");
@@ -5275,10 +5306,10 @@ orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_NV21 */
+/* gst_video_orc_pack_NV21 */
 #ifdef DISABLE_ORC
 void
-orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     const guint8 * ORC_RESTRICT s1, int n)
 {
   int i;
@@ -5348,7 +5379,7 @@ orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -5417,7 +5448,7 @@ _backup_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     const guint8 * ORC_RESTRICT s1, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -5430,8 +5461,8 @@ orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_NV21");
-      orc_program_set_backup_function (p, _backup_orc_pack_NV21);
+      orc_program_set_name (p, "gst_video_orc_pack_NV21");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_NV21);
       orc_program_add_destination (p, 2, "d1");
       orc_program_add_destination (p, 2, "d2");
       orc_program_add_source (p, 8, "s1");
@@ -5470,12 +5501,12 @@ orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_unpack_A420 */
+/* gst_video_orc_unpack_A420 */
 #ifdef DISABLE_ORC
 void
-orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
-    const guint8 * ORC_RESTRICT s4, int n)
+gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int n)
 {
   int i;
   orc_union32 *ORC_RESTRICT ptr0;
@@ -5536,7 +5567,7 @@ orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 
 #else
 static void
-_backup_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -5597,9 +5628,9 @@ _backup_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
-    const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
-    const guint8 * ORC_RESTRICT s4, int n)
+gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1,
+    const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+    const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
   static volatile int p_inited = 0;
@@ -5611,8 +5642,8 @@ orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_unpack_A420");
-      orc_program_set_backup_function (p, _backup_orc_unpack_A420);
+      orc_program_set_name (p, "gst_video_orc_unpack_A420");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_A420);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 1, "s1");
       orc_program_add_source (p, 1, "s2");
@@ -5654,10 +5685,10 @@ orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
 #endif
 
 
-/* orc_pack_A420 */
+/* gst_video_orc_pack_A420 */
 #ifdef DISABLE_ORC
 void
-orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
     const guint8 * ORC_RESTRICT s1, int n)
 {
@@ -5771,7 +5802,7 @@ orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 
 #else
 static void
-_backup_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -5883,7 +5914,7 @@ _backup_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
     const guint8 * ORC_RESTRICT s1, int n)
 {
@@ -5897,8 +5928,8 @@ orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_pack_A420");
-      orc_program_set_backup_function (p, _backup_orc_pack_A420);
+      orc_program_set_name (p, "gst_video_orc_pack_A420");
+      orc_program_set_backup_function (p, _backup_gst_video_orc_pack_A420);
       orc_program_add_destination (p, 2, "d1");
       orc_program_add_destination (p, 1, "d2");
       orc_program_add_destination (p, 1, "d3");
@@ -5948,10 +5979,10 @@ orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
 #endif
 
 
-/* orc_resample_bilinear_u32 */
+/* gst_video_orc_resample_bilinear_u32 */
 #ifdef DISABLE_ORC
 void
-orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
+gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int p1, int p2, int n)
 {
   int i;
@@ -5990,7 +6021,7 @@ orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
 
 #else
 static void
-_backup_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -6028,7 +6059,7 @@ _backup_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
+gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
     const guint8 * ORC_RESTRICT s1, int p1, int p2, int n)
 {
   OrcExecutor _ex, *ex = &_ex;
@@ -6041,8 +6072,9 @@ orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_resample_bilinear_u32");
-      orc_program_set_backup_function (p, _backup_orc_resample_bilinear_u32);
+      orc_program_set_name (p, "gst_video_orc_resample_bilinear_u32");
+      orc_program_set_backup_function (p,
+          _backup_gst_video_orc_resample_bilinear_u32);
       orc_program_add_destination (p, 4, "d1");
       orc_program_add_source (p, 4, "s1");
       orc_program_add_parameter (p, 4, "p1");
@@ -6070,10 +6102,10 @@ orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1,
 #endif
 
 
-/* orc_merge_linear_u8 */
+/* gst_video_orc_merge_linear_u8 */
 #ifdef DISABLE_ORC
 void
-orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
+gst_video_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)
 {
@@ -6132,7 +6164,7 @@ orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
 
 #else
 static void
-_backup_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex)
+_backup_gst_video_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex)
 {
   int i;
   int n = ex->n;
@@ -6189,7 +6221,7 @@ _backup_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex)
 }
 
 void
-orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
+gst_video_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)
 {
@@ -6203,8 +6235,9 @@ orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1,
     if (!p_inited) {
 
       p = orc_program_new ();
-      orc_program_set_name (p, "orc_merge_linear_u8");
-      orc_program_set_backup_function (p, _backup_orc_merge_linear_u8);
+      orc_program_set_name (p, "gst_video_orc_merge_linear_u8");
+      orc_program_set_backup_function (p,
+          _backup_gst_video_orc_merge_linear_u8);
       orc_program_add_destination (p, 1, "d1");
       orc_program_add_source (p, 1, "s1");
       orc_program_add_source (p, 1, "s2");
index 5a73b47..6938269 100644 (file)
@@ -67,37 +67,37 @@ typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16
 #define ORC_RESTRICT
 #endif
 #endif
-void orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
-void orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
-void orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
-void orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
-void orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int n);
-void orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4, const guint8 * ORC_RESTRICT s1, int n);
-void orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n);
-void 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 gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int n);
+void gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4, const guint8 * ORC_RESTRICT s1, int n);
+void gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n);
+void gst_video_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);
 
 #ifdef __cplusplus
 }
index ddaebcb..53cd77d 100644 (file)
@@ -1,4 +1,4 @@
-.function orc_blend_little
+.function gst_video_orc_blend_little
 .flags 1d
 .dest 4 d guint8
 .source 4 s guint8
@@ -28,7 +28,7 @@ x4 convwb t, d_wide
 orl t, t, a_alpha
 storel d, t
 
-.function orc_blend_big
+.function gst_video_orc_blend_big
 .flags 1d
 .dest 4 d guint8
 .source 4 s guint8
@@ -60,7 +60,7 @@ x4 convwb t, d_wide
 orl t, t, a_alpha
 storel d, t
 
-.function orc_unpack_I420
+.function gst_video_orc_unpack_I420
 .dest 4 d guint8
 .source 1 y guint8
 .source 1 u guint8
@@ -78,7 +78,7 @@ mergebw ay, c255, y
 mergewl d, ay, uv
 
 
-.function orc_pack_I420
+.function gst_video_orc_pack_I420
 .dest 2 y guint8
 .dest 1 u guint8
 .dest 1 v guint8
@@ -98,7 +98,7 @@ avgub u, t1, t2
 splitwb t1, t2, vv
 avgub v, t1, t2
 
-.function orc_unpack_YUY2
+.function gst_video_orc_unpack_YUY2
 .dest 8 ayuv guint8
 .source 4 yuy2 guint8
 .const 2 c255 0xff
@@ -113,7 +113,7 @@ mergewl uvuv, uv, uv
 x2 mergewl ayuv, ayay, uvuv
 
 
-.function orc_pack_YUY2
+.function gst_video_orc_pack_YUY2
 .dest 4 yuy2 guint8
 .source 8 ayuv guint8
 .temp 2 yy
@@ -129,7 +129,7 @@ x2 select1wb yy, ayay
 x2 mergebw yuy2, yy, uv1
 
 
-.function orc_pack_UYVY
+.function gst_video_orc_pack_UYVY
 .dest 4 yuy2 guint8
 .source 8 ayuv guint8
 .temp 2 yy
@@ -145,7 +145,7 @@ x2 select1wb yy, ayay
 x2 mergebw yuy2, uv1, yy
 
 
-.function orc_unpack_UYVY
+.function gst_video_orc_unpack_UYVY
 .dest 8 ayuv guint8
 .source 4 uyvy guint8
 .const 2 c255 0xff
@@ -160,7 +160,7 @@ mergewl uvuv, uv, uv
 x2 mergewl ayuv, ayay, uvuv
 
 
-.function orc_unpack_YVYU
+.function gst_video_orc_unpack_YVYU
 .dest 8 ayuv guint8
 .source 4 uyvy guint8
 .const 2 c255 0xff
@@ -176,7 +176,7 @@ mergewl uvuv, uv, uv
 x2 mergewl ayuv, ayay, uvuv
 
 
-.function orc_pack_YVYU
+.function gst_video_orc_pack_YVYU
 .dest 4 yuy2 guint8
 .source 8 ayuv guint8
 .temp 2 yy
@@ -193,7 +193,7 @@ swapw uv1, uv1
 x2 mergebw yuy2, yy, uv1
 
 
-.function orc_unpack_YUV9
+.function gst_video_orc_unpack_YUV9
 .dest 8 d guint8
 .source 2 y guint8
 .source 1 u guint8
@@ -213,7 +213,7 @@ x2 mergebw ay, c255, y
 x2 mergewl d, ay, uv
 
 
-.function orc_unpack_Y42B
+.function gst_video_orc_unpack_Y42B
 .dest 8 ayuv guint8
 .source 2 yy guint8
 .source 1 u guint8
@@ -229,7 +229,7 @@ x2 mergebw ayay, c255, yy
 mergewl uvuv, uv, uv
 x2 mergewl ayuv, ayay, uvuv
 
-.function orc_pack_Y42B
+.function gst_video_orc_pack_Y42B
 .dest 2 y guint8
 .dest 1 u guint8
 .dest 1 v guint8
@@ -246,7 +246,7 @@ splitwb v, u, uv1
 x2 select1wb y, ayay
 
 
-.function orc_unpack_Y444
+.function gst_video_orc_unpack_Y444
 .dest 4 ayuv guint8
 .source 1 y guint8
 .source 1 u guint8
@@ -260,7 +260,7 @@ mergebw ay, c255, y
 mergewl ayuv, ay, uv
 
 
-.function orc_pack_Y444
+.function gst_video_orc_pack_Y444
 .dest 1 y guint8
 .dest 1 u guint8
 .dest 1 v guint8
@@ -272,7 +272,7 @@ splitlw uv, ay, ayuv
 splitwb v, u, uv
 select1wb y, ay
 
-.function orc_unpack_GRAY8
+.function gst_video_orc_unpack_GRAY8
 .dest 4 ayuv guint8
 .source 1 y guint8
 .const 1 c255 255
@@ -283,7 +283,7 @@ mergebw ay, c255, y
 mergewl ayuv, ay, c0x8080
 
 
-.function orc_pack_GRAY8
+.function gst_video_orc_pack_GRAY8
 .dest 1 y guint8
 .source 4 ayuv guint8
 .temp 2 ay
@@ -292,19 +292,19 @@ select0lw ay, ayuv
 select1wb y, ay
 
 
-.function orc_unpack_BGRA
+.function gst_video_orc_unpack_BGRA
 .dest 4 argb guint8
 .source 4 bgra guint8
 
 swapl argb, bgra
 
-.function orc_pack_BGRA
+.function gst_video_orc_pack_BGRA
 .dest 4 bgra guint8
 .source 4 argb guint8
 
 swapl bgra, argb
 
-.function orc_pack_RGBA
+.function gst_video_orc_pack_RGBA
 .dest 4 rgba guint8
 .source 4 argb guint8
 .temp 1 a
@@ -323,7 +323,7 @@ mergebw ba, b, a
 mergebw rg, r, g
 mergewl rgba, rg, ba
 
-.function orc_unpack_RGBA
+.function gst_video_orc_unpack_RGBA
 .dest 4 argb guint8
 .source 4 rgba guint8
 .temp 1 a
@@ -343,7 +343,7 @@ mergebw gb, g, b
 mergewl argb, ar, gb
 
 
-.function orc_unpack_ABGR
+.function gst_video_orc_unpack_ABGR
 .dest 4 argb guint8
 .source 4 abgr guint8
 .temp 1 a
@@ -363,7 +363,7 @@ mergebw gb, g, b
 mergewl argb, ar, gb
 
 
-.function orc_pack_ABGR
+.function gst_video_orc_pack_ABGR
 .dest 4 abgr guint8
 .source 4 argb guint8
 .temp 1 a
@@ -382,7 +382,7 @@ mergebw ab, a, b
 mergebw gr, g, r
 mergewl abgr, ab, gr
 
-.function orc_unpack_NV12
+.function gst_video_orc_unpack_NV12
 .dest 8 d guint8
 .source 2 y guint8
 .source 2 uv guint8
@@ -394,7 +394,7 @@ mergewl uvuv, uv, uv
 x2 mergebw ay, c255, y
 x2 mergewl d, ay, uvuv
 
-.function orc_pack_NV12
+.function gst_video_orc_pack_NV12
 .dest 2 y guint8
 .dest 2 uv guint8
 .source 8 ayuv guint8
@@ -408,7 +408,7 @@ x2 select1wb y, ay
 splitlw uv1, uv2, uvuv
 x2 avgub uv, uv1, uv2
 
-.function orc_unpack_NV21
+.function gst_video_orc_unpack_NV21
 .dest 8 d guint8
 .source 2 y guint8
 .source 2 vu guint8
@@ -423,7 +423,7 @@ x2 mergebw ay, c255, y
 x2 mergewl d, ay, uvuv
 
 
-.function orc_pack_NV21
+.function gst_video_orc_pack_NV21
 .dest 2 y guint8
 .dest 2 vu guint8
 .source 8 ayuv guint8
@@ -440,7 +440,7 @@ x2 avgub uv, uv1, uv2
 swapw vu, uv
 
 
-.function orc_unpack_A420
+.function gst_video_orc_unpack_A420
 .dest 4 d guint8
 .source 1 y guint8
 .source 1 u guint8
@@ -457,7 +457,7 @@ mergebw uv, tu, tv
 mergebw ay, a, y
 mergewl d, ay, uv
 
-.function orc_pack_A420
+.function gst_video_orc_pack_A420
 .dest 2 y guint8
 .dest 1 u guint8
 .dest 1 v guint8
@@ -479,7 +479,7 @@ avgub u, t1, t2
 splitwb t1, t2, vv
 avgub v, t1, t2
 
-.function orc_resample_bilinear_u32
+.function gst_video_orc_resample_bilinear_u32
 .dest 4 d1 guint8
 .source 4 s1 guint8
 .param 4 p1
@@ -487,7 +487,7 @@ avgub v, t1, t2
 
 ldreslinl d1, s1, p1, p2
 
-.function orc_merge_linear_u8
+.function gst_video_orc_merge_linear_u8
 .dest 1 d1
 .source 1 s1
 .source 1 s2