summaryrefslogtreecommitdiff
path: root/gst/audioconvert/gstaudioconvertorc-dist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audioconvert/gstaudioconvertorc-dist.c')
-rw-r--r--gst/audioconvert/gstaudioconvertorc-dist.c540
1 files changed, 378 insertions, 162 deletions
diff --git a/gst/audioconvert/gstaudioconvertorc-dist.c b/gst/audioconvert/gstaudioconvertorc-dist.c
index 7caaa95ef..e7622278b 100644
--- a/gst/audioconvert/gstaudioconvertorc-dist.c
+++ b/gst/audioconvert/gstaudioconvertorc-dist.c
@@ -319,12 +319,13 @@ audio_convert_orc_unpack_u8 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u8");
@@ -346,18 +347,21 @@ audio_convert_orc_unpack_u8 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -434,12 +438,13 @@ audio_convert_orc_unpack_s8 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s8");
@@ -458,18 +463,21 @@ audio_convert_orc_unpack_s8 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -552,12 +560,13 @@ audio_convert_orc_unpack_u16 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u16");
@@ -576,18 +585,21 @@ audio_convert_orc_unpack_u16 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -658,12 +670,13 @@ audio_convert_orc_unpack_s16 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s16");
@@ -679,18 +692,21 @@ audio_convert_orc_unpack_s16 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -779,12 +795,13 @@ audio_convert_orc_unpack_u16_swap (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u16_swap");
@@ -807,18 +824,21 @@ audio_convert_orc_unpack_u16_swap (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -895,12 +915,13 @@ audio_convert_orc_unpack_s16_swap (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s16_swap");
@@ -920,18 +941,21 @@ audio_convert_orc_unpack_s16_swap (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1008,12 +1032,13 @@ audio_convert_orc_unpack_u32 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u32");
@@ -1030,18 +1055,21 @@ audio_convert_orc_unpack_u32 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1106,12 +1134,13 @@ audio_convert_orc_unpack_s32 (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s32");
@@ -1124,18 +1153,21 @@ audio_convert_orc_unpack_s32 (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1218,12 +1250,13 @@ audio_convert_orc_unpack_u32_swap (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u32_swap");
@@ -1243,18 +1276,21 @@ audio_convert_orc_unpack_u32_swap (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1325,12 +1361,13 @@ audio_convert_orc_unpack_s32_swap (gint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s32_swap");
@@ -1347,18 +1384,21 @@ audio_convert_orc_unpack_s32_swap (gint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1491,12 +1531,13 @@ audio_convert_orc_unpack_float_s32 (guint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_float_s32");
@@ -1518,17 +1559,20 @@ audio_convert_orc_unpack_float_s32 (guint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1667,12 +1711,13 @@ audio_convert_orc_unpack_float_s32_swap (guint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_float_s32_swap");
@@ -1694,17 +1739,20 @@ audio_convert_orc_unpack_float_s32_swap (guint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -1837,12 +1885,13 @@ audio_convert_orc_unpack_double_s32 (guint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_double_s32");
@@ -1864,17 +1913,20 @@ audio_convert_orc_unpack_double_s32 (guint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2013,12 +2065,13 @@ audio_convert_orc_unpack_double_s32_swap (guint32 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_double_s32_swap");
@@ -2040,17 +2093,20 @@ audio_convert_orc_unpack_double_s32_swap (guint32 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2123,12 +2179,13 @@ audio_convert_orc_unpack_float_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_float_double");
@@ -2141,17 +2198,20 @@ audio_convert_orc_unpack_float_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2231,12 +2291,13 @@ audio_convert_orc_unpack_float_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_float_double_swap");
@@ -2252,17 +2313,20 @@ audio_convert_orc_unpack_float_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2327,12 +2391,13 @@ audio_convert_orc_unpack_double_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_double_double");
@@ -2345,17 +2410,20 @@ audio_convert_orc_unpack_double_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2421,12 +2489,13 @@ audio_convert_orc_unpack_double_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_double_double_swap");
@@ -2439,17 +2508,20 @@ audio_convert_orc_unpack_double_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2544,12 +2616,13 @@ audio_convert_orc_unpack_u8_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u8_double");
@@ -2574,18 +2647,21 @@ audio_convert_orc_unpack_u8_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2668,12 +2744,13 @@ audio_convert_orc_unpack_s8_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s8_double");
@@ -2695,18 +2772,21 @@ audio_convert_orc_unpack_s8_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2795,12 +2875,13 @@ audio_convert_orc_unpack_u16_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u16_double");
@@ -2822,18 +2903,21 @@ audio_convert_orc_unpack_u16_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -2910,12 +2994,13 @@ audio_convert_orc_unpack_s16_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s16_double");
@@ -2934,18 +3019,21 @@ audio_convert_orc_unpack_s16_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3040,12 +3128,13 @@ audio_convert_orc_unpack_u16_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u16_double_swap");
@@ -3070,18 +3159,21 @@ audio_convert_orc_unpack_u16_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3164,12 +3256,13 @@ audio_convert_orc_unpack_s16_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s16_double_swap");
@@ -3191,18 +3284,21 @@ audio_convert_orc_unpack_s16_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3285,12 +3381,13 @@ audio_convert_orc_unpack_u32_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u32_double");
@@ -3310,18 +3407,21 @@ audio_convert_orc_unpack_u32_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3392,12 +3492,13 @@ audio_convert_orc_unpack_s32_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s32_double");
@@ -3414,18 +3515,21 @@ audio_convert_orc_unpack_s32_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3514,12 +3618,13 @@ audio_convert_orc_unpack_u32_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_u32_double_swap");
@@ -3541,18 +3646,21 @@ audio_convert_orc_unpack_u32_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3629,12 +3737,13 @@ audio_convert_orc_unpack_s32_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_unpack_s32_double_swap");
@@ -3653,18 +3762,21 @@ audio_convert_orc_unpack_s32_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3753,12 +3865,13 @@ audio_convert_orc_pack_u8 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_u8");
@@ -3780,18 +3893,21 @@ audio_convert_orc_pack_u8 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3868,12 +3984,13 @@ audio_convert_orc_pack_s8 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s8");
@@ -3892,18 +4009,21 @@ audio_convert_orc_pack_s8 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -3986,12 +4106,13 @@ audio_convert_orc_pack_u16 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_u16");
@@ -4010,18 +4131,21 @@ audio_convert_orc_pack_u16 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4092,12 +4216,13 @@ audio_convert_orc_pack_s16 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s16");
@@ -4113,18 +4238,21 @@ audio_convert_orc_pack_s16 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4213,12 +4341,13 @@ audio_convert_orc_pack_u16_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_u16_swap");
@@ -4241,18 +4370,21 @@ audio_convert_orc_pack_u16_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4329,12 +4461,13 @@ audio_convert_orc_pack_s16_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s16_swap");
@@ -4354,18 +4487,21 @@ audio_convert_orc_pack_s16_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4442,12 +4578,13 @@ audio_convert_orc_pack_u32 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_u32");
@@ -4464,18 +4601,21 @@ audio_convert_orc_pack_u32 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4540,12 +4680,13 @@ audio_convert_orc_pack_s32 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32");
@@ -4558,18 +4699,21 @@ audio_convert_orc_pack_s32 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4652,12 +4796,13 @@ audio_convert_orc_pack_u32_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_u32_swap");
@@ -4677,18 +4822,21 @@ audio_convert_orc_pack_u32_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4759,12 +4907,13 @@ audio_convert_orc_pack_s32_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32_swap");
@@ -4781,18 +4930,21 @@ audio_convert_orc_pack_s32_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -4885,12 +5037,13 @@ audio_convert_orc_pack_s32_float (gfloat * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32_float");
@@ -4909,17 +5062,20 @@ audio_convert_orc_pack_s32_float (gfloat * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5018,12 +5174,13 @@ audio_convert_orc_pack_s32_float_swap (gfloat * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32_float_swap");
@@ -5042,17 +5199,20 @@ audio_convert_orc_pack_s32_float_swap (gfloat * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5145,12 +5305,13 @@ audio_convert_orc_pack_s32_double (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32_double");
@@ -5169,17 +5330,20 @@ audio_convert_orc_pack_s32_double (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5278,12 +5442,13 @@ audio_convert_orc_pack_s32_double_swap (gdouble * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_s32_double_swap");
@@ -5302,17 +5467,20 @@ audio_convert_orc_pack_s32_double_swap (gdouble * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5389,12 +5557,13 @@ audio_convert_orc_pack_double_float (gfloat * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_float");
@@ -5407,17 +5576,20 @@ audio_convert_orc_pack_double_float (gfloat * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5500,12 +5672,13 @@ audio_convert_orc_pack_double_float_swap (gfloat * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_float_swap");
@@ -5521,17 +5694,20 @@ audio_convert_orc_pack_double_float_swap (gfloat * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5638,12 +5814,13 @@ audio_convert_orc_pack_double_u8 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_u8");
@@ -5668,18 +5845,21 @@ audio_convert_orc_pack_double_u8 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5774,12 +5954,13 @@ audio_convert_orc_pack_double_s8 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_s8");
@@ -5801,18 +5982,21 @@ audio_convert_orc_pack_double_s8 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -5913,12 +6097,13 @@ audio_convert_orc_pack_double_u16 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_u16");
@@ -5940,18 +6125,21 @@ audio_convert_orc_pack_double_u16 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6040,12 +6228,13 @@ audio_convert_orc_pack_double_s16 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_s16");
@@ -6064,18 +6253,21 @@ audio_convert_orc_pack_double_s16 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6182,12 +6374,13 @@ audio_convert_orc_pack_double_u16_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_u16_swap");
@@ -6212,18 +6405,21 @@ audio_convert_orc_pack_double_u16_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6318,12 +6514,13 @@ audio_convert_orc_pack_double_s16_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_s16_swap");
@@ -6345,18 +6542,21 @@ audio_convert_orc_pack_double_s16_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6451,12 +6651,13 @@ audio_convert_orc_pack_double_u32 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_u32");
@@ -6476,18 +6677,21 @@ audio_convert_orc_pack_double_u32 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6570,12 +6774,13 @@ audio_convert_orc_pack_double_s32 (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_s32");
@@ -6592,18 +6797,21 @@ audio_convert_orc_pack_double_s32 (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6704,12 +6912,13 @@ audio_convert_orc_pack_double_u32_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_u32_swap");
@@ -6731,18 +6940,21 @@ audio_convert_orc_pack_double_u32_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif
@@ -6831,12 +7043,13 @@ audio_convert_orc_pack_double_s32_swap (guint8 * ORC_RESTRICT d1,
{
OrcExecutor _ex, *ex = &_ex;
static volatile int p_inited = 0;
- static OrcProgram *p = 0;
+ static OrcCode *c = 0;
void (*func) (OrcExecutor *);
if (!p_inited) {
orc_once_mutex_lock ();
if (!p_inited) {
+ OrcProgram *p;
p = orc_program_new ();
orc_program_set_name (p, "audio_convert_orc_pack_double_s32_swap");
@@ -6855,18 +7068,21 @@ audio_convert_orc_pack_double_s32_swap (guint8 * ORC_RESTRICT d1,
ORC_VAR_D1);
orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
}
p_inited = TRUE;
orc_once_mutex_unlock ();
}
- ex->program = p;
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
ex->n = n;
ex->arrays[ORC_VAR_D1] = d1;
ex->arrays[ORC_VAR_S1] = (void *) s1;
ex->params[ORC_VAR_P1] = p1;
- func = p->code_exec;
+ func = c->exec;
func (ex);
}
#endif