#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#ifndef DISABLE_ORC
-#include <orc/orc.h>
-#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
typedef unsigned __int32 orc_uint32;
typedef unsigned __int64 orc_uint64;
#define ORC_UINT64_C(x) (x##Ui64)
+#define inline __inline
#else
#include <limits.h>
typedef signed char orc_int8;
orc_int16 x4[4];
} orc_union64;
#endif
+#ifndef ORC_RESTRICT
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#define ORC_RESTRICT restrict
+#elif defined(__GNUC__) && __GNUC__ >= 4
+#define ORC_RESTRICT __restrict__
+#else
+#define ORC_RESTRICT
+#endif
+#endif
-void cogorc_memcpy_2d (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_downsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1,
+#ifndef DISABLE_ORC
+#include <orc/orc.h>
+#endif
+void cogorc_memcpy_2d (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_downsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_downsample_horiz_cosite_3tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_downsample_420_jpeg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_downsample_vert_halfsite_2tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_downsample_vert_cosite_3tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_downsample_vert_halfsite_4tap (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 cogorc_upsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_upsample_horiz_cosite (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_upsample_vert_avgub (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void orc_unpack_yuyv_y (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_unpack_yuyv_u (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_unpack_yuyv_v (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_pack_yuyv (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void orc_unpack_uyvy_y (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_unpack_uyvy_u (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_unpack_uyvy_v (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void orc_pack_uyvy (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int n);
+void orc_matrix2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int p3, int n);
+void orc_matrix2_11_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
+ int p2, int n);
+void orc_matrix2_12_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
+ int p2, int n);
+void orc_matrix3_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int p4, int n);
+void orc_matrix3_100_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int p1, int p2, int p3, int n);
+void orc_matrix3_100_offset_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int p1, int p2, int p3, int p4, int p5,
int n);
-void cogorc_downsample_horiz_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n);
-void cogorc_downsample_420_jpeg (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n);
-void cogorc_downsample_vert_halfsite_2tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n);
-void cogorc_downsample_vert_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, int n);
-void cogorc_downsample_vert_halfsite_4tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n);
-void cogorc_upsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1, int n);
-void cogorc_upsample_horiz_cosite (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n);
-void cogorc_upsample_vert_avgub (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n);
-void orc_unpack_yuyv_y (guint8 * d1, const guint8 * s1, int n);
-void orc_unpack_yuyv_u (guint8 * d1, const guint8 * s1, int n);
-void orc_unpack_yuyv_v (guint8 * d1, const guint8 * s1, int n);
-void orc_pack_yuyv (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void orc_unpack_uyvy_y (guint8 * d1, const guint8 * s1, int n);
-void orc_unpack_uyvy_u (guint8 * d1, const guint8 * s1, int n);
-void orc_unpack_uyvy_v (guint8 * d1, const guint8 * s1, int n);
-void orc_pack_uyvy (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void orc_matrix2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int p3, int n);
-void orc_matrix2_11_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int p1, int p2, int n);
-void orc_matrix2_12_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int p1, int p2, int n);
-void orc_matrix3_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int n);
-void orc_matrix3_100_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int n);
-void orc_matrix3_100_offset_u8 (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, int p1, int p2, int p3, int p4,
- int p5, int n);
-void orc_matrix3_000_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int p5, int n);
-void orc_pack_123x (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n);
-void orc_pack_x123 (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n);
-void cogorc_combine2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int p1, int p2, int n);
-void cogorc_convert_I420_UYVY (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n);
-void cogorc_convert_I420_YUY2 (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n);
-void cogorc_convert_I420_AYUV (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n);
-void cogorc_convert_YUY2_I420 (guint8 * d1, guint8 * d2, guint8 * d3,
- guint8 * d4, const guint8 * s1, const guint8 * s2, int n);
-void cogorc_convert_UYVY_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_planar_chroma_420_422 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m);
-void cogorc_planar_chroma_420_444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m);
-void cogorc_planar_chroma_422_444 (guint8 * d1, int d1_stride,
- const guint8 * s1, int s1_stride, int n, int m);
-void cogorc_planar_chroma_444_422 (guint8 * d1, int d1_stride,
- const guint8 * s1, int s1_stride, int n, int m);
-void cogorc_planar_chroma_444_420 (guint8 * d1, int d1_stride,
- const guint8 * s1, int s1_stride, const guint8 * s2, int s2_stride, int n,
- int m);
-void cogorc_planar_chroma_422_420 (guint8 * d1, int d1_stride,
- const guint8 * s1, int s1_stride, const guint8 * s2, int s2_stride, int n,
- int m);
-void cogorc_convert_YUY2_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_UYVY_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_YUY2_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_UYVY_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_YUY2_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_UYVY_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_UYVY_I420 (guint8 * d1, guint8 * d2, guint8 * d3,
- guint8 * d4, const guint8 * s1, const guint8 * s2, int n);
-void cogorc_convert_AYUV_I420 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, guint8 * d4, int d4_stride,
- const guint8 * s1, int s1_stride, const guint8 * s2, int s2_stride, int n,
- int m);
-void cogorc_convert_AYUV_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_AYUV_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_AYUV_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_AYUV_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m);
-void cogorc_convert_Y42B_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_Y42B_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_Y42B_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_Y444_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_Y444_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_Y444_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m);
-void cogorc_convert_AYUV_ARGB (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_AYUV_BGRA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_AYUV_ABGR (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_AYUV_RGBA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m);
-void cogorc_convert_I420_BGRA (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, int n);
-void cogorc_convert_I420_BGRA_avg (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, const guint8 * s5,
+void orc_matrix3_000_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int p1, int p2, int p3, int p4, int p5,
int n);
-void cogorc_getline_I420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void cogorc_getline_YUV9 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void cogorc_getline_YUY2 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_UYVY (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_YVYU (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_Y42B (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void cogorc_getline_Y444 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n);
-void cogorc_getline_Y800 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_Y16 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_BGRA (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_ABGR (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_RGBA (guint8 * d1, const guint8 * s1, int n);
-void cogorc_getline_NV12 (guint8 * d1, const guint8 * s1, const guint8 * s2,
+void orc_pack_123x (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
int n);
-void cogorc_getline_NV21 (guint8 * d1, const guint8 * s1, const guint8 * s2,
+void orc_pack_x123 (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
int n);
-void cogorc_getline_A420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, const guint8 * s4, int n);
-void cogorc_putline_I420 (guint8 * d1, guint8 * d2, guint8 * d3,
- const guint8 * s1, int n);
-void cogorc_putline_YUY2 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_YVYU (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_UYVY (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_Y42B (guint8 * d1, guint8 * d2, guint8 * d3,
- const guint8 * s1, int n);
-void cogorc_putline_Y444 (guint8 * d1, guint8 * d2, guint8 * d3,
- const guint8 * s1, int n);
-void cogorc_putline_Y800 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_Y16 (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_BGRA (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_ABGR (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_RGBA (guint8 * d1, const guint8 * s1, int n);
-void cogorc_putline_NV12 (guint8 * d1, guint8 * d2, const guint8 * s1, int n);
-void cogorc_putline_NV21 (guint8 * d1, guint8 * d2, const guint8 * s1, int n);
-void cogorc_putline_A420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, int n);
+void cogorc_combine2_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
+ int p2, int n);
+void cogorc_convert_I420_UYVY (guint8 * ORC_RESTRICT d1,
+ guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
+ const guint8 * ORC_RESTRICT s4, int n);
+void cogorc_convert_I420_YUY2 (guint8 * ORC_RESTRICT d1,
+ guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
+ const guint8 * ORC_RESTRICT s4, int n);
+void cogorc_convert_I420_AYUV (guint8 * ORC_RESTRICT d1,
+ guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3,
+ const guint8 * ORC_RESTRICT s4, int n);
+void cogorc_convert_YUY2_I420 (guint8 * ORC_RESTRICT d1,
+ guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+ guint8 * ORC_RESTRICT d4, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_convert_UYVY_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_planar_chroma_420_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m);
+void cogorc_planar_chroma_420_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m);
+void cogorc_planar_chroma_422_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_planar_chroma_444_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_planar_chroma_444_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m);
+void cogorc_planar_chroma_422_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m);
+void cogorc_convert_YUY2_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_UYVY_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_YUY2_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_UYVY_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_YUY2_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_UYVY_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_UYVY_I420 (guint8 * ORC_RESTRICT d1,
+ guint8 * ORC_RESTRICT d2, guint8 * ORC_RESTRICT d3,
+ guint8 * ORC_RESTRICT d4, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_convert_AYUV_I420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, guint8 * ORC_RESTRICT d4, int d4_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m);
+void cogorc_convert_AYUV_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_Y42B_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_Y42B_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_Y42B_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_Y444_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_Y444_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_Y444_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m);
+void cogorc_convert_AYUV_ARGB (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_BGRA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_ABGR (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_AYUV_RGBA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
+void cogorc_convert_I420_BGRA (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_convert_I420_BGRA_avg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4,
+ const guint8 * ORC_RESTRICT s5, int n);
+void cogorc_getline_I420 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_getline_YUV9 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_getline_YUY2 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_UYVY (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_YVYU (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_Y42B (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_getline_Y444 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n);
+void cogorc_getline_Y800 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_Y16 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_BGRA (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_ABGR (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_RGBA (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_getline_NV12 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_getline_NV21 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
+void cogorc_getline_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 cogorc_putline_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_YUY2 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_YVYU (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_UYVY (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_Y800 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_Y16 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_BGRA (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_ABGR (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_RGBA (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n);
+void cogorc_putline_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, int n);
/* begin Orc C target preamble */
#define ORC_ISNAN(x) ((((x)&0x7f800000) == 0x7f800000) && (((x)&0x007fffff) != 0))
#define ORC_DENORMAL_DOUBLE(x) ((x) & ((((x)&ORC_UINT64_C(0x7ff0000000000000)) == 0) ? ORC_UINT64_C(0xfff0000000000000) : ORC_UINT64_C(0xffffffffffffffff)))
#define ORC_ISNAN_DOUBLE(x) ((((x)&ORC_UINT64_C(0x7ff0000000000000)) == ORC_UINT64_C(0x7ff0000000000000)) && (((x)&ORC_UINT64_C(0x000fffffffffffff)) != 0))
+#ifndef ORC_RESTRICT
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define ORC_RESTRICT restrict
#elif defined(__GNUC__) && __GNUC__ >= 4
#else
#define ORC_RESTRICT
#endif
+#endif
/* end Orc C target preamble */
/* cogorc_memcpy_2d */
#ifdef DISABLE_ORC
void
-cogorc_memcpy_2d (guint8 * d1, int d1_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_memcpy_2d (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_memcpy_2d (OrcExecutor * ex)
+_backup_cogorc_memcpy_2d (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_memcpy_2d (guint8 * d1, int d1_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_memcpy_2d (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "copyb", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_horiz_cosite_1tap */
#ifdef DISABLE_ORC
void
-cogorc_downsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1, int n)
+cogorc_downsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_downsample_horiz_cosite_1tap (OrcExecutor * ex)
+_backup_cogorc_downsample_horiz_cosite_1tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_downsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1, int n)
+cogorc_downsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_horiz_cosite_1tap");
orc_program_append_2 (p, "select0wb", 0, ORC_VAR_D1, ORC_VAR_S1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_horiz_cosite_3tap */
#ifdef DISABLE_ORC
void
-cogorc_downsample_horiz_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n)
+cogorc_downsample_horiz_cosite_3tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
ptr5 = (orc_union16 *) s2;
/* 9: loadpw */
- var40.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var40.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
/* 13: loadpw */
- var41.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var41.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
for (i = 0; i < n; i++) {
/* 0: loadw */
#else
static void
-_backup_cogorc_downsample_horiz_cosite_3tap (OrcExecutor * ex)
+_backup_cogorc_downsample_horiz_cosite_3tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr5 = (orc_union16 *) ex->arrays[5];
/* 9: loadpw */
- var40.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var40.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
/* 13: loadpw */
- var41.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var41.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
for (i = 0; i < n; i++) {
/* 0: loadw */
}
void
-cogorc_downsample_horiz_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n)
+cogorc_downsample_horiz_cosite_3tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_horiz_cosite_3tap");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T4,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_420_jpeg */
#ifdef DISABLE_ORC
void
-cogorc_downsample_420_jpeg (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_downsample_420_jpeg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_downsample_420_jpeg (OrcExecutor * ex)
+_backup_cogorc_downsample_420_jpeg (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_downsample_420_jpeg (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_downsample_420_jpeg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_420_jpeg");
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_vert_halfsite_2tap */
#ifdef DISABLE_ORC
void
-cogorc_downsample_vert_halfsite_2tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n)
+cogorc_downsample_vert_halfsite_2tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_downsample_vert_halfsite_2tap (OrcExecutor * ex)
+_backup_cogorc_downsample_vert_halfsite_2tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_downsample_vert_halfsite_2tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, int n)
+cogorc_downsample_vert_halfsite_2tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_vert_halfsite_2tap");
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_S2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_vert_cosite_3tap */
#ifdef DISABLE_ORC
void
-cogorc_downsample_vert_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, int n)
+cogorc_downsample_vert_cosite_3tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
ptr6 = (orc_int8 *) s3;
/* 6: loadpw */
- var38.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var38.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
/* 10: loadpw */
- var39.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var39.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_downsample_vert_cosite_3tap (OrcExecutor * ex)
+_backup_cogorc_downsample_vert_cosite_3tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 6: loadpw */
- var38.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var38.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
/* 10: loadpw */
- var39.i = 0x00000002; /* 2 or 9.88131e-324f */
+ var39.i = (int) 0x00000002; /* 2 or 9.88131e-324f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_downsample_vert_cosite_3tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, int n)
+cogorc_downsample_vert_cosite_3tap (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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_vert_cosite_3tap");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_downsample_vert_halfsite_4tap */
#ifdef DISABLE_ORC
void
-cogorc_downsample_vert_halfsite_4tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_downsample_vert_halfsite_4tap (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_int8 *ORC_RESTRICT ptr0;
ptr7 = (orc_int8 *) s4;
/* 9: loadpw */
- var40.i = 0x0000001a; /* 26 or 1.28457e-322f */
+ var40.i = (int) 0x0000001a; /* 26 or 1.28457e-322f */
/* 12: loadpw */
- var41.i = 0x00000006; /* 6 or 2.96439e-323f */
+ var41.i = (int) 0x00000006; /* 6 or 2.96439e-323f */
/* 15: loadpw */
- var42.i = 0x00000020; /* 32 or 1.58101e-322f */
+ var42.i = (int) 0x00000020; /* 32 or 1.58101e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_downsample_vert_halfsite_4tap (OrcExecutor * ex)
+_backup_cogorc_downsample_vert_halfsite_4tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr7 = (orc_int8 *) ex->arrays[7];
/* 9: loadpw */
- var40.i = 0x0000001a; /* 26 or 1.28457e-322f */
+ var40.i = (int) 0x0000001a; /* 26 or 1.28457e-322f */
/* 12: loadpw */
- var41.i = 0x00000006; /* 6 or 2.96439e-323f */
+ var41.i = (int) 0x00000006; /* 6 or 2.96439e-323f */
/* 15: loadpw */
- var42.i = 0x00000020; /* 32 or 1.58101e-322f */
+ var42.i = (int) 0x00000020; /* 32 or 1.58101e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_downsample_vert_halfsite_4tap (guint8 * d1, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_downsample_vert_halfsite_4tap (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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_downsample_vert_halfsite_4tap");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T2,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_upsample_horiz_cosite_1tap */
#ifdef DISABLE_ORC
void
-cogorc_upsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1, int n)
+cogorc_upsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_upsample_horiz_cosite_1tap (OrcExecutor * ex)
+_backup_cogorc_upsample_horiz_cosite_1tap (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_upsample_horiz_cosite_1tap (guint8 * d1, const guint8 * s1, int n)
+cogorc_upsample_horiz_cosite_1tap (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_upsample_horiz_cosite_1tap");
orc_program_append_2 (p, "mergebw", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_upsample_horiz_cosite */
#ifdef DISABLE_ORC
void
-cogorc_upsample_horiz_cosite (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_upsample_horiz_cosite (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_upsample_horiz_cosite (OrcExecutor * ex)
+_backup_cogorc_upsample_horiz_cosite (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_upsample_horiz_cosite (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_upsample_horiz_cosite (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_upsample_horiz_cosite");
orc_program_append_2 (p, "mergebw", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_upsample_vert_avgub */
#ifdef DISABLE_ORC
void
-cogorc_upsample_vert_avgub (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_upsample_vert_avgub (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_upsample_vert_avgub (OrcExecutor * ex)
+_backup_cogorc_upsample_vert_avgub (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_upsample_vert_avgub (guint8 * d1, const guint8 * s1, const guint8 * s2,
- int n)
+cogorc_upsample_vert_avgub (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_upsample_vert_avgub");
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_S2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_yuyv_y */
#ifdef DISABLE_ORC
void
-orc_unpack_yuyv_y (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_y (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_yuyv_y (OrcExecutor * ex)
+_backup_orc_unpack_yuyv_y (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_yuyv_y (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_y (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_yuyv_y");
orc_program_append_2 (p, "select0wb", 0, ORC_VAR_D1, ORC_VAR_S1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_yuyv_u */
#ifdef DISABLE_ORC
void
-orc_unpack_yuyv_u (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_u (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_yuyv_u (OrcExecutor * ex)
+_backup_orc_unpack_yuyv_u (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_yuyv_u (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_u (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_yuyv_u");
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_yuyv_v */
#ifdef DISABLE_ORC
void
-orc_unpack_yuyv_v (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_v (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_yuyv_v (OrcExecutor * ex)
+_backup_orc_unpack_yuyv_v (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_yuyv_v (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_yuyv_v (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_yuyv_v");
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_pack_yuyv */
#ifdef DISABLE_ORC
void
-orc_pack_yuyv (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+orc_pack_yuyv (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;
#else
static void
-_backup_orc_pack_yuyv (OrcExecutor * ex)
+_backup_orc_pack_yuyv (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_pack_yuyv (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+orc_pack_yuyv (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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_pack_yuyv");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_uyvy_y */
#ifdef DISABLE_ORC
void
-orc_unpack_uyvy_y (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_y (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_uyvy_y (OrcExecutor * ex)
+_backup_orc_unpack_uyvy_y (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_uyvy_y (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_y (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_uyvy_y");
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_S1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_uyvy_u */
#ifdef DISABLE_ORC
void
-orc_unpack_uyvy_u (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_u (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_uyvy_u (OrcExecutor * ex)
+_backup_orc_unpack_uyvy_u (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_uyvy_u (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_u (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_uyvy_u");
orc_program_append_2 (p, "select0wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_unpack_uyvy_v */
#ifdef DISABLE_ORC
void
-orc_unpack_uyvy_v (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_v (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_unpack_uyvy_v (OrcExecutor * ex)
+_backup_orc_unpack_uyvy_v (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_unpack_uyvy_v (guint8 * d1, const guint8 * s1, int n)
+orc_unpack_uyvy_v (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_unpack_uyvy_v");
orc_program_append_2 (p, "select0wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_pack_uyvy */
#ifdef DISABLE_ORC
void
-orc_pack_uyvy (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+orc_pack_uyvy (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;
#else
static void
-_backup_orc_pack_uyvy (OrcExecutor * ex)
+_backup_orc_pack_uyvy (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_pack_uyvy (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+orc_pack_uyvy (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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_pack_uyvy");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix2_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int p3, int n)
+orc_matrix2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int p3, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_matrix2_u8 (OrcExecutor * ex)
+_backup_orc_matrix2_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_matrix2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int p3, int n)
+orc_matrix2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int p3, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix2_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix2_11_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix2_11_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+orc_matrix2_11_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
ptr5 = (orc_int8 *) s2;
/* 2: loadpw */
- var37.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var37.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var38.i = p1;
/* 8: loadpw */
- var40.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var40.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var41.i = p2;
/* 13: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_orc_matrix2_11_u8 (OrcExecutor * ex)
+_backup_orc_matrix2_11_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr5 = (orc_int8 *) ex->arrays[5];
/* 2: loadpw */
- var37.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var37.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var38.i = ex->params[24];
/* 8: loadpw */
- var40.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var40.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var41.i = ex->params[25];
/* 13: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-orc_matrix2_11_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+orc_matrix2_11_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix2_11_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T3,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix2_12_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix2_12_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+orc_matrix2_12_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
ptr5 = (orc_int8 *) s2;
/* 2: loadpw */
- var37.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var37.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var38.i = p1;
/* 8: loadpw */
- var40.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var40.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var41.i = p2;
/* 13: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_orc_matrix2_12_u8 (OrcExecutor * ex)
+_backup_orc_matrix2_12_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr5 = (orc_int8 *) ex->arrays[5];
/* 2: loadpw */
- var37.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var37.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var38.i = ex->params[24];
/* 8: loadpw */
- var40.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var40.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var41.i = ex->params[25];
/* 13: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-orc_matrix2_12_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+orc_matrix2_12_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix2_12_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T3,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix3_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix3_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int n)
+orc_matrix3_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int p4, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_matrix3_u8 (OrcExecutor * ex)
+_backup_orc_matrix3_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_matrix3_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int n)
+orc_matrix3_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int p4, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix3_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix3_100_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix3_100_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int n)
+orc_matrix3_100_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
ptr6 = (orc_int8 *) s3;
/* 2: loadpw */
- var36.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var36.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var37.i = p1;
/* 8: loadpw */
- var39.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var39.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var40.i = p2;
/* 15: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 17: loadpw */
var43.i = p3;
/* 20: loadpw */
- var44.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var44.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_orc_matrix3_100_u8 (OrcExecutor * ex)
+_backup_orc_matrix3_100_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 2: loadpw */
- var36.i = 0x00000010; /* 16 or 7.90505e-323f */
+ var36.i = (int) 0x00000010; /* 16 or 7.90505e-323f */
/* 4: loadpw */
var37.i = ex->params[24];
/* 8: loadpw */
- var39.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var39.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 10: loadpw */
var40.i = ex->params[25];
/* 15: loadpw */
- var42.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var42.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 17: loadpw */
var43.i = ex->params[26];
/* 20: loadpw */
- var44.i = 0x00000080; /* 128 or 6.32404e-322f */
+ var44.i = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-orc_matrix3_100_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int n)
+orc_matrix3_100_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix3_100_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T3,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix3_100_offset_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix3_100_offset_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int p5, int n)
+orc_matrix3_100_offset_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int p1, int p2, int p3, int p4, int p5,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_matrix3_100_offset_u8 (OrcExecutor * ex)
+_backup_orc_matrix3_100_offset_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_matrix3_100_offset_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int p5, int n)
+orc_matrix3_100_offset_u8 (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, int p1, int p2, int p3, int p4, int p5,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix3_100_offset_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_matrix3_000_u8 */
#ifdef DISABLE_ORC
void
-orc_matrix3_000_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int p5, int n)
+orc_matrix3_000_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int p4, int p5, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_matrix3_000_u8 (OrcExecutor * ex)
+_backup_orc_matrix3_000_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_matrix3_000_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int p2, int p3, int p4, int p5, int n)
+orc_matrix3_000_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int p2, int p3, int p4, int p5, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_matrix3_000_u8");
orc_program_append_2 (p, "convwb", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_pack_123x */
#ifdef DISABLE_ORC
void
-orc_pack_123x (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n)
+orc_pack_123x (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_pack_123x (OrcExecutor * ex)
+_backup_orc_pack_123x (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_pack_123x (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n)
+orc_pack_123x (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_pack_123x");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* orc_pack_x123 */
#ifdef DISABLE_ORC
void
-orc_pack_x123 (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n)
+orc_pack_x123 (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_orc_pack_x123 (OrcExecutor * ex)
+_backup_orc_pack_x123 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-orc_pack_x123 (guint32 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int p1, int n)
+orc_pack_x123 (guint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, int p1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "orc_pack_x123");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_combine2_u8 */
#ifdef DISABLE_ORC
void
-cogorc_combine2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+cogorc_combine2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_combine2_u8 (OrcExecutor * ex)
+_backup_cogorc_combine2_u8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_combine2_u8 (guint8 * d1, const guint8 * s1, const guint8 * s2, int p1,
- int p2, int n)
+cogorc_combine2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int p1, int p2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_combine2_u8");
orc_program_append_2 (p, "convsuswb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_I420_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_convert_I420_UYVY (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_UYVY (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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;
#else
static void
-_backup_cogorc_convert_I420_UYVY (OrcExecutor * ex)
+_backup_cogorc_convert_I420_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_convert_I420_UYVY (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_UYVY (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_I420_UYVY");
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D2, ORC_VAR_T1, ORC_VAR_S2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_I420_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_convert_I420_YUY2 (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_YUY2 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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;
#else
static void
-_backup_cogorc_convert_I420_YUY2 (OrcExecutor * ex)
+_backup_cogorc_convert_I420_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_convert_I420_YUY2 (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_YUY2 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_I420_YUY2");
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D2, ORC_VAR_S2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_I420_AYUV */
#ifdef DISABLE_ORC
void
-cogorc_convert_I420_AYUV (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_AYUV (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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;
ptr7 = (orc_int8 *) s4;
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 8: loadpb */
- var39 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var39 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
#else
static void
-_backup_cogorc_convert_I420_AYUV (OrcExecutor * ex)
+_backup_cogorc_convert_I420_AYUV (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr7 = (orc_int8 *) ex->arrays[7];
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 8: loadpb */
- var39 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var39 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
}
void
-cogorc_convert_I420_AYUV (guint8 * d1, guint8 * d2, const guint8 * s1,
- const guint8 * s2, const guint8 * s3, const guint8 * s4, int n)
+cogorc_convert_I420_AYUV (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ 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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_I420_AYUV");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D2, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_YUY2_I420 */
#ifdef DISABLE_ORC
void
-cogorc_convert_YUY2_I420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, const guint8 * s2, int n)
+cogorc_convert_YUY2_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_convert_YUY2_I420 (OrcExecutor * ex)
+_backup_cogorc_convert_YUY2_I420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_convert_YUY2_I420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, const guint8 * s2, int n)
+cogorc_convert_YUY2_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_YUY2_I420");
orc_program_append_2 (p, "splitwb", 0, ORC_VAR_D4, ORC_VAR_D3, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_UYVY_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_convert_UYVY_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_UYVY_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_UYVY_YUY2 (OrcExecutor * ex)
+_backup_cogorc_convert_UYVY_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_UYVY_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_UYVY_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "swapw", 1, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_420_422 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_420_422 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m)
+cogorc_planar_chroma_420_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_420_422 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_420_422 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_420_422 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m)
+cogorc_planar_chroma_420_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "copyb", 0, ORC_VAR_D2, ORC_VAR_S1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_420_444 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_420_444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m)
+cogorc_planar_chroma_420_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_420_444 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_420_444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_420_444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, const guint8 * s1, int s1_stride, int n, int m)
+cogorc_planar_chroma_420_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, const guint8 * ORC_RESTRICT s1,
+ int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "storew", 0, ORC_VAR_D2, ORC_VAR_T1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_422_444 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_422_444 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_planar_chroma_422_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_422_444 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_422_444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_422_444 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_planar_chroma_422_444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "storew", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_444_422 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_444_422 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_planar_chroma_444_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_444_422 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_444_422 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_444_422 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_planar_chroma_444_422 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_444_420 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_444_420 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, int n, int m)
+cogorc_planar_chroma_444_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_444_420 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_444_420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_444_420 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, int n, int m)
+cogorc_planar_chroma_444_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T3,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_planar_chroma_422_420 */
#ifdef DISABLE_ORC
void
-cogorc_planar_chroma_422_420 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, int n, int m)
+cogorc_planar_chroma_422_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_planar_chroma_422_420 (OrcExecutor * ex)
+_backup_cogorc_planar_chroma_422_420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_planar_chroma_422_420 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, int n, int m)
+cogorc_planar_chroma_422_420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_S2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_YUY2_AYUV */
#ifdef DISABLE_ORC
void
-cogorc_convert_YUY2_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_YUY2_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_YUY2_AYUV (OrcExecutor * ex)
+_backup_cogorc_convert_YUY2_AYUV (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_YUY2_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_YUY2_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_UYVY_AYUV */
#ifdef DISABLE_ORC
void
-cogorc_convert_UYVY_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_UYVY_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_UYVY_AYUV (OrcExecutor * ex)
+_backup_cogorc_convert_UYVY_AYUV (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_UYVY_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_UYVY_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_YUY2_Y42B */
#ifdef DISABLE_ORC
void
-cogorc_convert_YUY2_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_YUY2_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_YUY2_Y42B (OrcExecutor * ex)
+_backup_cogorc_convert_YUY2_Y42B (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_YUY2_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_YUY2_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "splitwb", 0, ORC_VAR_D3, ORC_VAR_D2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_UYVY_Y42B */
#ifdef DISABLE_ORC
void
-cogorc_convert_UYVY_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_UYVY_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_UYVY_Y42B (OrcExecutor * ex)
+_backup_cogorc_convert_UYVY_Y42B (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_UYVY_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_UYVY_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "splitwb", 0, ORC_VAR_D3, ORC_VAR_D2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_YUY2_Y444 */
#ifdef DISABLE_ORC
void
-cogorc_convert_YUY2_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_YUY2_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_YUY2_Y444 (OrcExecutor * ex)
+_backup_cogorc_convert_YUY2_Y444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_YUY2_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_YUY2_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "splatbw", 0, ORC_VAR_D3, ORC_VAR_T3, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_UYVY_Y444 */
#ifdef DISABLE_ORC
void
-cogorc_convert_UYVY_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_UYVY_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_UYVY_Y444 (OrcExecutor * ex)
+_backup_cogorc_convert_UYVY_Y444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_UYVY_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_UYVY_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "splatbw", 0, ORC_VAR_D3, ORC_VAR_T3, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_UYVY_I420 */
#ifdef DISABLE_ORC
void
-cogorc_convert_UYVY_I420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, const guint8 * s2, int n)
+cogorc_convert_UYVY_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_convert_UYVY_I420 (OrcExecutor * ex)
+_backup_cogorc_convert_UYVY_I420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_convert_UYVY_I420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, const guint8 * s2, int n)
+cogorc_convert_UYVY_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_UYVY_I420");
orc_program_append_2 (p, "splitwb", 0, ORC_VAR_D4, ORC_VAR_D3, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_I420 */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_I420 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, guint8 * d4, int d4_stride,
- const guint8 * s1, int s1_stride, const guint8 * s2, int s2_stride, int n,
- int m)
+cogorc_convert_AYUV_I420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, guint8 * ORC_RESTRICT d4, int d4_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_AYUV_I420 (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_I420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_AYUV_I420 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, guint8 * d4, int d4_stride,
- const guint8 * s1, int s1_stride, const guint8 * s2, int s2_stride, int n,
- int m)
+cogorc_convert_AYUV_I420 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, guint8 * ORC_RESTRICT d4, int d4_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D4, ORC_VAR_T7, ORC_VAR_T8,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_AYUV_YUY2 (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_AYUV_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_AYUV_UYVY (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_AYUV_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_Y42B */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_AYUV_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_AYUV_Y42B (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_Y42B (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_AYUV_Y42B (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_AYUV_Y42B (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "select1wb", 1, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_Y444 */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_AYUV_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_AYUV_Y444 (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_Y444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_AYUV_Y444 (guint8 * d1, int d1_stride, guint8 * d2,
- int d2_stride, guint8 * d3, int d3_stride, const guint8 * s1, int s1_stride,
- int n, int m)
+cogorc_convert_AYUV_Y444 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ guint8 * ORC_RESTRICT d2, int d2_stride, guint8 * ORC_RESTRICT d3,
+ int d3_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y42B_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y42B_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_Y42B_YUY2 (OrcExecutor * ex)
+_backup_cogorc_convert_Y42B_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_Y42B_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y42B_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y42B_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_Y42B_UYVY (OrcExecutor * ex)
+_backup_cogorc_convert_Y42B_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_Y42B_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_S1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y42B_AYUV */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y42B_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
ptr6 = ORC_PTR_OFFSET (s3, s3_stride * j);
/* 3: loadpb */
- var38.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var38.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_convert_Y42B_AYUV (OrcExecutor * ex)
+_backup_cogorc_convert_Y42B_AYUV (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr6 = ORC_PTR_OFFSET (ex->arrays[6], ex->params[6] * j);
/* 3: loadpb */
- var38.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var38.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_convert_Y42B_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y42B_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T4, ORC_VAR_T3,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y444_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y444_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_Y444_YUY2 (OrcExecutor * ex)
+_backup_cogorc_convert_Y444_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_Y444_YUY2 (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_YUY2 (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y444_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y444_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
#else
static void
-_backup_cogorc_convert_Y444_UYVY (OrcExecutor * ex)
+_backup_cogorc_convert_Y444_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
}
void
-cogorc_convert_Y444_UYVY (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_UYVY (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_S1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_Y444_AYUV */
#ifdef DISABLE_ORC
void
-cogorc_convert_Y444_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
int i;
int j;
ptr6 = ORC_PTR_OFFSET (s3, s3_stride * j);
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_convert_Y444_AYUV (OrcExecutor * ex)
+_backup_cogorc_convert_Y444_AYUV (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr6 = ORC_PTR_OFFSET (ex->arrays[6], ex->params[6] * j);
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_convert_Y444_AYUV (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, const guint8 * s2, int s2_stride, const guint8 * s3,
- int s3_stride, int n, int m)
+cogorc_convert_Y444_AYUV (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride,
+ const guint8 * ORC_RESTRICT s2, int s2_stride,
+ const guint8 * ORC_RESTRICT s3, int s3_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_ARGB */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_ARGB (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_ARGB (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_AYUV_ARGB (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_ARGB (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_AYUV_ARGB (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_ARGB (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, 47, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_BGRA */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_BGRA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_BGRA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_AYUV_BGRA (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_BGRA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_AYUV_BGRA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_BGRA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, 47, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_ABGR */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_ABGR (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_ABGR (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_AYUV_ABGR (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_ABGR (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_AYUV_ABGR (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_ABGR (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, 47, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_AYUV_RGBA */
#ifdef DISABLE_ORC
void
-cogorc_convert_AYUV_RGBA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_RGBA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (s1, s1_stride * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_convert_AYUV_RGBA (OrcExecutor * ex)
+_backup_cogorc_convert_AYUV_RGBA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int j;
ptr4 = ORC_PTR_OFFSET (ex->arrays[4], ex->params[4] * j);
/* 1: loadpb */
- var49.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var49.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var49.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 14: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 21: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 25: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 29: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 40: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_convert_AYUV_RGBA (guint8 * d1, int d1_stride, const guint8 * s1,
- int s1_stride, int n, int m)
+cogorc_convert_AYUV_RGBA (guint8 * ORC_RESTRICT d1, int d1_stride,
+ const guint8 * ORC_RESTRICT s1, int s1_stride, int n, int m)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_2d (p);
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, 47, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_I420_BGRA */
#ifdef DISABLE_ORC
void
-cogorc_convert_I420_BGRA (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_convert_I420_BGRA (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;
ptr6 = (orc_int8 *) s3;
/* 1: loadpb */
- var46 = 0x00000080; /* 128 or 6.32404e-322f */
+ var46 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 5: loadpb */
- var47 = 0x00000080; /* 128 or 6.32404e-322f */
+ var47 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpb */
- var48 = 0x00000080; /* 128 or 6.32404e-322f */
+ var48 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpw */
- var49.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var49.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 17: loadpw */
- var50.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var50.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 24: loadpw */
- var51.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var51.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 28: loadpw */
- var52.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var52.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 32: loadpw */
- var53.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var53.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 41: loadpb */
- var54 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var54 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 44: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_convert_I420_BGRA (OrcExecutor * ex)
+_backup_cogorc_convert_I420_BGRA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 1: loadpb */
- var46 = 0x00000080; /* 128 or 6.32404e-322f */
+ var46 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 5: loadpb */
- var47 = 0x00000080; /* 128 or 6.32404e-322f */
+ var47 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 9: loadpb */
- var48 = 0x00000080; /* 128 or 6.32404e-322f */
+ var48 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpw */
- var49.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var49.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 17: loadpw */
- var50.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var50.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 24: loadpw */
- var51.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var51.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 28: loadpw */
- var52.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var52.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 32: loadpw */
- var53.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var53.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 41: loadpb */
- var54 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var54 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 44: loadpb */
- var55.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var55.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var55.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_convert_I420_BGRA (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_convert_I420_BGRA (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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_I420_BGRA");
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, ORC_VAR_T13, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_convert_I420_BGRA_avg */
#ifdef DISABLE_ORC
void
-cogorc_convert_I420_BGRA_avg (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, const guint8 * s4, const guint8 * s5, int n)
+cogorc_convert_I420_BGRA_avg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4,
+ const guint8 * ORC_RESTRICT s5, int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
ptr8 = (orc_int8 *) s5;
/* 1: loadpb */
- var47 = 0x00000080; /* 128 or 6.32404e-322f */
+ var47 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 7: loadpb */
- var48 = 0x00000080; /* 128 or 6.32404e-322f */
+ var48 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 13: loadpb */
- var49 = 0x00000080; /* 128 or 6.32404e-322f */
+ var49 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 16: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 21: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 28: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 32: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 36: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 45: loadpb */
- var55 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var55 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 48: loadpb */
- var56.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_convert_I420_BGRA_avg (OrcExecutor * ex)
+_backup_cogorc_convert_I420_BGRA_avg (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr8 = (orc_int8 *) ex->arrays[8];
/* 1: loadpb */
- var47 = 0x00000080; /* 128 or 6.32404e-322f */
+ var47 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 7: loadpb */
- var48 = 0x00000080; /* 128 or 6.32404e-322f */
+ var48 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 13: loadpb */
- var49 = 0x00000080; /* 128 or 6.32404e-322f */
+ var49 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 16: loadpw */
- var50.i = 0x0000002a; /* 42 or 2.07508e-322f */
+ var50.i = (int) 0x0000002a; /* 42 or 2.07508e-322f */
/* 21: loadpw */
- var51.i = 0x00000067; /* 103 or 5.08888e-322f */
+ var51.i = (int) 0x00000067; /* 103 or 5.08888e-322f */
/* 28: loadpw */
- var52.i = 0x00000004; /* 4 or 1.97626e-323f */
+ var52.i = (int) 0x00000004; /* 4 or 1.97626e-323f */
/* 32: loadpw */
- var53.i = 0x00000064; /* 100 or 4.94066e-322f */
+ var53.i = (int) 0x00000064; /* 100 or 4.94066e-322f */
/* 36: loadpw */
- var54.i = 0x00000068; /* 104 or 5.13828e-322f */
+ var54.i = (int) 0x00000068; /* 104 or 5.13828e-322f */
/* 45: loadpb */
- var55 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var55 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 48: loadpb */
- var56.x4[0] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[1] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[2] = 0x00000080; /* 128 or 6.32404e-322f */
- var56.x4[3] = 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var56.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_convert_I420_BGRA_avg (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, const guint8 * s4, const guint8 * s5, int n)
+cogorc_convert_I420_BGRA_avg (guint8 * ORC_RESTRICT d1,
+ const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
+ const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4,
+ const guint8 * ORC_RESTRICT s5, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_convert_I420_BGRA_avg");
orc_program_append_2 (p, "addb", 2, ORC_VAR_D1, ORC_VAR_T14, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_I420 */
#ifdef DISABLE_ORC
void
-cogorc_getline_I420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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;
ptr6 = (orc_int8 *) s3;
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
#else
static void
-_backup_cogorc_getline_I420 (OrcExecutor * ex)
+_backup_cogorc_getline_I420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
}
void
-cogorc_getline_I420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_I420");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_YUV9 */
#ifdef DISABLE_ORC
void
-cogorc_getline_YUV9 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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;
ptr6 = (orc_int8 *) s3;
/* 4: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
#else
static void
-_backup_cogorc_getline_YUV9 (OrcExecutor * ex)
+_backup_cogorc_getline_YUV9 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 4: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
}
void
-cogorc_getline_YUV9 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_YUV9");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T3,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_getline_YUY2 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union64 *ORC_RESTRICT ptr0;
ptr4 = (orc_union32 *) s1;
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_getline_YUY2 (OrcExecutor * ex)
+_backup_cogorc_getline_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr4 = (orc_union32 *) ex->arrays[4];
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_getline_YUY2 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_YUY2");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_getline_UYVY (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union64 *ORC_RESTRICT ptr0;
ptr4 = (orc_union32 *) s1;
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
#else
static void
-_backup_cogorc_getline_UYVY (OrcExecutor * ex)
+_backup_cogorc_getline_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr4 = (orc_union32 *) ex->arrays[4];
/* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
}
void
-cogorc_getline_UYVY (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_UYVY");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_YVYU */
#ifdef DISABLE_ORC
void
-cogorc_getline_YVYU (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union64 *ORC_RESTRICT ptr0;
orc_union64 var38;
orc_union16 var39;
orc_union16 var40;
- orc_union32 var41;
+ orc_union16 var41;
orc_union32 var42;
+ orc_union32 var43;
ptr0 = (orc_union64 *) d1;
ptr4 = (orc_union32 *) s1;
- /* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 3: loadpb */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var40.x2[0] = var36.x2[0] & 0xff;
var39.x2[1] = (var36.x2[1] >> 8) & 0xff;
var40.x2[1] = var36.x2[1] & 0xff;
- /* 3: mergebw */
- var41.x2[0] =
- ((orc_uint8) var37.x2[0] & 0x00ff) | ((orc_uint8) var39.x2[0] << 8);
- var41.x2[1] =
- ((orc_uint8) var37.x2[1] & 0x00ff) | ((orc_uint8) var39.x2[1] << 8);
- /* 4: mergewl */
- var42.i =
- ((orc_uint16) var40.i & 0x0000ffff) | ((orc_uint16) var40.i << 16);
+ /* 2: swapw */
+ var41.i = ORC_SWAP_W (var39.i);
+ /* 4: mergebw */
+ var42.x2[0] =
+ ((orc_uint8) var37.x2[0] & 0x00ff) | ((orc_uint8) var40.x2[0] << 8);
+ var42.x2[1] =
+ ((orc_uint8) var37.x2[1] & 0x00ff) | ((orc_uint8) var40.x2[1] << 8);
/* 5: mergewl */
+ var43.i =
+ ((orc_uint16) var41.i & 0x0000ffff) | ((orc_uint16) var41.i << 16);
+ /* 6: mergewl */
var38.x2[0] =
- ((orc_uint16) var41.x2[0] & 0x0000ffff) | ((orc_uint16) var42.
+ ((orc_uint16) var42.x2[0] & 0x0000ffff) | ((orc_uint16) var43.
x2[0] << 16);
var38.x2[1] =
- ((orc_uint16) var41.x2[1] & 0x0000ffff) | ((orc_uint16) var42.
+ ((orc_uint16) var42.x2[1] & 0x0000ffff) | ((orc_uint16) var43.
x2[1] << 16);
- /* 6: storeq */
+ /* 7: storeq */
ptr0[i] = var38;
}
#else
static void
-_backup_cogorc_getline_YVYU (OrcExecutor * ex)
+_backup_cogorc_getline_YVYU (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
orc_union64 var38;
orc_union16 var39;
orc_union16 var40;
- orc_union32 var41;
+ orc_union16 var41;
orc_union32 var42;
+ orc_union32 var43;
ptr0 = (orc_union64 *) ex->arrays[0];
ptr4 = (orc_union32 *) ex->arrays[4];
- /* 2: loadpb */
- var37.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var37.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 3: loadpb */
+ var37.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var37.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var40.x2[0] = var36.x2[0] & 0xff;
var39.x2[1] = (var36.x2[1] >> 8) & 0xff;
var40.x2[1] = var36.x2[1] & 0xff;
- /* 3: mergebw */
- var41.x2[0] =
- ((orc_uint8) var37.x2[0] & 0x00ff) | ((orc_uint8) var39.x2[0] << 8);
- var41.x2[1] =
- ((orc_uint8) var37.x2[1] & 0x00ff) | ((orc_uint8) var39.x2[1] << 8);
- /* 4: mergewl */
- var42.i =
- ((orc_uint16) var40.i & 0x0000ffff) | ((orc_uint16) var40.i << 16);
+ /* 2: swapw */
+ var41.i = ORC_SWAP_W (var39.i);
+ /* 4: mergebw */
+ var42.x2[0] =
+ ((orc_uint8) var37.x2[0] & 0x00ff) | ((orc_uint8) var40.x2[0] << 8);
+ var42.x2[1] =
+ ((orc_uint8) var37.x2[1] & 0x00ff) | ((orc_uint8) var40.x2[1] << 8);
/* 5: mergewl */
+ var43.i =
+ ((orc_uint16) var41.i & 0x0000ffff) | ((orc_uint16) var41.i << 16);
+ /* 6: mergewl */
var38.x2[0] =
- ((orc_uint16) var41.x2[0] & 0x0000ffff) | ((orc_uint16) var42.
+ ((orc_uint16) var42.x2[0] & 0x0000ffff) | ((orc_uint16) var43.
x2[0] << 16);
var38.x2[1] =
- ((orc_uint16) var41.x2[1] & 0x0000ffff) | ((orc_uint16) var42.
+ ((orc_uint16) var42.x2[1] & 0x0000ffff) | ((orc_uint16) var43.
x2[1] << 16);
- /* 6: storeq */
+ /* 7: storeq */
ptr0[i] = var38;
}
}
void
-cogorc_getline_YVYU (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_YVYU");
orc_program_add_temporary (p, 4, "t3");
orc_program_add_temporary (p, 4, "t4");
- orc_program_append_2 (p, "splitwb", 1, ORC_VAR_T1, ORC_VAR_T2, ORC_VAR_S1,
+ orc_program_append_2 (p, "splitwb", 1, ORC_VAR_T2, ORC_VAR_T1, ORC_VAR_S1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "swapw", 0, ORC_VAR_T2, ORC_VAR_T2, ORC_VAR_D1,
ORC_VAR_D1);
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_T3, ORC_VAR_C1, ORC_VAR_T1,
ORC_VAR_D1);
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_Y42B */
#ifdef DISABLE_ORC
void
-cogorc_getline_Y42B (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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;
ptr6 = (orc_int8 *) s3;
/* 3: loadpb */
- var38.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var38.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_getline_Y42B (OrcExecutor * ex)
+_backup_cogorc_getline_Y42B (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 3: loadpb */
- var38.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var38.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var38.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_getline_Y42B (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_Y42B");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T4, ORC_VAR_T3,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_Y444 */
#ifdef DISABLE_ORC
void
-cogorc_getline_Y444 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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;
ptr6 = (orc_int8 *) s3;
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
#else
static void
-_backup_cogorc_getline_Y444 (OrcExecutor * ex)
+_backup_cogorc_getline_Y444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr6 = (orc_int8 *) ex->arrays[6];
/* 3: loadpb */
- var36 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadb */
}
void
-cogorc_getline_Y444 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, int n)
+cogorc_getline_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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_Y444");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_Y800 */
#ifdef DISABLE_ORC
void
-cogorc_getline_Y800 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_Y800 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
ptr4 = (orc_int8 *) s1;
/* 0: loadpb */
- var33 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var33 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 3: loadpw */
- var35.i = 0x00008080; /* 32896 or 1.62528e-319f */
+ var35.i = (int) 0x00008080; /* 32896 or 1.62528e-319f */
for (i = 0; i < n; i++) {
/* 1: loadb */
#else
static void
-_backup_cogorc_getline_Y800 (OrcExecutor * ex)
+_backup_cogorc_getline_Y800 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr4 = (orc_int8 *) ex->arrays[4];
/* 0: loadpb */
- var33 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var33 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 3: loadpw */
- var35.i = 0x00008080; /* 32896 or 1.62528e-319f */
+ var35.i = (int) 0x00008080; /* 32896 or 1.62528e-319f */
for (i = 0; i < n; i++) {
/* 1: loadb */
}
void
-cogorc_getline_Y800 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_Y800 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_Y800");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_Y16 */
#ifdef DISABLE_ORC
void
-cogorc_getline_Y16 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_Y16 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
ptr4 = (orc_union16 *) s1;
/* 2: loadpb */
- var35 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var35 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 4: loadpw */
- var36.i = 0x00008080; /* 32896 or 1.62528e-319f */
+ var36.i = (int) 0x00008080; /* 32896 or 1.62528e-319f */
for (i = 0; i < n; i++) {
/* 0: loadw */
#else
static void
-_backup_cogorc_getline_Y16 (OrcExecutor * ex)
+_backup_cogorc_getline_Y16 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr4 = (orc_union16 *) ex->arrays[4];
/* 2: loadpb */
- var35 = 0x000000ff; /* 255 or 1.25987e-321f */
+ var35 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
/* 4: loadpw */
- var36.i = 0x00008080; /* 32896 or 1.62528e-319f */
+ var36.i = (int) 0x00008080; /* 32896 or 1.62528e-319f */
for (i = 0; i < n; i++) {
/* 0: loadw */
}
void
-cogorc_getline_Y16 (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_Y16 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_Y16");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_C2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_BGRA */
#ifdef DISABLE_ORC
void
-cogorc_getline_BGRA (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_getline_BGRA (OrcExecutor * ex)
+_backup_cogorc_getline_BGRA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_getline_BGRA (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_BGRA");
orc_program_append_2 (p, "swapl", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_ABGR */
#ifdef DISABLE_ORC
void
-cogorc_getline_ABGR (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_getline_ABGR (OrcExecutor * ex)
+_backup_cogorc_getline_ABGR (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_getline_ABGR (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_ABGR");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T7, ORC_VAR_T8,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_RGBA */
#ifdef DISABLE_ORC
void
-cogorc_getline_RGBA (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_getline_RGBA (OrcExecutor * ex)
+_backup_cogorc_getline_RGBA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_getline_RGBA (guint8 * d1, const guint8 * s1, int n)
+cogorc_getline_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_RGBA");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T7, ORC_VAR_T8,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_NV12 */
#ifdef DISABLE_ORC
void
-cogorc_getline_NV12 (guint8 * d1, const guint8 * s1, const guint8 * s2, int n)
+cogorc_getline_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_union64 *ORC_RESTRICT ptr0;
ptr5 = (orc_union16 *) s2;
/* 3: loadpb */
- var36.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var36.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadw */
#else
static void
-_backup_cogorc_getline_NV12 (OrcExecutor * ex)
+_backup_cogorc_getline_NV12 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr5 = (orc_union16 *) ex->arrays[5];
/* 3: loadpb */
- var36.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var36.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadw */
}
void
-cogorc_getline_NV12 (guint8 * d1, const guint8 * s1, const guint8 * s2, int n)
+cogorc_getline_NV12 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_NV12");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_NV21 */
#ifdef DISABLE_ORC
void
-cogorc_getline_NV21 (guint8 * d1, const guint8 * s1, const guint8 * s2, int n)
+cogorc_getline_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n)
{
int i;
orc_union64 *ORC_RESTRICT ptr0;
ptr5 = (orc_union16 *) s2;
/* 3: loadpb */
- var36.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var36.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadw */
#else
static void
-_backup_cogorc_getline_NV21 (OrcExecutor * ex)
+_backup_cogorc_getline_NV21 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
ptr5 = (orc_union16 *) ex->arrays[5];
/* 3: loadpb */
- var36.x2[0] = 0x000000ff; /* 255 or 1.25987e-321f */
- var36.x2[1] = 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[0] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ var36.x2[1] = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadw */
}
void
-cogorc_getline_NV21 (guint8 * d1, const guint8 * s1, const guint8 * s2, int n)
+cogorc_getline_NV21 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ const guint8 * ORC_RESTRICT s2, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_NV21");
orc_program_append_2 (p, "mergewl", 1, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T3,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_getline_A420 */
#ifdef DISABLE_ORC
void
-cogorc_getline_A420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, const guint8 * s4, int n)
+cogorc_getline_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;
#else
static void
-_backup_cogorc_getline_A420 (OrcExecutor * ex)
+_backup_cogorc_getline_A420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_getline_A420 (guint8 * d1, const guint8 * s1, const guint8 * s2,
- const guint8 * s3, const guint8 * s4, int n)
+cogorc_getline_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 int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_getline_A420");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_I420 */
#ifdef DISABLE_ORC
void
-cogorc_putline_I420 (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_I420 (OrcExecutor * ex)
+_backup_cogorc_putline_I420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_I420 (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_I420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_I420");
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D3, ORC_VAR_T5, ORC_VAR_T6,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_YUY2 */
#ifdef DISABLE_ORC
void
-cogorc_putline_YUY2 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_YUY2 (OrcExecutor * ex)
+_backup_cogorc_putline_YUY2 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_YUY2 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_YUY2 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_YUY2");
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_YVYU */
#ifdef DISABLE_ORC
void
-cogorc_putline_YVYU (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_YVYU (OrcExecutor * ex)
+_backup_cogorc_putline_YVYU (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_YVYU (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_YVYU (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_YVYU");
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_T2,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_UYVY */
#ifdef DISABLE_ORC
void
-cogorc_putline_UYVY (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_UYVY (OrcExecutor * ex)
+_backup_cogorc_putline_UYVY (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_UYVY (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_UYVY (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_UYVY");
orc_program_append_2 (p, "mergebw", 1, ORC_VAR_D1, ORC_VAR_T2, ORC_VAR_T1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_Y42B */
#ifdef DISABLE_ORC
void
-cogorc_putline_Y42B (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_Y42B (OrcExecutor * ex)
+_backup_cogorc_putline_Y42B (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_Y42B (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_Y42B (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_Y42B");
orc_program_append_2 (p, "select1wb", 1, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_Y444 */
#ifdef DISABLE_ORC
void
-cogorc_putline_Y444 (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_Y444 (OrcExecutor * ex)
+_backup_cogorc_putline_Y444 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_Y444 (guint8 * d1, guint8 * d2, guint8 * d3, const guint8 * s1,
- int n)
+cogorc_putline_Y444 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_Y444");
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_Y800 */
#ifdef DISABLE_ORC
void
-cogorc_putline_Y800 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_Y800 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_int8 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_Y800 (OrcExecutor * ex)
+_backup_cogorc_putline_Y800 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_Y800 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_Y800 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_Y800");
orc_program_append_2 (p, "select1wb", 0, ORC_VAR_D1, ORC_VAR_T1,
ORC_VAR_D1, ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_Y16 */
#ifdef DISABLE_ORC
void
-cogorc_putline_Y16 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_Y16 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_Y16 (OrcExecutor * ex)
+_backup_cogorc_putline_Y16 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_Y16 (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_Y16 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_Y16");
orc_program_append_2 (p, "shlw", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_C1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_BGRA */
#ifdef DISABLE_ORC
void
-cogorc_putline_BGRA (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_BGRA (OrcExecutor * ex)
+_backup_cogorc_putline_BGRA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_BGRA (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_BGRA");
orc_program_append_2 (p, "swapl", 0, ORC_VAR_D1, ORC_VAR_S1, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_ABGR */
#ifdef DISABLE_ORC
void
-cogorc_putline_ABGR (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_ABGR (OrcExecutor * ex)
+_backup_cogorc_putline_ABGR (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_ABGR (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_ABGR (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_ABGR");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T6, ORC_VAR_T5,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_RGBA */
#ifdef DISABLE_ORC
void
-cogorc_putline_RGBA (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
int i;
orc_union32 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_RGBA (OrcExecutor * ex)
+_backup_cogorc_putline_RGBA (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_RGBA (guint8 * d1, const guint8 * s1, int n)
+cogorc_putline_RGBA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
+ int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_RGBA");
orc_program_append_2 (p, "mergewl", 0, ORC_VAR_D1, ORC_VAR_T5, ORC_VAR_T6,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_NV12 */
#ifdef DISABLE_ORC
void
-cogorc_putline_NV12 (guint8 * d1, guint8 * d2, const guint8 * s1, int n)
+cogorc_putline_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_NV12 (OrcExecutor * ex)
+_backup_cogorc_putline_NV12 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_NV12 (guint8 * d1, guint8 * d2, const guint8 * s1, int n)
+cogorc_putline_NV12 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_NV12");
orc_program_append_2 (p, "avgub", 1, ORC_VAR_D2, ORC_VAR_T3, ORC_VAR_T4,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_NV21 */
#ifdef DISABLE_ORC
void
-cogorc_putline_NV21 (guint8 * d1, guint8 * d2, const guint8 * s1, int n)
+cogorc_putline_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_NV21 (OrcExecutor * ex)
+_backup_cogorc_putline_NV21 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_NV21 (guint8 * d1, guint8 * d2, const guint8 * s1, int n)
+cogorc_putline_NV21 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_NV21");
orc_program_append_2 (p, "swapw", 0, ORC_VAR_D2, ORC_VAR_T5, ORC_VAR_D1,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
/* cogorc_putline_A420 */
#ifdef DISABLE_ORC
void
-cogorc_putline_A420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, int n)
+cogorc_putline_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, int n)
{
int i;
orc_union16 *ORC_RESTRICT ptr0;
#else
static void
-_backup_cogorc_putline_A420 (OrcExecutor * ex)
+_backup_cogorc_putline_A420 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-cogorc_putline_A420 (guint8 * d1, guint8 * d2, guint8 * d3, guint8 * d4,
- const guint8 * s1, int n)
+cogorc_putline_A420 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2,
+ guint8 * ORC_RESTRICT d3, guint8 * ORC_RESTRICT d4,
+ const guint8 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
static int p_inited = 0;
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
- OrcCompileResult result;
p = orc_program_new ();
orc_program_set_name (p, "cogorc_putline_A420");
orc_program_append_2 (p, "avgub", 0, ORC_VAR_D3, ORC_VAR_T5, ORC_VAR_T6,
ORC_VAR_D1);
- result = orc_program_compile (p);
+ orc_program_compile (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();