mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
orc: update orc files
This commit is contained in:
parent
e2864494fe
commit
783204824d
7 changed files with 560 additions and 528 deletions
|
@ -250,7 +250,7 @@ audio_orc_unpack_u8 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << 24;
|
||||
var39.i = ((orc_uint32) var38.i) << 24;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -292,7 +292,7 @@ _backup_audio_orc_unpack_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << 24;
|
||||
var39.i = ((orc_uint32) var38.i) << 24;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -391,7 +391,7 @@ audio_orc_unpack_s8 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << 24;
|
||||
var35.i = ((orc_uint32) var37.i) << 24;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -423,7 +423,7 @@ _backup_audio_orc_unpack_s8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << 24;
|
||||
var35.i = ((orc_uint32) var37.i) << 24;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -522,7 +522,7 @@ audio_orc_unpack_u16 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << 16;
|
||||
var37.i = ((orc_uint32) var36.i) << 16;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -561,7 +561,7 @@ _backup_audio_orc_unpack_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << 16;
|
||||
var37.i = ((orc_uint32) var36.i) << 16;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -654,7 +654,7 @@ audio_orc_unpack_s16 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1,
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << 16;
|
||||
var34.i = ((orc_uint32) var35.i) << 16;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -683,7 +683,7 @@ _backup_audio_orc_unpack_s16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << 16;
|
||||
var34.i = ((orc_uint32) var35.i) << 16;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -781,7 +781,7 @@ audio_orc_unpack_u16_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << 16;
|
||||
var39.i = ((orc_uint32) var38.i) << 16;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -823,7 +823,7 @@ _backup_audio_orc_unpack_u16_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << 16;
|
||||
var39.i = ((orc_uint32) var38.i) << 16;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -923,7 +923,7 @@ audio_orc_unpack_s16_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << 16;
|
||||
var35.i = ((orc_uint32) var37.i) << 16;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -955,7 +955,7 @@ _backup_audio_orc_unpack_s16_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << 16;
|
||||
var35.i = ((orc_uint32) var37.i) << 16;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -1051,7 +1051,7 @@ audio_orc_unpack_u24_32 (gint32 * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << 8;
|
||||
var36.i = ((orc_uint32) var33.i) << 8;
|
||||
/* 3: xorl */
|
||||
var35.i = var36.i ^ var34.i;
|
||||
/* 4: storel */
|
||||
|
@ -1087,7 +1087,7 @@ _backup_audio_orc_unpack_u24_32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << 8;
|
||||
var36.i = ((orc_uint32) var33.i) << 8;
|
||||
/* 3: xorl */
|
||||
var35.i = var36.i ^ var34.i;
|
||||
/* 4: storel */
|
||||
|
@ -1175,7 +1175,7 @@ audio_orc_unpack_s24_32 (gint32 * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var32 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var33.i = var32.i << 8;
|
||||
var33.i = ((orc_uint32) var32.i) << 8;
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
}
|
||||
|
@ -1201,7 +1201,7 @@ _backup_audio_orc_unpack_s24_32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var32 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var33.i = var32.i << 8;
|
||||
var33.i = ((orc_uint32) var32.i) << 8;
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
}
|
||||
|
@ -1293,7 +1293,7 @@ audio_orc_unpack_u24_32_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << 8;
|
||||
var37.i = ((orc_uint32) var36.i) << 8;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -1332,7 +1332,7 @@ _backup_audio_orc_unpack_u24_32_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << 8;
|
||||
var37.i = ((orc_uint32) var36.i) << 8;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -1426,7 +1426,7 @@ audio_orc_unpack_s24_32_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << 8;
|
||||
var34.i = ((orc_uint32) var35.i) << 8;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -1455,7 +1455,7 @@ _backup_audio_orc_unpack_s24_32_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << 8;
|
||||
var34.i = ((orc_uint32) var35.i) << 8;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
|
|
@ -297,83 +297,85 @@ void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1,
|
|||
orc_int64 p4, int n);
|
||||
void video_orc_resample_h_near_u32_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_h_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_h_2tap_4u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_v_2tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
void video_orc_resample_v_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n);
|
||||
void video_orc_resample_v_2tap_u16 (guint64 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const guint64 * ORC_RESTRICT s2, int p1,
|
||||
void video_orc_resample_v_2tap_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const guint16 * ORC_RESTRICT s1, const guint16 * ORC_RESTRICT s2, int p1,
|
||||
int n);
|
||||
void video_orc_resample_v_2tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
void video_orc_resample_v_2tap_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n);
|
||||
void video_orc_resample_v_4tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
void video_orc_resample_v_4tap_u8_lq (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 p1,
|
||||
int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_4tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
void video_orc_resample_v_4tap_u8 (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 p1,
|
||||
int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
int d1_stride, const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
int d1_stride, const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u8 (guint32 * ORC_RESTRICT d1,
|
||||
void video_orc_resample_scaletaps_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
int d1_stride, const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
void video_orc_resample_h_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
int d1_stride, const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_h_multaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
void video_orc_resample_h_multaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdtaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
void video_orc_resample_h_muladdtaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdscaletaps3_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
void video_orc_resample_h_muladdscaletaps3_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6,
|
||||
const gint32 * ORC_RESTRICT s7, int n);
|
||||
void video_orc_resample_scaletaps_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n);
|
||||
const gint16 * ORC_RESTRICT s7, int n);
|
||||
void video_orc_resample_scaletaps_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const gint16 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
const guint16 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
int d1_stride, const guint64 * ORC_RESTRICT s1, int s1_stride,
|
||||
int d1_stride, const guint16 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u16 (guint64 * ORC_RESTRICT d1,
|
||||
void video_orc_resample_scaletaps_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n);
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
void video_orc_resample_v_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdscaletaps4_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4,
|
||||
const gint32 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdscaletaps4_u8_lq (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 gint16 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_chroma_down_h2_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_chroma_down_v2_u8 (guint8 * ORC_RESTRICT d1,
|
||||
|
@ -16477,6 +16479,123 @@ video_orc_resample_h_near_u32_lq (guint32 * ORC_RESTRICT d1,
|
|||
#endif
|
||||
|
||||
|
||||
/* video_orc_resample_h_2tap_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int p2, int n)
|
||||
{
|
||||
int i;
|
||||
orc_int8 *ORC_RESTRICT ptr0;
|
||||
const orc_int8 *ORC_RESTRICT ptr4;
|
||||
orc_int8 var32;
|
||||
|
||||
ptr0 = (orc_int8 *) d1;
|
||||
ptr4 = (orc_int8 *) s1;
|
||||
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: ldreslinb */
|
||||
{
|
||||
int tmp = p1 + i * p2;
|
||||
var32 =
|
||||
((orc_uint8) ptr4[tmp >> 16] * (256 - ((tmp >> 8) & 0xff)) +
|
||||
(orc_uint8) ptr4[(tmp >> 16) + 1] * ((tmp >> 8) & 0xff)) >> 8;
|
||||
}
|
||||
/* 1: storeb */
|
||||
ptr0[i] = var32;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#else
|
||||
static void
|
||||
_backup_video_orc_resample_h_2tap_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
||||
{
|
||||
int i;
|
||||
int n = ex->n;
|
||||
orc_int8 *ORC_RESTRICT ptr0;
|
||||
const orc_int8 *ORC_RESTRICT ptr4;
|
||||
orc_int8 var32;
|
||||
|
||||
ptr0 = (orc_int8 *) ex->arrays[0];
|
||||
ptr4 = (orc_int8 *) ex->arrays[4];
|
||||
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 0: ldreslinb */
|
||||
{
|
||||
int tmp = ex->params[24] + i * ex->params[25];
|
||||
var32 =
|
||||
((orc_uint8) ptr4[tmp >> 16] * (256 - ((tmp >> 8) & 0xff)) +
|
||||
(orc_uint8) ptr4[(tmp >> 16) + 1] * ((tmp >> 8) & 0xff)) >> 8;
|
||||
}
|
||||
/* 1: storeb */
|
||||
ptr0[i] = var32;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int p2, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
static OrcCode *c = 0;
|
||||
void (*func) (OrcExecutor *);
|
||||
|
||||
if (!p_inited) {
|
||||
orc_once_mutex_lock ();
|
||||
if (!p_inited) {
|
||||
OrcProgram *p;
|
||||
|
||||
#if 1
|
||||
static const orc_uint8 bc[] = {
|
||||
1, 9, 31, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
|
||||
97, 109, 112, 108, 101, 95, 104, 95, 50, 116, 97, 112, 95, 117, 56, 95,
|
||||
108, 113, 11, 1, 1, 12, 1, 1, 16, 4, 16, 4, 50, 0, 4, 24,
|
||||
25, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p,
|
||||
_backup_video_orc_resample_h_2tap_u8_lq);
|
||||
#else
|
||||
p = orc_program_new ();
|
||||
orc_program_set_name (p, "video_orc_resample_h_2tap_u8_lq");
|
||||
orc_program_set_backup_function (p,
|
||||
_backup_video_orc_resample_h_2tap_u8_lq);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
orc_program_add_source (p, 1, "s1");
|
||||
orc_program_add_parameter (p, 4, "p1");
|
||||
orc_program_add_parameter (p, 4, "p2");
|
||||
|
||||
orc_program_append_2 (p, "ldreslinb", 0, ORC_VAR_D1, ORC_VAR_S1,
|
||||
ORC_VAR_P1, ORC_VAR_P2);
|
||||
#endif
|
||||
|
||||
orc_program_compile (p);
|
||||
c = orc_program_take_code (p);
|
||||
orc_program_free (p);
|
||||
}
|
||||
p_inited = TRUE;
|
||||
orc_once_mutex_unlock ();
|
||||
}
|
||||
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;
|
||||
ex->params[ORC_VAR_P2] = p2;
|
||||
|
||||
func = c->exec;
|
||||
func (ex);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* video_orc_resample_h_2tap_4u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
|
@ -16619,8 +16738,8 @@ video_orc_resample_h_2tap_4u8_lq (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_2tap_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_2tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -16743,8 +16862,8 @@ _backup_video_orc_resample_v_2tap_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_2tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -16824,8 +16943,8 @@ video_orc_resample_v_2tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_2tap_u16 */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_2tap_u16 (guint64 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const guint64 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const guint16 * ORC_RESTRICT s1, const guint16 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -16954,8 +17073,8 @@ _backup_video_orc_resample_v_2tap_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_2tap_u16 (guint64 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const guint64 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const guint16 * ORC_RESTRICT s1, const guint16 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -17040,8 +17159,8 @@ video_orc_resample_v_2tap_u16 (guint64 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_2tap_u8 */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_2tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -17170,8 +17289,8 @@ _backup_video_orc_resample_v_2tap_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_2tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1,
|
||||
video_orc_resample_v_2tap_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1,
|
||||
int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -17257,9 +17376,9 @@ video_orc_resample_v_2tap_u8 (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_4tap_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_4tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_4tap_u8_lq (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 p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -17456,9 +17575,9 @@ _backup_video_orc_resample_v_4tap_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_4tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_4tap_u8_lq (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 p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -17564,9 +17683,9 @@ video_orc_resample_v_4tap_u8_lq (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_4tap_u8 */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_4tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_4tap_u8 (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 p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -17769,9 +17888,9 @@ _backup_video_orc_resample_v_4tap_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_4tap_u8 (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_4tap_u8 (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 p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -17881,7 +18000,7 @@ video_orc_resample_v_4tap_u8 (guint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -17948,7 +18067,7 @@ _backup_video_orc_resample_h_multaps_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -18012,7 +18131,7 @@ video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
int i;
|
||||
|
@ -18099,7 +18218,7 @@ _backup_video_orc_resample_h_muladdtaps_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -18172,7 +18291,7 @@ video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
|||
/* video_orc_resample_scaletaps_u8 */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_scaletaps_u8 (guint32 * ORC_RESTRICT d1,
|
||||
video_orc_resample_scaletaps_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -18255,7 +18374,7 @@ _backup_video_orc_resample_scaletaps_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_scaletaps_u8 (guint32 * ORC_RESTRICT d1,
|
||||
video_orc_resample_scaletaps_u8 (guint8 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -18325,8 +18444,8 @@ video_orc_resample_scaletaps_u8 (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_h_multaps_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
video_orc_resample_h_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union16 *ORC_RESTRICT ptr0;
|
||||
|
@ -18392,8 +18511,8 @@ _backup_video_orc_resample_h_multaps_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
video_orc_resample_h_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -18456,8 +18575,8 @@ video_orc_resample_h_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_h_muladdtaps_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
video_orc_resample_h_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
int i;
|
||||
|
@ -18543,8 +18662,8 @@ _backup_video_orc_resample_h_muladdtaps_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint32 * ORC_RESTRICT s1, int s1_stride,
|
||||
video_orc_resample_h_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint8 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -18616,9 +18735,9 @@ video_orc_resample_h_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1, int d1_stride,
|
|||
/* video_orc_resample_h_multaps3_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_multaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_multaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -18761,9 +18880,9 @@ _backup_video_orc_resample_h_multaps3_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_multaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_multaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -18850,9 +18969,9 @@ video_orc_resample_h_multaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_h_muladdtaps3_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_muladdtaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_muladdtaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -19007,9 +19126,9 @@ _backup_video_orc_resample_h_muladdtaps3_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_muladdtaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_muladdtaps3_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -19099,11 +19218,11 @@ video_orc_resample_h_muladdtaps3_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_h_muladdscaletaps3_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_muladdscaletaps3_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_muladdscaletaps3_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6,
|
||||
const gint32 * ORC_RESTRICT s7, int n)
|
||||
const gint16 * ORC_RESTRICT s7, int n)
|
||||
{
|
||||
int i;
|
||||
orc_int8 *ORC_RESTRICT ptr0;
|
||||
|
@ -19294,11 +19413,11 @@ _backup_video_orc_resample_h_muladdscaletaps3_u8_lq (OrcExecutor *
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_h_muladdscaletaps3_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
video_orc_resample_h_muladdscaletaps3_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4,
|
||||
const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6,
|
||||
const gint32 * ORC_RESTRICT s7, int n)
|
||||
const gint16 * ORC_RESTRICT s7, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -19399,8 +19518,8 @@ video_orc_resample_h_muladdscaletaps3_u8_lq (guint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_scaletaps_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_scaletaps_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
video_orc_resample_scaletaps_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const gint16 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_int8 *ORC_RESTRICT ptr0;
|
||||
|
@ -19476,8 +19595,8 @@ _backup_video_orc_resample_scaletaps_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_scaletaps_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
video_orc_resample_scaletaps_u8_lq (guint8 * ORC_RESTRICT d1,
|
||||
const gint16 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -19544,7 +19663,7 @@ video_orc_resample_scaletaps_u8_lq (guint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
const guint16 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -19617,7 +19736,7 @@ _backup_video_orc_resample_h_multaps_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
const guint16 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -19684,7 +19803,7 @@ video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint64 * ORC_RESTRICT s1, int s1_stride,
|
||||
const guint16 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
int i;
|
||||
|
@ -19777,7 +19896,7 @@ _backup_video_orc_resample_h_muladdtaps_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
||||
const guint64 * ORC_RESTRICT s1, int s1_stride,
|
||||
const guint16 * ORC_RESTRICT s1, int s1_stride,
|
||||
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -19852,7 +19971,7 @@ video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, int d1_stride,
|
|||
/* video_orc_resample_scaletaps_u16 */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_scaletaps_u16 (guint64 * ORC_RESTRICT d1,
|
||||
video_orc_resample_scaletaps_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -19929,7 +20048,7 @@ _backup_video_orc_resample_scaletaps_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_scaletaps_u16 (guint64 * ORC_RESTRICT d1,
|
||||
video_orc_resample_scaletaps_u16 (guint16 * ORC_RESTRICT d1,
|
||||
const gint32 * ORC_RESTRICT s1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -19997,7 +20116,7 @@ video_orc_resample_scaletaps_u16 (guint64 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -20060,7 +20179,7 @@ _backup_video_orc_resample_v_multaps_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -20124,7 +20243,7 @@ video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -20199,7 +20318,7 @@ _backup_video_orc_resample_v_muladdtaps_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -20266,7 +20385,7 @@ video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -20329,7 +20448,7 @@ _backup_video_orc_resample_v_multaps_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -20393,7 +20512,7 @@ video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1,
|
|||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
|
@ -20474,7 +20593,7 @@ _backup_video_orc_resample_v_muladdtaps_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1,
|
||||
const guint64 * ORC_RESTRICT s1, int p1, int n)
|
||||
const guint16 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -20543,8 +20662,8 @@ video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_multaps_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
video_orc_resample_v_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union16 *ORC_RESTRICT ptr0;
|
||||
|
@ -20606,8 +20725,8 @@ _backup_video_orc_resample_v_multaps_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
video_orc_resample_v_multaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -20670,9 +20789,9 @@ video_orc_resample_v_multaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_multaps4_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_multaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_multaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -20837,9 +20956,9 @@ _backup_video_orc_resample_v_multaps4_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_multaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_multaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -20937,8 +21056,8 @@ video_orc_resample_v_multaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_muladdtaps_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
video_orc_resample_v_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
int i;
|
||||
orc_union16 *ORC_RESTRICT ptr0;
|
||||
|
@ -21012,8 +21131,8 @@ _backup_video_orc_resample_v_muladdtaps_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, int p1, int n)
|
||||
video_orc_resample_v_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, int p1, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
@ -21078,9 +21197,9 @@ video_orc_resample_v_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_muladdtaps4_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_muladdtaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_muladdtaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
int i;
|
||||
|
@ -21257,9 +21376,9 @@ _backup_video_orc_resample_v_muladdtaps4_u8_lq (OrcExecutor * ORC_RESTRICT ex)
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_muladdtaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1,
|
||||
video_orc_resample_v_muladdtaps4_u8_lq (gint16 * ORC_RESTRICT d1,
|
||||
const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2,
|
||||
const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1,
|
||||
int p2, int p3, int p4, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
|
@ -21360,10 +21479,10 @@ video_orc_resample_v_muladdtaps4_u8_lq (gint32 * ORC_RESTRICT d1,
|
|||
/* video_orc_resample_v_muladdscaletaps4_u8_lq */
|
||||
#ifdef DISABLE_ORC
|
||||
void
|
||||
video_orc_resample_v_muladdscaletaps4_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4,
|
||||
const gint32 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n)
|
||||
video_orc_resample_v_muladdscaletaps4_u8_lq (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 gint16 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n)
|
||||
{
|
||||
int i;
|
||||
orc_int8 *ORC_RESTRICT ptr0;
|
||||
|
@ -21576,10 +21695,10 @@ _backup_video_orc_resample_v_muladdscaletaps4_u8_lq (OrcExecutor *
|
|||
}
|
||||
|
||||
void
|
||||
video_orc_resample_v_muladdscaletaps4_u8_lq (guint32 * ORC_RESTRICT d1,
|
||||
const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2,
|
||||
const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4,
|
||||
const gint32 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n)
|
||||
video_orc_resample_v_muladdscaletaps4_u8_lq (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 gint16 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n)
|
||||
{
|
||||
OrcExecutor _ex, *ex = &_ex;
|
||||
static volatile int p_inited = 0;
|
||||
|
|
|
@ -157,33 +157,34 @@ void video_orc_convert_I420_BGRA (guint8 * ORC_RESTRICT d1, const guint8 * ORC_R
|
|||
void video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);
|
||||
void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);
|
||||
void video_orc_resample_h_near_u32_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_h_2tap_u8_lq (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_h_2tap_4u8_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int p2, int n);
|
||||
void video_orc_resample_v_2tap_u8_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_2tap_u16 (guint64 * ORC_RESTRICT d1, const guint64 * ORC_RESTRICT s1, const guint64 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_2tap_u8 (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_4tap_u8_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_4tap_u8 (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, int d1_stride, const guint32 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u8 (guint32 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1, int d1_stride, const guint32 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_h_multaps3_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdtaps3_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdscaletaps3_u8_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, const gint32 * ORC_RESTRICT s7, int n);
|
||||
void video_orc_resample_scaletaps_u8_lq (guint32 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1, const guint64 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, int d1_stride, const guint64 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u16 (guint64 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1, const guint64 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, const guint64 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps4_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps4_u8_lq (gint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdscaletaps4_u8_lq (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, const guint32 * ORC_RESTRICT s2, const guint32 * ORC_RESTRICT s3, const guint32 * ORC_RESTRICT s4, const gint32 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_2tap_u8_lq (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_2tap_u16 (guint16 * ORC_RESTRICT d1, const guint16 * ORC_RESTRICT s1, const guint16 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_2tap_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int p1, int n);
|
||||
void video_orc_resample_v_4tap_u8_lq (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 p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_4tap_u8 (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 p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_h_multaps_u8 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, int d1_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u8 (guint8 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1, int d1_stride, const guint8 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_h_multaps3_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdtaps3_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, int n);
|
||||
void video_orc_resample_h_muladdscaletaps3_u8_lq (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const gint16 * ORC_RESTRICT s4, const gint16 * ORC_RESTRICT s5, const gint16 * ORC_RESTRICT s6, const gint16 * ORC_RESTRICT s7, int n);
|
||||
void video_orc_resample_scaletaps_u8_lq (guint8 * ORC_RESTRICT d1, const gint16 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_h_multaps_u16 (gint32 * ORC_RESTRICT d1, const guint16 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_resample_h_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, int d1_stride, const guint16 * ORC_RESTRICT s1, int s1_stride, const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
|
||||
void video_orc_resample_scaletaps_u16 (guint16 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_resample_v_multaps_u8 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8 (gint32 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u16 (gint32 * ORC_RESTRICT d1, const guint16 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps_u16 (gint32 * ORC_RESTRICT d1, const guint16 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_multaps4_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdtaps_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int p1, int n);
|
||||
void video_orc_resample_v_muladdtaps4_u8_lq (gint16 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, const guint8 * ORC_RESTRICT s3, const guint8 * ORC_RESTRICT s4, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_resample_v_muladdscaletaps4_u8_lq (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 gint16 * ORC_RESTRICT s5, int p1, int p2, int p3, int p4, int n);
|
||||
void video_orc_chroma_down_h2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
|
||||
void video_orc_chroma_down_v2_u8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
|
||||
void video_orc_chroma_up_v2_u8 (guint8 * ORC_RESTRICT d1, guint8 * ORC_RESTRICT d2, const guint8 * ORC_RESTRICT s1, const guint8 * ORC_RESTRICT s2, int n);
|
||||
|
|
|
@ -1121,16 +1121,11 @@ adder_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;
|
||||
|
||||
|
@ -1138,24 +1133,22 @@ adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1174,16 +1167,11 @@ _backup_adder_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];
|
||||
|
||||
|
@ -1191,24 +1179,22 @@ _backup_adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1230,7 +1216,7 @@ adder_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 19, 97, 100, 100, 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, 68, 33, 0, 16, 174,
|
||||
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,
|
||||
|
||||
};
|
||||
|
@ -1242,7 +1228,7 @@ adder_orc_volume_u8 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_backup_function (p, _backup_adder_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");
|
||||
|
@ -1361,7 +1347,7 @@ adder_orc_volume_s8 (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
#if 1
|
||||
static const orc_uint8 bc[] = {
|
||||
1, 9, 19, 97, 100, 100, 101, 114, 95, 111, 114, 99, 95, 118, 111, 108,
|
||||
117, 109, 101, 95, 115, 56, 11, 1, 1, 14, 4, 3, 0, 0, 0, 16,
|
||||
117, 109, 101, 95, 115, 56, 11, 1, 1, 14, 2, 3, 0, 0, 0, 16,
|
||||
1, 20, 2, 174, 32, 0, 24, 94, 32, 32, 16, 159, 0, 32, 2, 0,
|
||||
|
||||
};
|
||||
|
@ -1372,7 +1358,7 @@ adder_orc_volume_s8 (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_name (p, "adder_orc_volume_s8");
|
||||
orc_program_set_backup_function (p, _backup_adder_orc_volume_s8);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
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");
|
||||
|
||||
|
@ -1418,16 +1404,11 @@ adder_orc_volume_u16 (guint16 * ORC_RESTRICT d1, int p1, int n)
|
|||
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_union32 var39;
|
||||
orc_union32 var40;
|
||||
orc_union32 var41;
|
||||
orc_union16 var42;
|
||||
orc_union16 var41;
|
||||
|
||||
ptr0 = (orc_union16 *) d1;
|
||||
|
||||
|
@ -1435,24 +1416,22 @@ adder_orc_volume_u16 (guint16 * ORC_RESTRICT d1, int p1, int n)
|
|||
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 = ptr0[i];
|
||||
/* 2: xorw */
|
||||
var39.i = var34.i ^ var35.i;
|
||||
var38.i = var34.i ^ var35.i;
|
||||
/* 4: mulswl */
|
||||
var40.i = var39.i * var36.i;
|
||||
var39.i = var38.i * var36.i;
|
||||
/* 5: shrsl */
|
||||
var41.i = var40.i >> 11;
|
||||
var40.i = var39.i >> 11;
|
||||
/* 6: convssslw */
|
||||
var42.i = ORC_CLAMP_SW (var41.i);
|
||||
/* 8: xorw */
|
||||
var38.i = var42.i ^ var37.i;
|
||||
/* 9: storew */
|
||||
ptr0[i] = var38;
|
||||
var41.i = ORC_CLAMP_SW (var40.i);
|
||||
/* 7: xorw */
|
||||
var37.i = var41.i ^ var35.i;
|
||||
/* 8: storew */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1471,16 +1450,11 @@ _backup_adder_orc_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_union32 var39;
|
||||
orc_union32 var40;
|
||||
orc_union32 var41;
|
||||
orc_union16 var42;
|
||||
orc_union16 var41;
|
||||
|
||||
ptr0 = (orc_union16 *) ex->arrays[0];
|
||||
|
||||
|
@ -1488,24 +1462,22 @@ _backup_adder_orc_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 = ptr0[i];
|
||||
/* 2: xorw */
|
||||
var39.i = var34.i ^ var35.i;
|
||||
var38.i = var34.i ^ var35.i;
|
||||
/* 4: mulswl */
|
||||
var40.i = var39.i * var36.i;
|
||||
var39.i = var38.i * var36.i;
|
||||
/* 5: shrsl */
|
||||
var41.i = var40.i >> 11;
|
||||
var40.i = var39.i >> 11;
|
||||
/* 6: convssslw */
|
||||
var42.i = ORC_CLAMP_SW (var41.i);
|
||||
/* 8: xorw */
|
||||
var38.i = var42.i ^ var37.i;
|
||||
/* 9: storew */
|
||||
ptr0[i] = var38;
|
||||
var41.i = ORC_CLAMP_SW (var40.i);
|
||||
/* 7: xorw */
|
||||
var37.i = var41.i ^ var35.i;
|
||||
/* 8: storew */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1715,16 +1687,11 @@ adder_orc_volume_u32 (guint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
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_union64 var39;
|
||||
orc_union64 var40;
|
||||
orc_union64 var41;
|
||||
orc_union32 var42;
|
||||
orc_union32 var41;
|
||||
|
||||
ptr0 = (orc_union32 *) d1;
|
||||
|
||||
|
@ -1732,24 +1699,22 @@ adder_orc_volume_u32 (guint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
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 = ptr0[i];
|
||||
/* 2: xorl */
|
||||
var39.i = var34.i ^ var35.i;
|
||||
var38.i = var34.i ^ var35.i;
|
||||
/* 4: mulslq */
|
||||
var40.i = ((orc_int64) var39.i) * ((orc_int64) var36.i);
|
||||
var39.i = ((orc_int64) var38.i) * ((orc_int64) var36.i);
|
||||
/* 5: shrsq */
|
||||
var41.i = var40.i >> 27;
|
||||
var40.i = var39.i >> 27;
|
||||
/* 6: convsssql */
|
||||
var42.i = ORC_CLAMP_SL (var41.i);
|
||||
/* 8: xorl */
|
||||
var38.i = var42.i ^ var37.i;
|
||||
/* 9: storel */
|
||||
ptr0[i] = var38;
|
||||
var41.i = ORC_CLAMP_SL (var40.i);
|
||||
/* 7: xorl */
|
||||
var37.i = var41.i ^ var35.i;
|
||||
/* 8: storel */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1768,16 +1733,11 @@ _backup_adder_orc_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_union64 var39;
|
||||
orc_union64 var40;
|
||||
orc_union64 var41;
|
||||
orc_union32 var42;
|
||||
orc_union32 var41;
|
||||
|
||||
ptr0 = (orc_union32 *) ex->arrays[0];
|
||||
|
||||
|
@ -1785,24 +1745,22 @@ _backup_adder_orc_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 = ptr0[i];
|
||||
/* 2: xorl */
|
||||
var39.i = var34.i ^ var35.i;
|
||||
var38.i = var34.i ^ var35.i;
|
||||
/* 4: mulslq */
|
||||
var40.i = ((orc_int64) var39.i) * ((orc_int64) var36.i);
|
||||
var39.i = ((orc_int64) var38.i) * ((orc_int64) var36.i);
|
||||
/* 5: shrsq */
|
||||
var41.i = var40.i >> 27;
|
||||
var40.i = var39.i >> 27;
|
||||
/* 6: convsssql */
|
||||
var42.i = ORC_CLAMP_SL (var41.i);
|
||||
/* 8: xorl */
|
||||
var38.i = var42.i ^ var37.i;
|
||||
/* 9: storel */
|
||||
ptr0[i] = var38;
|
||||
var41.i = ORC_CLAMP_SL (var40.i);
|
||||
/* 7: xorl */
|
||||
var37.i = var41.i ^ var35.i;
|
||||
/* 8: storel */
|
||||
ptr0[i] = var37;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1824,9 +1782,9 @@ adder_orc_volume_u32 (guint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 20, 97, 100, 100, 101, 114, 95, 111, 114, 99, 95, 118, 111, 108,
|
||||
117, 109, 101, 95, 117, 51, 50, 11, 4, 4, 14, 4, 0, 0, 0, 128,
|
||||
14, 4, 27, 0, 0, 0, 16, 4, 20, 8, 20, 4, 132, 33, 0, 16,
|
||||
178, 32, 33, 24, 147, 32, 32, 17, 170, 33, 32, 132, 0, 33, 16, 2,
|
||||
0,
|
||||
15, 8, 27, 0, 0, 0, 0, 0, 0, 0, 16, 4, 20, 8, 20, 4,
|
||||
132, 33, 0, 16, 178, 32, 33, 24, 147, 32, 32, 17, 170, 33, 32, 132,
|
||||
0, 33, 16, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p, _backup_adder_orc_volume_u32);
|
||||
|
@ -1836,7 +1794,7 @@ adder_orc_volume_u32 (guint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_backup_function (p, _backup_adder_orc_volume_u32);
|
||||
orc_program_add_destination (p, 4, "d1");
|
||||
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");
|
||||
|
@ -1955,9 +1913,9 @@ adder_orc_volume_s32 (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
#if 1
|
||||
static const orc_uint8 bc[] = {
|
||||
1, 9, 20, 97, 100, 100, 101, 114, 95, 111, 114, 99, 95, 118, 111, 108,
|
||||
117, 109, 101, 95, 115, 51, 50, 11, 4, 4, 14, 4, 27, 0, 0, 0,
|
||||
16, 4, 20, 8, 178, 32, 0, 24, 147, 32, 32, 16, 170, 0, 32, 2,
|
||||
0,
|
||||
117, 109, 101, 95, 115, 51, 50, 11, 4, 4, 15, 8, 27, 0, 0, 0,
|
||||
0, 0, 0, 0, 16, 4, 20, 8, 178, 32, 0, 24, 147, 32, 32, 16,
|
||||
170, 0, 32, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p, _backup_adder_orc_volume_s32);
|
||||
|
@ -1966,7 +1924,7 @@ adder_orc_volume_s32 (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_name (p, "adder_orc_volume_s32");
|
||||
orc_program_set_backup_function (p, _backup_adder_orc_volume_s32);
|
||||
orc_program_add_destination (p, 4, "d1");
|
||||
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");
|
||||
|
||||
|
@ -2243,8 +2201,8 @@ adder_orc_volume_f64 (double *ORC_RESTRICT d1, double p1, int n)
|
|||
{
|
||||
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;
|
||||
|
@ -2269,18 +2227,13 @@ adder_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;
|
||||
|
@ -2289,28 +2242,26 @@ adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2330,18 +2281,13 @@ _backup_adder_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];
|
||||
|
@ -2350,28 +2296,26 @@ _backup_adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2394,7 +2338,7 @@ adder_orc_add_volume_u8 (guint8 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 23, 97, 100, 100, 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, 0, 16, 1, 20, 2,
|
||||
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,
|
||||
};
|
||||
|
@ -2407,7 +2351,7 @@ adder_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");
|
||||
|
@ -2548,7 +2492,7 @@ adder_orc_add_volume_s8 (gint8 * ORC_RESTRICT d1, const gint8 * ORC_RESTRICT s1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 23, 97, 100, 100, 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, 174, 32, 4, 24,
|
||||
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,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
|
@ -2559,7 +2503,7 @@ adder_orc_add_volume_s8 (gint8 * ORC_RESTRICT d1, const gint8 * ORC_RESTRICT s1,
|
|||
orc_program_set_backup_function (p, _backup_adder_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");
|
||||
|
@ -2611,18 +2555,13 @@ adder_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;
|
||||
|
@ -2631,28 +2570,26 @@ adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2672,18 +2609,13 @@ _backup_adder_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];
|
||||
|
@ -2692,28 +2624,26 @@ _backup_adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -2953,18 +2883,13 @@ adder_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;
|
||||
|
@ -2973,30 +2898,28 @@ adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -3016,18 +2939,13 @@ _backup_adder_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];
|
||||
|
@ -3036,30 +2954,28 @@ _backup_adder_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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -3082,9 +2998,10 @@ adder_orc_add_volume_u32 (guint32 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 24, 97, 100, 100, 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,
|
||||
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, _backup_adder_orc_add_volume_u32);
|
||||
|
@ -3095,7 +3012,7 @@ adder_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");
|
||||
|
@ -3236,8 +3153,9 @@ adder_orc_add_volume_s32 (gint32 * ORC_RESTRICT d1,
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 24, 97, 100, 100, 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,
|
||||
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, _backup_adder_orc_add_volume_s32);
|
||||
|
@ -3247,7 +3165,7 @@ adder_orc_add_volume_s32 (gint32 * ORC_RESTRICT d1,
|
|||
orc_program_set_backup_function (p, _backup_adder_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");
|
||||
|
@ -3606,8 +3524,8 @@ adder_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;
|
||||
|
|
|
@ -283,7 +283,7 @@ audio_convert_orc_unpack_u8 (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << p1;
|
||||
var39.i = ((orc_uint32) var38.i) << p1;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -325,7 +325,7 @@ _backup_audio_convert_orc_unpack_u8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << ex->params[24];
|
||||
var39.i = ((orc_uint32) var38.i) << ex->params[24];
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -426,7 +426,7 @@ audio_convert_orc_unpack_s8 (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << p1;
|
||||
var35.i = ((orc_uint32) var37.i) << p1;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -458,7 +458,7 @@ _backup_audio_convert_orc_unpack_s8 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << ex->params[24];
|
||||
var35.i = ((orc_uint32) var37.i) << ex->params[24];
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -558,7 +558,7 @@ audio_convert_orc_unpack_u16 (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << p1;
|
||||
var37.i = ((orc_uint32) var36.i) << p1;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -597,7 +597,7 @@ _backup_audio_convert_orc_unpack_u16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << ex->params[24];
|
||||
var37.i = ((orc_uint32) var36.i) << ex->params[24];
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -691,7 +691,7 @@ audio_convert_orc_unpack_s16 (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << p1;
|
||||
var34.i = ((orc_uint32) var35.i) << p1;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -720,7 +720,7 @@ _backup_audio_convert_orc_unpack_s16 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << ex->params[24];
|
||||
var34.i = ((orc_uint32) var35.i) << ex->params[24];
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -820,7 +820,7 @@ audio_convert_orc_unpack_u16_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << p1;
|
||||
var39.i = ((orc_uint32) var38.i) << p1;
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -862,7 +862,7 @@ _backup_audio_convert_orc_unpack_u16_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << ex->params[24];
|
||||
var39.i = ((orc_uint32) var38.i) << ex->params[24];
|
||||
/* 5: xorl */
|
||||
var36.i = var39.i ^ var35.i;
|
||||
/* 6: storel */
|
||||
|
@ -965,7 +965,7 @@ audio_convert_orc_unpack_s16_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << p1;
|
||||
var35.i = ((orc_uint32) var37.i) << p1;
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -997,7 +997,7 @@ _backup_audio_convert_orc_unpack_s16_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var35.i = var37.i << ex->params[24];
|
||||
var35.i = ((orc_uint32) var37.i) << ex->params[24];
|
||||
/* 4: storel */
|
||||
ptr0[i] = var35;
|
||||
}
|
||||
|
@ -1096,7 +1096,7 @@ audio_convert_orc_unpack_u32 (gint32 * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << p1;
|
||||
var36.i = ((orc_uint32) var33.i) << p1;
|
||||
/* 3: xorl */
|
||||
var35.i = var36.i ^ var34.i;
|
||||
/* 4: storel */
|
||||
|
@ -1132,7 +1132,7 @@ _backup_audio_convert_orc_unpack_u32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << ex->params[24];
|
||||
var36.i = ((orc_uint32) var33.i) << ex->params[24];
|
||||
/* 3: xorl */
|
||||
var35.i = var36.i ^ var34.i;
|
||||
/* 4: storel */
|
||||
|
@ -1221,7 +1221,7 @@ audio_convert_orc_unpack_s32 (gint32 * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var32 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var33.i = var32.i << p1;
|
||||
var33.i = ((orc_uint32) var32.i) << p1;
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
}
|
||||
|
@ -1247,7 +1247,7 @@ _backup_audio_convert_orc_unpack_s32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var32 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var33.i = var32.i << ex->params[24];
|
||||
var33.i = ((orc_uint32) var32.i) << ex->params[24];
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
}
|
||||
|
@ -1340,7 +1340,7 @@ audio_convert_orc_unpack_u32_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << p1;
|
||||
var37.i = ((orc_uint32) var36.i) << p1;
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -1379,7 +1379,7 @@ _backup_audio_convert_orc_unpack_u32_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << ex->params[24];
|
||||
var37.i = ((orc_uint32) var36.i) << ex->params[24];
|
||||
/* 4: xorl */
|
||||
var35.i = var37.i ^ var34.i;
|
||||
/* 5: storel */
|
||||
|
@ -1476,7 +1476,7 @@ audio_convert_orc_unpack_s32_swap (gint32 * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << p1;
|
||||
var34.i = ((orc_uint32) var35.i) << p1;
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -1505,7 +1505,7 @@ _backup_audio_convert_orc_unpack_s32_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var34.i = var35.i << ex->params[24];
|
||||
var34.i = ((orc_uint32) var35.i) << ex->params[24];
|
||||
/* 3: storel */
|
||||
ptr0[i] = var34;
|
||||
}
|
||||
|
@ -2897,7 +2897,7 @@ audio_convert_orc_unpack_u8_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << p1;
|
||||
var39.i = ((orc_uint32) var38.i) << p1;
|
||||
/* 5: xorl */
|
||||
var40.i = var39.i ^ var35.i;
|
||||
/* 6: convld */
|
||||
|
@ -2942,7 +2942,7 @@ _backup_audio_convert_orc_unpack_u8_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << ex->params[24];
|
||||
var39.i = ((orc_uint32) var38.i) << ex->params[24];
|
||||
/* 5: xorl */
|
||||
var40.i = var39.i ^ var35.i;
|
||||
/* 6: convld */
|
||||
|
@ -3050,7 +3050,7 @@ audio_convert_orc_unpack_s8_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var38.i = var37.i << p1;
|
||||
var38.i = ((orc_uint32) var37.i) << p1;
|
||||
/* 4: convld */
|
||||
var35.f = var38.i;
|
||||
/* 5: storeq */
|
||||
|
@ -3085,7 +3085,7 @@ _backup_audio_convert_orc_unpack_s8_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var38.i = var37.i << ex->params[24];
|
||||
var38.i = ((orc_uint32) var37.i) << ex->params[24];
|
||||
/* 4: convld */
|
||||
var35.f = var38.i;
|
||||
/* 5: storeq */
|
||||
|
@ -3193,7 +3193,7 @@ audio_convert_orc_unpack_u16_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << p1;
|
||||
var37.i = ((orc_uint32) var36.i) << p1;
|
||||
/* 4: xorl */
|
||||
var38.i = var37.i ^ var34.i;
|
||||
/* 5: convld */
|
||||
|
@ -3235,7 +3235,7 @@ _backup_audio_convert_orc_unpack_u16_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var36.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << ex->params[24];
|
||||
var37.i = ((orc_uint32) var36.i) << ex->params[24];
|
||||
/* 4: xorl */
|
||||
var38.i = var37.i ^ var34.i;
|
||||
/* 5: convld */
|
||||
|
@ -3337,7 +3337,7 @@ audio_convert_orc_unpack_s16_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var36.i = var35.i << p1;
|
||||
var36.i = ((orc_uint32) var35.i) << p1;
|
||||
/* 3: convld */
|
||||
var34.f = var36.i;
|
||||
/* 4: storeq */
|
||||
|
@ -3369,7 +3369,7 @@ _backup_audio_convert_orc_unpack_s16_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: convuwl */
|
||||
var35.i = (orc_uint16) var33.i;
|
||||
/* 2: shll */
|
||||
var36.i = var35.i << ex->params[24];
|
||||
var36.i = ((orc_uint32) var35.i) << ex->params[24];
|
||||
/* 3: convld */
|
||||
var34.f = var36.i;
|
||||
/* 4: storeq */
|
||||
|
@ -3476,7 +3476,7 @@ audio_convert_orc_unpack_u16_double_swap (gdouble * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << p1;
|
||||
var39.i = ((orc_uint32) var38.i) << p1;
|
||||
/* 5: xorl */
|
||||
var40.i = var39.i ^ var35.i;
|
||||
/* 6: convld */
|
||||
|
@ -3521,7 +3521,7 @@ _backup_audio_convert_orc_unpack_u16_double_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var38.i = (orc_uint16) var37.i;
|
||||
/* 3: shll */
|
||||
var39.i = var38.i << ex->params[24];
|
||||
var39.i = ((orc_uint32) var38.i) << ex->params[24];
|
||||
/* 5: xorl */
|
||||
var40.i = var39.i ^ var35.i;
|
||||
/* 6: convld */
|
||||
|
@ -3630,7 +3630,7 @@ audio_convert_orc_unpack_s16_double_swap (gdouble * ORC_RESTRICT d1,
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var38.i = var37.i << p1;
|
||||
var38.i = ((orc_uint32) var37.i) << p1;
|
||||
/* 4: convld */
|
||||
var35.f = var38.i;
|
||||
/* 5: storeq */
|
||||
|
@ -3665,7 +3665,7 @@ _backup_audio_convert_orc_unpack_s16_double_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 2: convuwl */
|
||||
var37.i = (orc_uint16) var36.i;
|
||||
/* 3: shll */
|
||||
var38.i = var37.i << ex->params[24];
|
||||
var38.i = ((orc_uint32) var37.i) << ex->params[24];
|
||||
/* 4: convld */
|
||||
var35.f = var38.i;
|
||||
/* 5: storeq */
|
||||
|
@ -3770,7 +3770,7 @@ audio_convert_orc_unpack_u32_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << p1;
|
||||
var36.i = ((orc_uint32) var33.i) << p1;
|
||||
/* 3: xorl */
|
||||
var37.i = var36.i ^ var34.i;
|
||||
/* 4: convld */
|
||||
|
@ -3809,7 +3809,7 @@ _backup_audio_convert_orc_unpack_u32_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var36.i = var33.i << ex->params[24];
|
||||
var36.i = ((orc_uint32) var33.i) << ex->params[24];
|
||||
/* 3: xorl */
|
||||
var37.i = var36.i ^ var34.i;
|
||||
/* 4: convld */
|
||||
|
@ -3906,7 +3906,7 @@ audio_convert_orc_unpack_s32_double (gdouble * ORC_RESTRICT d1,
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var35.i = var33.i << p1;
|
||||
var35.i = ((orc_uint32) var33.i) << p1;
|
||||
/* 2: convld */
|
||||
var34.f = var35.i;
|
||||
/* 3: storeq */
|
||||
|
@ -3935,7 +3935,7 @@ _backup_audio_convert_orc_unpack_s32_double (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 0: loadl */
|
||||
var33 = ptr4[i];
|
||||
/* 1: shll */
|
||||
var35.i = var33.i << ex->params[24];
|
||||
var35.i = ((orc_uint32) var33.i) << ex->params[24];
|
||||
/* 2: convld */
|
||||
var34.f = var35.i;
|
||||
/* 3: storeq */
|
||||
|
@ -4037,7 +4037,7 @@ audio_convert_orc_unpack_u32_double_swap (gdouble * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << p1;
|
||||
var37.i = ((orc_uint32) var36.i) << p1;
|
||||
/* 4: xorl */
|
||||
var38.i = var37.i ^ var34.i;
|
||||
/* 5: convld */
|
||||
|
@ -4079,7 +4079,7 @@ _backup_audio_convert_orc_unpack_u32_double_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var36.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var37.i = var36.i << ex->params[24];
|
||||
var37.i = ((orc_uint32) var36.i) << ex->params[24];
|
||||
/* 4: xorl */
|
||||
var38.i = var37.i ^ var34.i;
|
||||
/* 5: convld */
|
||||
|
@ -4181,7 +4181,7 @@ audio_convert_orc_unpack_s32_double_swap (gdouble * ORC_RESTRICT d1,
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var36.i = var35.i << p1;
|
||||
var36.i = ((orc_uint32) var35.i) << p1;
|
||||
/* 3: convld */
|
||||
var34.f = var36.i;
|
||||
/* 4: storeq */
|
||||
|
@ -4213,7 +4213,7 @@ _backup_audio_convert_orc_unpack_s32_double_swap (OrcExecutor * ORC_RESTRICT ex)
|
|||
/* 1: swapl */
|
||||
var35.i = ORC_SWAP_L (var33.i);
|
||||
/* 2: shll */
|
||||
var36.i = var35.i << ex->params[24];
|
||||
var36.i = ((orc_uint32) var35.i) << ex->params[24];
|
||||
/* 3: convld */
|
||||
var34.f = var36.i;
|
||||
/* 4: storeq */
|
||||
|
|
|
@ -150,7 +150,6 @@ video_test_src_orc_splat_u32 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
int i;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
orc_union32 var32;
|
||||
orc_union32 var33;
|
||||
|
||||
ptr0 = (orc_union32 *) d1;
|
||||
|
||||
|
@ -158,10 +157,8 @@ video_test_src_orc_splat_u32 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
var32.i = p1;
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 1: copyl */
|
||||
var33.i = var32.i;
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
/* 1: storel */
|
||||
ptr0[i] = var32;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -174,7 +171,6 @@ _backup_video_test_src_orc_splat_u32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
int n = ex->n;
|
||||
orc_union32 *ORC_RESTRICT ptr0;
|
||||
orc_union32 var32;
|
||||
orc_union32 var33;
|
||||
|
||||
ptr0 = (orc_union32 *) ex->arrays[0];
|
||||
|
||||
|
@ -182,10 +178,8 @@ _backup_video_test_src_orc_splat_u32 (OrcExecutor * ORC_RESTRICT ex)
|
|||
var32.i = ex->params[24];
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
/* 1: copyl */
|
||||
var33.i = var32.i;
|
||||
/* 2: storel */
|
||||
ptr0[i] = var33;
|
||||
/* 1: storel */
|
||||
ptr0[i] = var32;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -207,7 +201,7 @@ video_test_src_orc_splat_u32 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 28, 118, 105, 100, 101, 111, 95, 116, 101, 115, 116, 95, 115, 114,
|
||||
99, 95, 111, 114, 99, 95, 115, 112, 108, 97, 116, 95, 117, 51, 50, 11,
|
||||
4, 4, 16, 4, 112, 0, 24, 2, 0,
|
||||
4, 4, 16, 4, 128, 0, 24, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p, _backup_video_test_src_orc_splat_u32);
|
||||
|
@ -218,7 +212,7 @@ video_test_src_orc_splat_u32 (guint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_add_destination (p, 4, "d1");
|
||||
orc_program_add_parameter (p, 4, "p1");
|
||||
|
||||
orc_program_append_2 (p, "copyl", 0, ORC_VAR_D1, ORC_VAR_P1, ORC_VAR_D1,
|
||||
orc_program_append_2 (p, "storel", 0, ORC_VAR_D1, ORC_VAR_P1, ORC_VAR_D1,
|
||||
ORC_VAR_D1);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -291,8 +291,8 @@ volume_orc_scalarmultiply_f64_ns (double *ORC_RESTRICT d1, double p1, int n)
|
|||
{
|
||||
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;
|
||||
|
@ -512,9 +512,9 @@ volume_orc_process_int32 (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
#if 1
|
||||
static const orc_uint8 bc[] = {
|
||||
1, 9, 24, 118, 111, 108, 117, 109, 101, 95, 111, 114, 99, 95, 112, 114,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 51, 50, 11, 4, 4, 14, 4,
|
||||
27, 0, 0, 0, 16, 4, 20, 8, 178, 32, 0, 24, 147, 32, 32, 16,
|
||||
169, 0, 32, 2, 0,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 51, 50, 11, 4, 4, 15, 8,
|
||||
27, 0, 0, 0, 0, 0, 0, 0, 16, 4, 20, 8, 178, 32, 0, 24,
|
||||
147, 32, 32, 16, 169, 0, 32, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p, _backup_volume_orc_process_int32);
|
||||
|
@ -523,7 +523,7 @@ volume_orc_process_int32 (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_name (p, "volume_orc_process_int32");
|
||||
orc_program_set_backup_function (p, _backup_volume_orc_process_int32);
|
||||
orc_program_add_destination (p, 4, "d1");
|
||||
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");
|
||||
|
||||
|
@ -638,8 +638,8 @@ volume_orc_process_int32_clamp (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
static const orc_uint8 bc[] = {
|
||||
1, 9, 30, 118, 111, 108, 117, 109, 101, 95, 111, 114, 99, 95, 112, 114,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 51, 50, 95, 99, 108, 97, 109,
|
||||
112, 11, 4, 4, 14, 4, 27, 0, 0, 0, 16, 4, 20, 8, 178, 32,
|
||||
0, 24, 147, 32, 32, 16, 170, 0, 32, 2, 0,
|
||||
112, 11, 4, 4, 15, 8, 27, 0, 0, 0, 0, 0, 0, 0, 16, 4,
|
||||
20, 8, 178, 32, 0, 24, 147, 32, 32, 16, 170, 0, 32, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
orc_program_set_backup_function (p,
|
||||
|
@ -650,7 +650,7 @@ volume_orc_process_int32_clamp (gint32 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_backup_function (p,
|
||||
_backup_volume_orc_process_int32_clamp);
|
||||
orc_program_add_destination (p, 4, "d1");
|
||||
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");
|
||||
|
||||
|
@ -1016,7 +1016,7 @@ volume_orc_process_int8 (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
#if 1
|
||||
static const orc_uint8 bc[] = {
|
||||
1, 9, 23, 118, 111, 108, 117, 109, 101, 95, 111, 114, 99, 95, 112, 114,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 56, 11, 1, 1, 14, 4, 3,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 56, 11, 1, 1, 14, 2, 3,
|
||||
0, 0, 0, 16, 1, 20, 2, 174, 32, 0, 24, 94, 32, 32, 16, 157,
|
||||
0, 32, 2, 0,
|
||||
};
|
||||
|
@ -1027,7 +1027,7 @@ volume_orc_process_int8 (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_name (p, "volume_orc_process_int8");
|
||||
orc_program_set_backup_function (p, _backup_volume_orc_process_int8);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
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");
|
||||
|
||||
|
@ -1143,7 +1143,7 @@ volume_orc_process_int8_clamp (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
1, 9, 29, 118, 111, 108, 117, 109, 101, 95, 111, 114, 99, 95, 112, 114,
|
||||
111, 99, 101, 115, 115, 95, 105, 110, 116, 56, 95, 99, 108, 97, 109,
|
||||
112,
|
||||
11, 1, 1, 14, 4, 3, 0, 0, 0, 16, 1, 20, 2, 174, 32, 0,
|
||||
11, 1, 1, 14, 2, 3, 0, 0, 0, 16, 1, 20, 2, 174, 32, 0,
|
||||
24, 94, 32, 32, 16, 159, 0, 32, 2, 0,
|
||||
};
|
||||
p = orc_program_new_from_static_bytecode (bc);
|
||||
|
@ -1155,7 +1155,7 @@ volume_orc_process_int8_clamp (gint8 * ORC_RESTRICT d1, int p1, int n)
|
|||
orc_program_set_backup_function (p,
|
||||
_backup_volume_orc_process_int8_clamp);
|
||||
orc_program_add_destination (p, 1, "d1");
|
||||
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");
|
||||
|
||||
|
@ -1284,8 +1284,8 @@ volume_orc_memset_f64 (gdouble * ORC_RESTRICT d1, double p1, int n)
|
|||
{
|
||||
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