mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
Release 1.5.1
This commit is contained in:
parent
b57388bce7
commit
baff8aa729
1 changed files with 125 additions and 181 deletions
|
@ -1120,16 +1120,11 @@ audiomixer_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_int8 var35;
|
||||
#endif
|
||||
orc_int8 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_int8 var37;
|
||||
#else
|
||||
orc_int8 var37;
|
||||
#endif
|
||||
orc_int8 var38;
|
||||
orc_int8 var39;
|
||||
orc_union16 var39;
|
||||
orc_union16 var40;
|
||||
orc_union16 var41;
|
||||
orc_int8 var42;
|
||||
orc_int8 var41;
|
||||
|
||||
ptr0 = (orc_int8 *) d1;
|
||||
|
||||
|
@ -1137,24 +1132,22 @@ audiomixer_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
var35 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
/* 3: loadpb */
|
||||
var36 = p1;
|
||||
/* 7: loadpb */
|
||||
var37 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadb */
|
||||
var34 = ptr0[i];
|
||||
/* 2: xorb */
|
||||
var39 = var34 ^ var35;
|
||||
var38 = var34 ^ var35;
|
||||
/* 4: mulsbw */
|
||||
var40.i = var39 * var36;
|
||||
var39.i = var38 * var36;
|
||||
/* 5: shrsw */
|
||||
var41.i = var40.i >> 3;
|
||||
var40.i = var39.i >> 3;
|
||||
/* 6: convssswb */
|
||||
var42 = ORC_CLAMP_SB (var41.i);
|
||||
/* 8: xorb */
|
||||
var38 = var42 ^ var37;
|
||||
/* 9: storeb */
|
||||
ptr0[i] = var38;
|
||||
var41 = ORC_CLAMP_SB (var40.i);
|
||||
/* 7: xorb */
|
||||
var37 = var41 ^ var35;
|
||||
/* 8: storeb */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1173,16 +1166,11 @@ _backup_audiomixer_orc_volume_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
orc_int8 var35;
|
||||
#endif
|
||||
orc_int8 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_int8 var37;
|
||||
#else
|
||||
orc_int8 var37;
|
||||
#endif
|
||||
orc_int8 var38;
|
||||
orc_int8 var39;
|
||||
orc_union16 var39;
|
||||
orc_union16 var40;
|
||||
orc_union16 var41;
|
||||
orc_int8 var42;
|
||||
orc_int8 var41;
|
||||
|
||||
ptr0 = (orc_int8 *) ex->arrays[0];
|
||||
|
||||
|
@ -1190,24 +1178,22 @@ _backup_audiomixer_orc_volume_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
var35 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
/* 3: loadpb */
|
||||
var36 = ex->params[24];
|
||||
/* 7: loadpb */
|
||||
var37 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadb */
|
||||
var34 = ptr0[i];
|
||||
/* 2: xorb */
|
||||
var39 = var34 ^ var35;
|
||||
var38 = var34 ^ var35;
|
||||
/* 4: mulsbw */
|
||||
var40.i = var39 * var36;
|
||||
var39.i = var38 * var36;
|
||||
/* 5: shrsw */
|
||||
var41.i = var40.i >> 3;
|
||||
var40.i = var39.i >> 3;
|
||||
/* 6: convssswb */
|
||||
var42 = ORC_CLAMP_SB (var41.i);
|
||||
/* 8: xorb */
|
||||
var38 = var42 ^ var37;
|
||||
/* 9: storeb */
|
||||
ptr0[i] = var38;
|
||||
var41 = ORC_CLAMP_SB (var40.i);
|
||||
/* 7: xorb */
|
||||
var37 = var41 ^ var35;
|
||||
/* 8: storeb */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1229,7 +1215,7 @@ audiomixer_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 24, 97, 117, 100, 105, 111, 109, 105, 120, 101, 114, 95, 111, 114,
|
||||
99, 95, 118, 111, 108, 117, 109, 101, 95, 117, 56, 11, 1, 1, 14, 1,
|
||||
128, 0, 0, 0, 14, 4, 3, 0, 0, 0, 16, 1, 20, 2, 20, 1,
|
||||
128, 0, 0, 0, 14, 2, 3, 0, 0, 0, 16, 1, 20, 2, 20, 1,
|
||||
68, 33, 0, 16, 174, 32, 33, 24, 94, 32, 32, 17, 159, 33, 32, 68,
|
||||
0, 33, 16, 2, 0,
|
||||
};
|
||||
|
@ -1241,7 +1227,7 @@ audiomixer_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_backup_function (p, _backup_audiomixer_orc_volume_u8);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
orc_program_add_constant (p, 1, 0x00000080, "c1");
|
||||
orc_program_add_constant (p, 4, 0x00000003, "c2");
|
||||
orc_program_add_constant (p, 2, 0x00000003, "c2");
|
||||
orc_program_add_parameter (p, 1, "p1");
|
||||
orc_program_add_temporary (p, 2, "t1");
|
||||
orc_program_add_temporary (p, 1, "t2");
|
||||
|
@ -1294,18 +1280,13 @@ audiomixer_orc_add_volume_u8 (guint8 * ORC_RESTRICT d1,
|
|||
orc_int8 var35;
|
||||
#endif
|
||||
orc_int8 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_int8 var37;
|
||||
#else
|
||||
orc_int8 var37;
|
||||
#endif
|
||||
orc_int8 var38;
|
||||
orc_int8 var39;
|
||||
orc_int8 var40;
|
||||
orc_union16 var40;
|
||||
orc_union16 var41;
|
||||
orc_union16 var42;
|
||||
orc_int8 var42;
|
||||
orc_int8 var43;
|
||||
orc_int8 var44;
|
||||
|
||||
ptr0 = (orc_int8 *) d1;
|
||||
ptr4 = (orc_int8 *) s1;
|
||||
|
@ -1314,28 +1295,26 @@ audiomixer_orc_add_volume_u8 (guint8 * ORC_RESTRICT d1,
|
|||
var35 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
/* 3: loadpb */
|
||||
var36 = p1;
|
||||
/* 7: loadpb */
|
||||
var37 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadb */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorb */
|
||||
var40 = var34 ^ var35;
|
||||
var39 = var34 ^ var35;
|
||||
/* 4: mulsbw */
|
||||
var41.i = var40 * var36;
|
||||
var40.i = var39 * var36;
|
||||
/* 5: shrsw */
|
||||
var42.i = var41.i >> 3;
|
||||
var41.i = var40.i >> 3;
|
||||
/* 6: convssswb */
|
||||
var43 = ORC_CLAMP_SB (var42.i);
|
||||
/* 8: xorb */
|
||||
var44 = var43 ^ var37;
|
||||
/* 9: loadb */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusb */
|
||||
var39 = ORC_CLAMP_UB ((orc_uint8) var38 + (orc_uint8) var44);
|
||||
/* 11: storeb */
|
||||
ptr0[i] = var39;
|
||||
var42 = ORC_CLAMP_SB (var41.i);
|
||||
/* 7: xorb */
|
||||
var43 = var42 ^ var35;
|
||||
/* 8: loadb */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusb */
|
||||
var38 = ORC_CLAMP_UB ((orc_uint8) var37 + (orc_uint8) var43);
|
||||
/* 10: storeb */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1355,18 +1334,13 @@ _backup_audiomixer_orc_add_volume_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
orc_int8 var35;
|
||||
#endif
|
||||
orc_int8 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_int8 var37;
|
||||
#else
|
||||
orc_int8 var37;
|
||||
#endif
|
||||
orc_int8 var38;
|
||||
orc_int8 var39;
|
||||
orc_int8 var40;
|
||||
orc_union16 var40;
|
||||
orc_union16 var41;
|
||||
orc_union16 var42;
|
||||
orc_int8 var42;
|
||||
orc_int8 var43;
|
||||
orc_int8 var44;
|
||||
|
||||
ptr0 = (orc_int8 *) ex->arrays[0];
|
||||
ptr4 = (orc_int8 *) ex->arrays[4];
|
||||
|
@ -1375,28 +1349,26 @@ _backup_audiomixer_orc_add_volume_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
var35 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
/* 3: loadpb */
|
||||
var36 = ex->params[24];
|
||||
/* 7: loadpb */
|
||||
var37 = (int) 0x00000080; /* 128 or 6.32404e-322f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadb */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorb */
|
||||
var40 = var34 ^ var35;
|
||||
var39 = var34 ^ var35;
|
||||
/* 4: mulsbw */
|
||||
var41.i = var40 * var36;
|
||||
var40.i = var39 * var36;
|
||||
/* 5: shrsw */
|
||||
var42.i = var41.i >> 3;
|
||||
var41.i = var40.i >> 3;
|
||||
/* 6: convssswb */
|
||||
var43 = ORC_CLAMP_SB (var42.i);
|
||||
/* 8: xorb */
|
||||
var44 = var43 ^ var37;
|
||||
/* 9: loadb */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusb */
|
||||
var39 = ORC_CLAMP_UB ((orc_uint8) var38 + (orc_uint8) var44);
|
||||
/* 11: storeb */
|
||||
ptr0[i] = var39;
|
||||
var42 = ORC_CLAMP_SB (var41.i);
|
||||
/* 7: xorb */
|
||||
var43 = var42 ^ var35;
|
||||
/* 8: loadb */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusb */
|
||||
var38 = ORC_CLAMP_UB ((orc_uint8) var37 + (orc_uint8) var43);
|
||||
/* 10: storeb */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1419,7 +1391,7 @@ audiomixer_orc_add_volume_u8 (guint8 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 28, 97, 117, 100, 105, 111, 109, 105, 120, 101, 114, 95, 111, 114,
|
||||
99, 95, 97, 100, 100, 95, 118, 111, 108, 117, 109, 101, 95, 117, 56, 11,
|
||||
1, 1, 12, 1, 1, 14, 1, 128, 0, 0, 0, 14, 4, 3, 0, 0,
|
||||
1, 1, 12, 1, 1, 14, 1, 128, 0, 0, 0, 14, 2, 3, 0, 0,
|
||||
0, 16, 1, 20, 2, 20, 1, 68, 33, 4, 16, 174, 32, 33, 24, 94,
|
||||
32, 32, 17, 159, 33, 32, 68, 33, 33, 16, 35, 0, 0, 33, 2, 0,
|
||||
|
||||
|
@ -1433,7 +1405,7 @@ audiomixer_orc_add_volume_u8 (guint8 * ORC_RESTRICT d1,
|
|||
orc_program_add_destination (p, 1, "d1");
|
||||
orc_program_add_source (p, 1, "s1");
|
||||
orc_program_add_constant (p, 1, 0x00000080, "c1");
|
||||
orc_program_add_constant (p, 4, 0x00000003, "c2");
|
||||
orc_program_add_constant (p, 2, 0x00000003, "c2");
|
||||
orc_program_add_parameter (p, 1, "p1");
|
||||
orc_program_add_temporary (p, 2, "t1");
|
||||
orc_program_add_temporary (p, 1, "t2");
|
||||
|
@ -1574,7 +1546,7 @@ audiomixer_orc_add_volume_s8 (gint8 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 28, 97, 117, 100, 105, 111, 109, 105, 120, 101, 114, 95, 111, 114,
|
||||
99, 95, 97, 100, 100, 95, 118, 111, 108, 117, 109, 101, 95, 115, 56, 11,
|
||||
1, 1, 12, 1, 1, 14, 4, 3, 0, 0, 0, 16, 1, 20, 2, 20,
|
||||
1, 1, 12, 1, 1, 14, 2, 3, 0, 0, 0, 16, 1, 20, 2, 20,
|
||||
1, 174, 32, 4, 24, 94, 32, 32, 16, 159, 33, 32, 34, 0, 0, 33,
|
||||
2, 0,
|
||||
};
|
||||
|
@ -1586,7 +1558,7 @@ audiomixer_orc_add_volume_s8 (gint8 * ORC_RESTRICT d1,
|
|||
orc_program_set_backup_function (p, _backup_audiomixer_orc_add_volume_s8);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
orc_program_add_source (p, 1, "s1");
|
||||
orc_program_add_constant (p, 4, 0x00000003, "c1");
|
||||
orc_program_add_constant (p, 2, 0x00000003, "c1");
|
||||
orc_program_add_parameter (p, 1, "p1");
|
||||
orc_program_add_temporary (p, 2, "t1");
|
||||
orc_program_add_temporary (p, 1, "t2");
|
||||
|
@ -1638,18 +1610,13 @@ audiomixer_orc_add_volume_u16 (guint16 * ORC_RESTRICT d1,
|
|||
orc_union16 var35;
|
||||
#endif
|
||||
orc_union16 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_union16 var37;
|
||||
#else
|
||||
orc_union16 var37;
|
||||
#endif
|
||||
orc_union16 var38;
|
||||
orc_union16 var39;
|
||||
orc_union16 var40;
|
||||
orc_union32 var40;
|
||||
orc_union32 var41;
|
||||
orc_union32 var42;
|
||||
orc_union16 var42;
|
||||
orc_union16 var43;
|
||||
orc_union16 var44;
|
||||
|
||||
ptr0 = (orc_union16 *) d1;
|
||||
ptr4 = (orc_union16 *) s1;
|
||||
|
@ -1658,28 +1625,26 @@ audiomixer_orc_add_volume_u16 (guint16 * ORC_RESTRICT d1,
|
|||
var35.i = (int) 0x00008000; /* 32768 or 1.61895e-319f */
|
||||
/* 3: loadpw */
|
||||
var36.i = p1;
|
||||
/* 7: loadpw */
|
||||
var37.i = (int) 0x00008000; /* 32768 or 1.61895e-319f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadw */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorw */
|
||||
var40.i = var34.i ^ var35.i;
|
||||
var39.i = var34.i ^ var35.i;
|
||||
/* 4: mulswl */
|
||||
var41.i = var40.i * var36.i;
|
||||
var40.i = var39.i * var36.i;
|
||||
/* 5: shrsl */
|
||||
var42.i = var41.i >> 11;
|
||||
var41.i = var40.i >> 11;
|
||||
/* 6: convssslw */
|
||||
var43.i = ORC_CLAMP_SW (var42.i);
|
||||
/* 8: xorw */
|
||||
var44.i = var43.i ^ var37.i;
|
||||
/* 9: loadw */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusw */
|
||||
var39.i = ORC_CLAMP_UW ((orc_uint16) var38.i + (orc_uint16) var44.i);
|
||||
/* 11: storew */
|
||||
ptr0[i] = var39;
|
||||
var42.i = ORC_CLAMP_SW (var41.i);
|
||||
/* 7: xorw */
|
||||
var43.i = var42.i ^ var35.i;
|
||||
/* 8: loadw */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusw */
|
||||
var38.i = ORC_CLAMP_UW ((orc_uint16) var37.i + (orc_uint16) var43.i);
|
||||
/* 10: storew */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1699,18 +1664,13 @@ _backup_audiomixer_orc_add_volume_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
orc_union16 var35;
|
||||
#endif
|
||||
orc_union16 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_union16 var37;
|
||||
#else
|
||||
orc_union16 var37;
|
||||
#endif
|
||||
orc_union16 var38;
|
||||
orc_union16 var39;
|
||||
orc_union16 var40;
|
||||
orc_union32 var40;
|
||||
orc_union32 var41;
|
||||
orc_union32 var42;
|
||||
orc_union16 var42;
|
||||
orc_union16 var43;
|
||||
orc_union16 var44;
|
||||
|
||||
ptr0 = (orc_union16 *) ex->arrays[0];
|
||||
ptr4 = (orc_union16 *) ex->arrays[4];
|
||||
|
@ -1719,28 +1679,26 @@ _backup_audiomixer_orc_add_volume_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
var35.i = (int) 0x00008000; /* 32768 or 1.61895e-319f */
|
||||
/* 3: loadpw */
|
||||
var36.i = ex->params[24];
|
||||
/* 7: loadpw */
|
||||
var37.i = (int) 0x00008000; /* 32768 or 1.61895e-319f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadw */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorw */
|
||||
var40.i = var34.i ^ var35.i;
|
||||
var39.i = var34.i ^ var35.i;
|
||||
/* 4: mulswl */
|
||||
var41.i = var40.i * var36.i;
|
||||
var40.i = var39.i * var36.i;
|
||||
/* 5: shrsl */
|
||||
var42.i = var41.i >> 11;
|
||||
var41.i = var40.i >> 11;
|
||||
/* 6: convssslw */
|
||||
var43.i = ORC_CLAMP_SW (var42.i);
|
||||
/* 8: xorw */
|
||||
var44.i = var43.i ^ var37.i;
|
||||
/* 9: loadw */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusw */
|
||||
var39.i = ORC_CLAMP_UW ((orc_uint16) var38.i + (orc_uint16) var44.i);
|
||||
/* 11: storew */
|
||||
ptr0[i] = var39;
|
||||
var42.i = ORC_CLAMP_SW (var41.i);
|
||||
/* 7: xorw */
|
||||
var43.i = var42.i ^ var35.i;
|
||||
/* 8: loadw */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusw */
|
||||
var38.i = ORC_CLAMP_UW ((orc_uint16) var37.i + (orc_uint16) var43.i);
|
||||
/* 10: storew */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1986,18 +1944,13 @@ audiomixer_orc_add_volume_u32 (guint32 * ORC_RESTRICT d1,
|
|||
orc_union32 var35;
|
||||
#endif
|
||||
orc_union32 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_union32 var37;
|
||||
#else
|
||||
orc_union32 var37;
|
||||
#endif
|
||||
orc_union32 var38;
|
||||
orc_union32 var39;
|
||||
orc_union32 var40;
|
||||
orc_union64 var40;
|
||||
orc_union64 var41;
|
||||
orc_union64 var42;
|
||||
orc_union32 var42;
|
||||
orc_union32 var43;
|
||||
orc_union32 var44;
|
||||
|
||||
ptr0 = (orc_union32 *) d1;
|
||||
ptr4 = (orc_union32 *) s1;
|
||||
|
@ -2006,30 +1959,28 @@ audiomixer_orc_add_volume_u32 (guint32 * ORC_RESTRICT d1,
|
|||
var35.i = (int) 0x80000000; /* -2147483648 or 1.061e-314f */
|
||||
/* 3: loadpl */
|
||||
var36.i = p1;
|
||||
/* 7: loadpl */
|
||||
var37.i = (int) 0x80000000; /* -2147483648 or 1.061e-314f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadl */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorl */
|
||||
var40.i = var34.i ^ var35.i;
|
||||
var39.i = var34.i ^ var35.i;
|
||||
/* 4: mulslq */
|
||||
var41.i = ((orc_int64) var40.i) * ((orc_int64) var36.i);
|
||||
var40.i = ((orc_int64) var39.i) * ((orc_int64) var36.i);
|
||||
/* 5: shrsq */
|
||||
var42.i = var41.i >> 27;
|
||||
var41.i = var40.i >> 27;
|
||||
/* 6: convsssql */
|
||||
var43.i = ORC_CLAMP_SL (var42.i);
|
||||
/* 8: xorl */
|
||||
var44.i = var43.i ^ var37.i;
|
||||
/* 9: loadl */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusl */
|
||||
var39.i =
|
||||
ORC_CLAMP_UL ((orc_int64) (orc_uint32) var38.i +
|
||||
(orc_int64) (orc_uint32) var44.i);
|
||||
/* 11: storel */
|
||||
ptr0[i] = var39;
|
||||
var42.i = ORC_CLAMP_SL (var41.i);
|
||||
/* 7: xorl */
|
||||
var43.i = var42.i ^ var35.i;
|
||||
/* 8: loadl */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusl */
|
||||
var38.i =
|
||||
ORC_CLAMP_UL ((orc_int64) (orc_uint32) var37.i +
|
||||
(orc_int64) (orc_uint32) var43.i);
|
||||
/* 10: storel */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2049,18 +2000,13 @@ _backup_audiomixer_orc_add_volume_u32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
orc_union32 var35;
|
||||
#endif
|
||||
orc_union32 var36;
|
||||
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
|
||||
volatile orc_union32 var37;
|
||||
#else
|
||||
orc_union32 var37;
|
||||
#endif
|
||||
orc_union32 var38;
|
||||
orc_union32 var39;
|
||||
orc_union32 var40;
|
||||
orc_union64 var40;
|
||||
orc_union64 var41;
|
||||
orc_union64 var42;
|
||||
orc_union32 var42;
|
||||
orc_union32 var43;
|
||||
orc_union32 var44;
|
||||
|
||||
ptr0 = (orc_union32 *) ex->arrays[0];
|
||||
ptr4 = (orc_union32 *) ex->arrays[4];
|
||||
|
@ -2069,30 +2015,28 @@ _backup_audiomixer_orc_add_volume_u32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
var35.i = (int) 0x80000000; /* -2147483648 or 1.061e-314f */
|
||||
/* 3: loadpl */
|
||||
var36.i = ex->params[24];
|
||||
/* 7: loadpl */
|
||||
var37.i = (int) 0x80000000; /* -2147483648 or 1.061e-314f */
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: loadl */
|
||||
var34 = ptr4[i];
|
||||
/* 2: xorl */
|
||||
var40.i = var34.i ^ var35.i;
|
||||
var39.i = var34.i ^ var35.i;
|
||||
/* 4: mulslq */
|
||||
var41.i = ((orc_int64) var40.i) * ((orc_int64) var36.i);
|
||||
var40.i = ((orc_int64) var39.i) * ((orc_int64) var36.i);
|
||||
/* 5: shrsq */
|
||||
var42.i = var41.i >> 27;
|
||||
var41.i = var40.i >> 27;
|
||||
/* 6: convsssql */
|
||||
var43.i = ORC_CLAMP_SL (var42.i);
|
||||
/* 8: xorl */
|
||||
var44.i = var43.i ^ var37.i;
|
||||
/* 9: loadl */
|
||||
var38 = ptr0[i];
|
||||
/* 10: addusl */
|
||||
var39.i =
|
||||
ORC_CLAMP_UL ((orc_int64) (orc_uint32) var38.i +
|
||||
(orc_int64) (orc_uint32) var44.i);
|
||||
/* 11: storel */
|
||||
ptr0[i] = var39;
|
||||
var42.i = ORC_CLAMP_SL (var41.i);
|
||||
/* 7: xorl */
|
||||
var43.i = var42.i ^ var35.i;
|
||||
/* 8: loadl */
|
||||
var37 = ptr0[i];
|
||||
/* 9: addusl */
|
||||
var38.i =
|
||||
ORC_CLAMP_UL ((orc_int64) (orc_uint32) var37.i +
|
||||
(orc_int64) (orc_uint32) var43.i);
|
||||
/* 10: storel */
|
||||
ptr0[i] = var38;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2115,10 +2059,10 @@ audiomixer_orc_add_volume_u32 (guint32 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 29, 97, 117, 100, 105, 111, 109, 105, 120, 101, 114, 95, 111, 114,
|
||||
99, 95, 97, 100, 100, 95, 118, 111, 108, 117, 109, 101, 95, 117, 51, 50,
|
||||
11, 4, 4, 12, 4, 4, 14, 4, 0, 0, 0, 128, 14, 4, 27, 0,
|
||||
0, 0, 16, 4, 20, 8, 20, 4, 132, 33, 4, 16, 178, 32, 33, 24,
|
||||
147, 32, 32, 17, 170, 33, 32, 132, 33, 33, 16, 105, 0, 0, 33, 2,
|
||||
0,
|
||||
11, 4, 4, 12, 4, 4, 14, 4, 0, 0, 0, 128, 15, 8, 27, 0,
|
||||
0, 0, 0, 0, 0, 0, 16, 4, 20, 8, 20, 4, 132, 33, 4, 16,
|
||||
178, 32, 33, 24, 147, 32, 32, 17, 170, 33, 32, 132, 33, 33, 16, 105,
|
||||
0, 0, 33, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p,
|
||||
|
@ -2131,7 +2075,7 @@ audiomixer_orc_add_volume_u32 (guint32 * ORC_RESTRICT d1,
|
|||
orc_program_add_destination (p, 4, "d1");
|
||||
orc_program_add_source (p, 4, "s1");
|
||||
orc_program_add_constant (p, 4, 0x80000000, "c1");
|
||||
orc_program_add_constant (p, 4, 0x0000001b, "c2");
|
||||
orc_program_add_constant_int64 (p, 8, 0x000000000000001bULL, "c2");
|
||||
orc_program_add_parameter (p, 4, "p1");
|
||||
orc_program_add_temporary (p, 8, "t1");
|
||||
orc_program_add_temporary (p, 4, "t2");
|
||||
|
@ -2272,9 +2216,9 @@ audiomixer_orc_add_volume_s32 (gint32 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 29, 97, 117, 100, 105, 111, 109, 105, 120, 101, 114, 95, 111, 114,
|
||||
99, 95, 97, 100, 100, 95, 118, 111, 108, 117, 109, 101, 95, 115, 51, 50,
|
||||
11, 4, 4, 12, 4, 4, 14, 4, 27, 0, 0, 0, 16, 4, 20, 8,
|
||||
20, 4, 178, 32, 4, 24, 147, 32, 32, 16, 170, 33, 32, 104, 0, 0,
|
||||
33, 2, 0,
|
||||
11, 4, 4, 12, 4, 4, 15, 8, 27, 0, 0, 0, 0, 0, 0, 0,
|
||||
16, 4, 20, 8, 20, 4, 178, 32, 4, 24, 147, 32, 32, 16, 170, 33,
|
||||
32, 104, 0, 0, 33, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p,
|
||||
|
@ -2286,7 +2230,7 @@ audiomixer_orc_add_volume_s32 (gint32 * ORC_RESTRICT d1,
|
|||
_backup_audiomixer_orc_add_volume_s32);
|
||||
orc_program_add_destination (p, 4, "d1");
|
||||
orc_program_add_source (p, 4, "s1");
|
||||
orc_program_add_constant (p, 4, 0x0000001b, "c1");
|
||||
orc_program_add_constant_int64 (p, 8, 0x000000000000001bULL, "c1");
|
||||
orc_program_add_parameter (p, 4, "p1");
|
||||
orc_program_add_temporary (p, 8, "t1");
|
||||
orc_program_add_temporary (p, 4, "t2");
|
||||
|
@ -2651,8 +2595,8 @@ audiomixer_orc_add_volume_f64 (double *ORC_RESTRICT d1,
|
|||
{
|
||||
orc_union64 tmp;
|
||||
tmp.f = p1;
|
||||
ex->params[ORC_VAR_P1] = tmp.x2[0];
|
||||
ex->params[ORC_VAR_T1] = tmp.x2[1];
|
||||
ex->params[ORC_VAR_P1] = ((orc_uint64) tmp.i) & 0xffffffff;
|
||||
ex->params[ORC_VAR_T1] = ((orc_uint64) tmp.i) >> 32;
|
||||
}
|
||||
|
||||
func = c->exec;
|
||||
|
|
Loading…
Reference in a new issue