From 38552a2a8ae5e6f66dc2130e8a69886230e61ff4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 23 Jul 2012 17:10:08 +0200 Subject: [PATCH] video: rename gst_video_orc_* to video_orc_* Because then the functions would not be exported --- gst-libs/gst/video/video-blend.c | 12 +- gst-libs/gst/video/video-format.c | 56 +-- gst-libs/gst/video/video-orc-dist.c | 548 ++++++++++++++-------------- gst-libs/gst/video/video-orc-dist.h | 62 ++-- gst-libs/gst/video/video-orc.orc | 62 ++-- 5 files changed, 364 insertions(+), 376 deletions(-) diff --git a/gst-libs/gst/video/video-blend.c b/gst-libs/gst/video/video-blend.c index d462195c64..f79959a343 100644 --- a/gst-libs/gst/video/video-blend.c +++ b/gst-libs/gst/video/video-blend.c @@ -197,7 +197,7 @@ gst_video_blend_scale_linear_RGBA (GstVideoInfo * src, GstBuffer * src_buffer, src_pixels = GST_VIDEO_FRAME_PLANE_DATA (&src_frame, 0); acc = 0; - gst_video_orc_resample_bilinear_u32 (LINE (0), src_pixels, 0, x_increment, + video_orc_resample_bilinear_u32 (LINE (0), src_pixels, 0, x_increment, dest_width); y1 = 0; for (i = 0; i < dest_height; i++) { @@ -208,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) { - gst_video_orc_resample_bilinear_u32 (LINE (j), + video_orc_resample_bilinear_u32 (LINE (j), src_pixels + j * src_stride, 0, x_increment, dest_width); y1++; } if (j >= y1) { - gst_video_orc_resample_bilinear_u32 (LINE (j + 1), + video_orc_resample_bilinear_u32 (LINE (j + 1), src_pixels + (j + 1) * src_stride, 0, x_increment, dest_width); y1++; } - gst_video_orc_merge_linear_u8 (dest_pixels + i * dest_stride, + video_orc_merge_linear_u8 (dest_pixels + i * dest_stride, LINE (j), LINE (j + 1), (x >> 8), dest_width * 4); } @@ -373,9 +373,9 @@ gst_video_blend (GstVideoFrame * dest, /* FIXME * #if G_BYTE_ORDER == LITTLE_ENDIAN - * gst_video_orc_blend_little (tmpdestline, tmpsrcline, dest->width); + * video_orc_blend_little (tmpdestline, tmpsrcline, dest->width); * #else - * gst_video_orc_blend_big (tmpdestline, tmpsrcline, src->width); + * video_orc_blend_big (tmpdestline, tmpsrcline, src->width); * #endif */ diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index ac77cf2963..5cff10769c 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -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) { - gst_video_orc_unpack_I420 (dest, + 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) { - gst_video_orc_pack_I420 (GET_Y_LINE (y), + 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) { - gst_video_orc_unpack_YUY2 (dest, GET_LINE (y), width / 2); + 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) { - gst_video_orc_pack_YUY2 (GET_LINE (y), src, width / 2); + 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) { - gst_video_orc_unpack_UYVY (dest, GET_LINE (y), width / 2); + 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) { - gst_video_orc_pack_UYVY (GET_LINE (y), src, width / 2); + 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) { - gst_video_orc_unpack_YVYU (dest, GET_LINE (y), width / 2); + 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) { - gst_video_orc_pack_YVYU (GET_LINE (y), src, width / 2); + 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) { - gst_video_orc_unpack_YUV9 (dest, + 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) { - gst_video_orc_unpack_Y42B (dest, + 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) { - gst_video_orc_pack_Y42B (GET_Y_LINE (y), + video_orc_pack_Y42B (GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), src, width / 2); } @@ -443,7 +443,7 @@ 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) { - gst_video_orc_unpack_Y444 (dest, GET_Y_LINE (y), GET_U_LINE (y), + video_orc_unpack_Y444 (dest, GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), width); } @@ -453,7 +453,7 @@ pack_Y444 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_Y444 (GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), src, + video_orc_pack_Y444 (GET_Y_LINE (y), GET_U_LINE (y), GET_V_LINE (y), src, width); } @@ -463,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) { - gst_video_orc_unpack_GRAY8 (dest, GET_LINE (y), width); + video_orc_unpack_GRAY8 (dest, GET_LINE (y), width); } static void @@ -472,7 +472,7 @@ pack_GRAY8 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_GRAY8 (GET_LINE (y), src, width); + video_orc_pack_GRAY8 (GET_LINE (y), src, width); } #define PACK_GRAY16_BE GST_VIDEO_FORMAT_AYUV64, unpack_GRAY16_BE, 1, pack_GRAY16_BE @@ -723,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) { - gst_video_orc_unpack_BGRA (dest, GET_LINE (y), width); + video_orc_unpack_BGRA (dest, GET_LINE (y), width); } static void @@ -732,7 +732,7 @@ pack_BGRA (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_BGRA (GET_LINE (y), src, width); + video_orc_pack_BGRA (GET_LINE (y), src, width); } #define PACK_ABGR GST_VIDEO_FORMAT_ARGB, unpack_ABGR, 1, pack_ABGR @@ -741,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) { - gst_video_orc_unpack_ABGR (dest, GET_LINE (y), width); + video_orc_unpack_ABGR (dest, GET_LINE (y), width); } static void @@ -750,7 +750,7 @@ pack_ABGR (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_ABGR (GET_LINE (y), src, width); + video_orc_pack_ABGR (GET_LINE (y), src, width); } #define PACK_RGBA GST_VIDEO_FORMAT_ARGB, unpack_RGBA, 1, pack_RGBA @@ -759,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) { - gst_video_orc_unpack_RGBA (dest, GET_LINE (y), width); + video_orc_unpack_RGBA (dest, GET_LINE (y), width); } static void @@ -768,7 +768,7 @@ pack_RGBA (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_RGBA (GET_LINE (y), src, width); + video_orc_pack_RGBA (GET_LINE (y), src, width); } #define PACK_RGB GST_VIDEO_FORMAT_ARGB, unpack_RGB, 1, pack_RGB @@ -847,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) { - gst_video_orc_unpack_NV12 (dest, + video_orc_unpack_NV12 (dest, GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), width / 2); } @@ -857,7 +857,7 @@ pack_NV12 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_NV12 (GET_PLANE_LINE (0, y), + video_orc_pack_NV12 (GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), src, width / 2); } @@ -867,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) { - gst_video_orc_unpack_NV21 (dest, + video_orc_unpack_NV21 (dest, GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), width / 2); } @@ -877,7 +877,7 @@ pack_NV21 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_NV21 (GET_PLANE_LINE (0, y), + video_orc_pack_NV21 (GET_PLANE_LINE (0, y), GET_PLANE_LINE (1, y >> 1), src, width / 2); } @@ -954,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) { - gst_video_orc_unpack_A420 (dest, + video_orc_unpack_A420 (dest, GET_Y_LINE (y), GET_U_LINE (y >> 1), GET_V_LINE (y >> 1), GET_A_LINE (y), width); } @@ -965,7 +965,7 @@ pack_A420 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const gint stride[GST_VIDEO_MAX_PLANES], GstVideoChromaSite chroma_site, gint y, gint width) { - gst_video_orc_pack_A420 (GET_Y_LINE (y), + 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); } @@ -1017,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) { - gst_video_orc_unpack_YUV9 (dest, + video_orc_unpack_YUV9 (dest, GET_Y_LINE (y), GET_U_LINE (y >> 2), GET_V_LINE (y >> 2), width / 2); } diff --git a/gst-libs/gst/video/video-orc-dist.c b/gst-libs/gst/video/video-orc-dist.c index dd2739c3dd..b120df1fd9 100644 --- a/gst-libs/gst/video/video-orc-dist.c +++ b/gst-libs/gst/video/video-orc-dist.c @@ -82,76 +82,73 @@ typedef union #ifndef DISABLE_ORC #include #endif -void gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, +void 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, +void 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, +void 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, +void video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, + guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, +void video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, +void video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, +void video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, +void video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, +void video_orc_pack_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, +void 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, +void 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, +void video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, + guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void 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, +void video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, + guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, +void video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, +void video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, +void video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, +void video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, +void video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, +void video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); -void gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, +void video_orc_pack_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, +void 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, +void video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, + const guint8 * ORC_RESTRICT s1, int n); +void 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, +void video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, + const guint8 * ORC_RESTRICT s1, int n); +void 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, +void 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 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, +void 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); @@ -200,10 +197,10 @@ void gst_video_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, -/* gst_video_orc_blend_little */ +/* video_orc_blend_little */ #ifdef DISABLE_ORC void -gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, +video_orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n) { int i; @@ -308,7 +305,7 @@ gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_blend_little (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_blend_little (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -412,7 +409,7 @@ _backup_gst_video_orc_blend_little (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, +video_orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; @@ -425,8 +422,8 @@ gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_blend_little"); - orc_program_set_backup_function (p, _backup_gst_video_orc_blend_little); + orc_program_set_name (p, "video_orc_blend_little"); + orc_program_set_backup_function (p, _backup_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"); @@ -489,11 +486,11 @@ gst_video_orc_blend_little (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_blend_big */ +/* video_orc_blend_big */ #ifdef DISABLE_ORC void -gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -600,7 +597,7 @@ gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_blend_big (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_blend_big (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -707,8 +704,8 @@ _backup_gst_video_orc_blend_big (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -720,8 +717,8 @@ gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_blend_big"); - orc_program_set_backup_function (p, _backup_gst_video_orc_blend_big); + orc_program_set_name (p, "video_orc_blend_big"); + orc_program_set_backup_function (p, _backup_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"); @@ -788,12 +785,11 @@ gst_video_orc_blend_big (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_I420 */ +/* video_orc_unpack_I420 */ #ifdef DISABLE_ORC 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) +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; @@ -852,7 +848,7 @@ gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -911,9 +907,8 @@ _backup_gst_video_orc_unpack_I420 (OrcExecutor * ORC_RESTRICT ex) } 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) +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; @@ -925,8 +920,8 @@ gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_I420"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_I420); + orc_program_set_name (p, "video_orc_unpack_I420"); + orc_program_set_backup_function (p, _backup_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"); @@ -967,10 +962,10 @@ gst_video_orc_unpack_I420 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_I420 */ +/* video_orc_pack_I420 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -1067,7 +1062,7 @@ gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -1163,7 +1158,7 @@ _backup_gst_video_orc_pack_I420 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -1176,8 +1171,8 @@ gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_I420"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_I420); + orc_program_set_name (p, "video_orc_pack_I420"); + orc_program_set_backup_function (p, _backup_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"); @@ -1223,11 +1218,11 @@ gst_video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_unpack_YUY2 */ +/* video_orc_unpack_YUY2 */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union64 *ORC_RESTRICT ptr0; @@ -1304,7 +1299,7 @@ gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -1381,8 +1376,8 @@ _backup_gst_video_orc_unpack_YUY2 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -1394,8 +1389,8 @@ gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_YUY2"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YUY2); + orc_program_set_name (p, "video_orc_unpack_YUY2"); + orc_program_set_backup_function (p, _backup_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"); @@ -1430,11 +1425,11 @@ gst_video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_YUY2 */ +/* video_orc_pack_YUY2 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -1510,7 +1505,7 @@ gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -1586,8 +1581,8 @@ _backup_gst_video_orc_pack_YUY2 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -1599,8 +1594,8 @@ gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_YUY2"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_YUY2); + orc_program_set_name (p, "video_orc_pack_YUY2"); + orc_program_set_backup_function (p, _backup_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"); @@ -1637,11 +1632,11 @@ gst_video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_UYVY */ +/* video_orc_pack_UYVY */ #ifdef DISABLE_ORC void -gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -1717,7 +1712,7 @@ gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -1793,8 +1788,8 @@ _backup_gst_video_orc_pack_UYVY (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -1806,8 +1801,8 @@ gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_UYVY"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_UYVY); + orc_program_set_name (p, "video_orc_pack_UYVY"); + orc_program_set_backup_function (p, _backup_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"); @@ -1844,11 +1839,11 @@ gst_video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_UYVY */ +/* video_orc_unpack_UYVY */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union64 *ORC_RESTRICT ptr0; @@ -1925,7 +1920,7 @@ gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -2002,8 +1997,8 @@ _backup_gst_video_orc_unpack_UYVY (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -2015,8 +2010,8 @@ gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_UYVY"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_UYVY); + orc_program_set_name (p, "video_orc_unpack_UYVY"); + orc_program_set_backup_function (p, _backup_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"); @@ -2051,11 +2046,11 @@ gst_video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_YVYU */ +/* video_orc_unpack_YVYU */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union64 *ORC_RESTRICT ptr0; @@ -2135,7 +2130,7 @@ gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -2215,8 +2210,8 @@ _backup_gst_video_orc_unpack_YVYU (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -2228,8 +2223,8 @@ gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_YVYU"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YVYU); + orc_program_set_name (p, "video_orc_unpack_YVYU"); + orc_program_set_backup_function (p, _backup_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"); @@ -2266,11 +2261,11 @@ gst_video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_YVYU */ +/* video_orc_pack_YVYU */ #ifdef DISABLE_ORC void -gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -2349,7 +2344,7 @@ gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -2428,8 +2423,8 @@ _backup_gst_video_orc_pack_YVYU (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -2441,8 +2436,8 @@ gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_YVYU"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_YVYU); + orc_program_set_name (p, "video_orc_pack_YVYU"); + orc_program_set_backup_function (p, _backup_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"); @@ -2481,12 +2476,11 @@ gst_video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_YUV9 */ +/* video_orc_unpack_YUV9 */ #ifdef DISABLE_ORC 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) +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; @@ -2566,7 +2560,7 @@ gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -2646,9 +2640,8 @@ _backup_gst_video_orc_unpack_YUV9 (OrcExecutor * ORC_RESTRICT ex) } 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) +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; @@ -2660,8 +2653,8 @@ gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_YUV9"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_YUV9); + orc_program_set_name (p, "video_orc_unpack_YUV9"); + orc_program_set_backup_function (p, _backup_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"); @@ -2705,12 +2698,11 @@ gst_video_orc_unpack_YUV9 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_Y42B */ +/* video_orc_unpack_Y42B */ #ifdef DISABLE_ORC 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) +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; @@ -2790,7 +2782,7 @@ gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -2870,9 +2862,8 @@ _backup_gst_video_orc_unpack_Y42B (OrcExecutor * ORC_RESTRICT ex) } 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) +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; @@ -2884,8 +2875,8 @@ gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_Y42B"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_Y42B); + orc_program_set_name (p, "video_orc_unpack_Y42B"); + orc_program_set_backup_function (p, _backup_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"); @@ -2924,10 +2915,10 @@ gst_video_orc_unpack_Y42B (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_Y42B */ +/* video_orc_pack_Y42B */ #ifdef DISABLE_ORC void -gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -3007,7 +2998,7 @@ gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3086,7 +3077,7 @@ _backup_gst_video_orc_pack_Y42B (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -3099,8 +3090,8 @@ gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_Y42B"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_Y42B); + orc_program_set_name (p, "video_orc_pack_Y42B"); + orc_program_set_backup_function (p, _backup_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"); @@ -3140,12 +3131,11 @@ gst_video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_unpack_Y444 */ +/* video_orc_unpack_Y444 */ #ifdef DISABLE_ORC 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) +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; @@ -3204,7 +3194,7 @@ gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3263,9 +3253,8 @@ _backup_gst_video_orc_unpack_Y444 (OrcExecutor * ORC_RESTRICT ex) } 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) +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; @@ -3277,8 +3266,8 @@ gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_Y444"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_Y444); + orc_program_set_name (p, "video_orc_unpack_Y444"); + orc_program_set_backup_function (p, _backup_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"); @@ -3313,10 +3302,10 @@ gst_video_orc_unpack_Y444 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_Y444 */ +/* video_orc_pack_Y444 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -3372,7 +3361,7 @@ gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3427,7 +3416,7 @@ _backup_gst_video_orc_pack_Y444 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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; @@ -3440,8 +3429,8 @@ gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_Y444"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_Y444); + orc_program_set_name (p, "video_orc_pack_Y444"); + orc_program_set_backup_function (p, _backup_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"); @@ -3475,10 +3464,10 @@ gst_video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_unpack_GRAY8 */ +/* video_orc_unpack_GRAY8 */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, +video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n) { int i; @@ -3523,7 +3512,7 @@ gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3567,7 +3556,7 @@ _backup_gst_video_orc_unpack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, +video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; @@ -3580,8 +3569,8 @@ gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_GRAY8"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_GRAY8); + orc_program_set_name (p, "video_orc_unpack_GRAY8"); + orc_program_set_backup_function (p, _backup_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"); @@ -3610,11 +3599,11 @@ gst_video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_GRAY8 */ +/* video_orc_pack_GRAY8 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_int8 *ORC_RESTRICT ptr0; @@ -3650,7 +3639,7 @@ gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3686,8 +3675,8 @@ _backup_gst_video_orc_pack_GRAY8 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -3699,8 +3688,8 @@ gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_GRAY8"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_GRAY8); + orc_program_set_name (p, "video_orc_pack_GRAY8"); + orc_program_set_backup_function (p, _backup_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"); @@ -3727,11 +3716,11 @@ gst_video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_BGRA */ +/* video_orc_unpack_BGRA */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -3756,7 +3745,7 @@ gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3781,8 +3770,8 @@ _backup_gst_video_orc_unpack_BGRA (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -3794,8 +3783,8 @@ gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_BGRA"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_BGRA); + orc_program_set_name (p, "video_orc_unpack_BGRA"); + orc_program_set_backup_function (p, _backup_video_orc_unpack_BGRA); orc_program_add_destination (p, 4, "d1"); orc_program_add_source (p, 4, "s1"); @@ -3819,11 +3808,11 @@ gst_video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_BGRA */ +/* video_orc_pack_BGRA */ #ifdef DISABLE_ORC void -gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -3848,7 +3837,7 @@ gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -3873,8 +3862,8 @@ _backup_gst_video_orc_pack_BGRA (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -3886,8 +3875,8 @@ gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_BGRA"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_BGRA); + orc_program_set_name (p, "video_orc_pack_BGRA"); + orc_program_set_backup_function (p, _backup_video_orc_pack_BGRA); orc_program_add_destination (p, 4, "d1"); orc_program_add_source (p, 4, "s1"); @@ -3911,11 +3900,11 @@ gst_video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_RGBA */ +/* video_orc_pack_RGBA */ #ifdef DISABLE_ORC void -gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -3988,7 +3977,7 @@ gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -4061,8 +4050,8 @@ _backup_gst_video_orc_pack_RGBA (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -4074,8 +4063,8 @@ gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_RGBA"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_RGBA); + orc_program_set_name (p, "video_orc_pack_RGBA"); + orc_program_set_backup_function (p, _backup_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"); @@ -4117,11 +4106,11 @@ gst_video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_RGBA */ +/* video_orc_unpack_RGBA */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -4194,7 +4183,7 @@ gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -4267,8 +4256,8 @@ _backup_gst_video_orc_unpack_RGBA (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -4280,8 +4269,8 @@ gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_RGBA"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_RGBA); + orc_program_set_name (p, "video_orc_unpack_RGBA"); + orc_program_set_backup_function (p, _backup_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"); @@ -4323,11 +4312,11 @@ gst_video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_ABGR */ +/* video_orc_unpack_ABGR */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -4400,7 +4389,7 @@ gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -4473,8 +4462,8 @@ _backup_gst_video_orc_unpack_ABGR (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -4486,8 +4475,8 @@ gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_ABGR"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_ABGR); + orc_program_set_name (p, "video_orc_unpack_ABGR"); + orc_program_set_backup_function (p, _backup_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"); @@ -4529,11 +4518,11 @@ gst_video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_ABGR */ +/* video_orc_pack_ABGR */ #ifdef DISABLE_ORC void -gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, + int n) { int i; orc_union32 *ORC_RESTRICT ptr0; @@ -4606,7 +4595,7 @@ gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -4679,8 +4668,8 @@ _backup_gst_video_orc_pack_ABGR (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, int n) +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; @@ -4692,8 +4681,8 @@ gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_ABGR"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_ABGR); + orc_program_set_name (p, "video_orc_pack_ABGR"); + orc_program_set_backup_function (p, _backup_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"); @@ -4735,11 +4724,11 @@ gst_video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_unpack_NV12 */ +/* video_orc_unpack_NV12 */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n) +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; @@ -4809,7 +4798,7 @@ gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -4879,8 +4868,8 @@ _backup_gst_video_orc_unpack_NV12 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n) +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; @@ -4892,8 +4881,8 @@ gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_NV12"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_NV12); + orc_program_set_name (p, "video_orc_unpack_NV12"); + orc_program_set_backup_function (p, _backup_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"); @@ -4926,10 +4915,10 @@ gst_video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_NV12 */ +/* video_orc_pack_NV12 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n) { int i; @@ -4996,7 +4985,7 @@ gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -5062,7 +5051,7 @@ _backup_gst_video_orc_pack_NV12 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; @@ -5075,8 +5064,8 @@ gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_NV12"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_NV12); + orc_program_set_name (p, "video_orc_pack_NV12"); + orc_program_set_backup_function (p, _backup_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"); @@ -5112,11 +5101,11 @@ gst_video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_unpack_NV21 */ +/* video_orc_unpack_NV21 */ #ifdef DISABLE_ORC void -gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n) +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; @@ -5186,7 +5175,7 @@ gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -5256,8 +5245,8 @@ _backup_gst_video_orc_unpack_NV21 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, - const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n) +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; @@ -5269,8 +5258,8 @@ gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_NV21"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_NV21); + orc_program_set_name (p, "video_orc_unpack_NV21"); + orc_program_set_backup_function (p, _backup_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"); @@ -5306,10 +5295,10 @@ gst_video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_NV21 */ +/* video_orc_pack_NV21 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n) { int i; @@ -5379,7 +5368,7 @@ gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -5448,7 +5437,7 @@ _backup_gst_video_orc_pack_NV21 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n) { OrcExecutor _ex, *ex = &_ex; @@ -5461,8 +5450,8 @@ gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_NV21"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_NV21); + orc_program_set_name (p, "video_orc_pack_NV21"); + orc_program_set_backup_function (p, _backup_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"); @@ -5501,12 +5490,12 @@ gst_video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_unpack_A420 */ +/* video_orc_unpack_A420 */ #ifdef DISABLE_ORC 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) +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; @@ -5567,7 +5556,7 @@ gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -5628,9 +5617,9 @@ _backup_gst_video_orc_unpack_A420 (OrcExecutor * ORC_RESTRICT ex) } 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) +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; @@ -5642,8 +5631,8 @@ gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_unpack_A420"); - orc_program_set_backup_function (p, _backup_gst_video_orc_unpack_A420); + orc_program_set_name (p, "video_orc_unpack_A420"); + orc_program_set_backup_function (p, _backup_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"); @@ -5685,10 +5674,10 @@ gst_video_orc_unpack_A420 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_pack_A420 */ +/* video_orc_pack_A420 */ #ifdef DISABLE_ORC void -gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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) { @@ -5802,7 +5791,7 @@ gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #else static void -_backup_gst_video_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -5914,7 +5903,7 @@ _backup_gst_video_orc_pack_A420 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, +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) { @@ -5928,8 +5917,8 @@ gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_pack_A420"); - orc_program_set_backup_function (p, _backup_gst_video_orc_pack_A420); + orc_program_set_name (p, "video_orc_pack_A420"); + orc_program_set_backup_function (p, _backup_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"); @@ -5979,10 +5968,10 @@ gst_video_orc_pack_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, #endif -/* gst_video_orc_resample_bilinear_u32 */ +/* video_orc_resample_bilinear_u32 */ #ifdef DISABLE_ORC void -gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, +video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n) { int i; @@ -6021,7 +6010,7 @@ gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -6059,7 +6048,7 @@ _backup_gst_video_orc_resample_bilinear_u32 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, +video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n) { OrcExecutor _ex, *ex = &_ex; @@ -6072,9 +6061,9 @@ gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - orc_program_set_name (p, "gst_video_orc_resample_bilinear_u32"); + orc_program_set_name (p, "video_orc_resample_bilinear_u32"); orc_program_set_backup_function (p, - _backup_gst_video_orc_resample_bilinear_u32); + _backup_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"); @@ -6102,10 +6091,10 @@ gst_video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, #endif -/* gst_video_orc_merge_linear_u8 */ +/* video_orc_merge_linear_u8 */ #ifdef DISABLE_ORC void -gst_video_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, +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) { @@ -6164,7 +6153,7 @@ gst_video_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, #else static void -_backup_gst_video_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex) +_backup_video_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex) { int i; int n = ex->n; @@ -6221,7 +6210,7 @@ _backup_gst_video_orc_merge_linear_u8 (OrcExecutor * ORC_RESTRICT ex) } void -gst_video_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, +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) { @@ -6235,9 +6224,8 @@ gst_video_orc_merge_linear_u8 (orc_uint8 * ORC_RESTRICT d1, if (!p_inited) { p = orc_program_new (); - 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_set_name (p, "video_orc_merge_linear_u8"); + orc_program_set_backup_function (p, _backup_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"); diff --git a/gst-libs/gst/video/video-orc-dist.h b/gst-libs/gst/video/video-orc-dist.h index 6938269174..e481399b54 100644 --- a/gst-libs/gst/video/video-orc-dist.h +++ b/gst-libs/gst/video/video-orc-dist.h @@ -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 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); +void video_orc_blend_little (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_blend_big (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void 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 video_orc_pack_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void 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 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 video_orc_pack_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void 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 video_orc_pack_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_GRAY8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_pack_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n); +void video_orc_pack_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n); +void video_orc_unpack_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n); +void video_orc_pack_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, int n); +void 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 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 video_orc_resample_bilinear_u32 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n); +void 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 } diff --git a/gst-libs/gst/video/video-orc.orc b/gst-libs/gst/video/video-orc.orc index 53cd77d4a7..e13aafffda 100644 --- a/gst-libs/gst/video/video-orc.orc +++ b/gst-libs/gst/video/video-orc.orc @@ -1,4 +1,4 @@ -.function gst_video_orc_blend_little +.function 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 gst_video_orc_blend_big +.function 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 gst_video_orc_unpack_I420 +.function 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 gst_video_orc_pack_I420 +.function 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 gst_video_orc_unpack_YUY2 +.function 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 gst_video_orc_pack_YUY2 +.function 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 gst_video_orc_pack_UYVY +.function 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 gst_video_orc_unpack_UYVY +.function 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 gst_video_orc_unpack_YVYU +.function 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 gst_video_orc_pack_YVYU +.function 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 gst_video_orc_unpack_YUV9 +.function 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 gst_video_orc_unpack_Y42B +.function 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 gst_video_orc_pack_Y42B +.function 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 gst_video_orc_unpack_Y444 +.function 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 gst_video_orc_pack_Y444 +.function 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 gst_video_orc_unpack_GRAY8 +.function 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 gst_video_orc_pack_GRAY8 +.function 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 gst_video_orc_unpack_BGRA +.function video_orc_unpack_BGRA .dest 4 argb guint8 .source 4 bgra guint8 swapl argb, bgra -.function gst_video_orc_pack_BGRA +.function video_orc_pack_BGRA .dest 4 bgra guint8 .source 4 argb guint8 swapl bgra, argb -.function gst_video_orc_pack_RGBA +.function 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 gst_video_orc_unpack_RGBA +.function 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 gst_video_orc_unpack_ABGR +.function 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 gst_video_orc_pack_ABGR +.function 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 gst_video_orc_unpack_NV12 +.function 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 gst_video_orc_pack_NV12 +.function 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 gst_video_orc_unpack_NV21 +.function 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 gst_video_orc_pack_NV21 +.function 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 gst_video_orc_unpack_A420 +.function 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 gst_video_orc_pack_A420 +.function 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 gst_video_orc_resample_bilinear_u32 +.function 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 gst_video_orc_merge_linear_u8 +.function video_orc_merge_linear_u8 .dest 1 d1 .source 1 s1 .source 1 s2