audioconvert: Require ORC 0.4.7 for the loadl/storel opcodes

And update disted files to allow compilation with no or too old ORC.
This commit is contained in:
Sebastian Dröge 2010-08-24 15:06:31 +02:00
parent 842a6c64c5
commit 2ee9360cf6
3 changed files with 1399 additions and 752 deletions

View file

@ -255,7 +255,7 @@ dnl *** checks for dependency libraries ***
dnl GLib is required
AG_GST_GLIB_CHECK([2.20])
ORC_CHECK([0.4.5])
ORC_CHECK([0.4.7])
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)

File diff suppressed because it is too large Load diff

View file

@ -10,6 +10,8 @@
extern "C" {
#endif
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
@ -47,10 +49,10 @@ typedef long orc_int64;
typedef unsigned long orc_uint64;
#endif
#endif
typedef union { orc_int32 i; float f; } orc_union32;
typedef union { orc_int64 i; double f; } orc_union64;
typedef union { orc_int16 i; orc_int8 x2[2]; } orc_union16;
typedef union { orc_int32 i; float f; orc_int16 x2[2]; orc_int8 x4[4]; } orc_union32;
typedef union { orc_int64 i; double f; orc_int32 x2[2]; orc_int16 x4[4]; } orc_union64;
#endif
void orc_audio_convert_unpack_u8 (gint32 * d1, const guint8 * s1, int p1, int n);
void orc_audio_convert_unpack_s8 (gint32 * d1, const guint8 * s1, int p1, int n);
void orc_audio_convert_unpack_u16 (gint32 * d1, const guint8 * s1, int p1, int n);
@ -61,6 +63,8 @@ void orc_audio_convert_unpack_u32 (gint32 * d1, const guint8 * s1, int p1, int n
void orc_audio_convert_unpack_s32 (gint32 * d1, const guint8 * s1, int p1, int n);
void orc_audio_convert_unpack_u32_swap (gint32 * d1, const guint8 * s1, int p1, int n);
void orc_audio_convert_unpack_s32_swap (gint32 * d1, const guint8 * s1, int p1, int n);
void orc_audio_convert_unpack_float_s32 (guint32 * d1, const gfloat * s1, int n);
void orc_audio_convert_unpack_float_s32_swap (guint32 * d1, const gfloat * s1, int n);
void orc_audio_convert_pack_u8 (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_s8 (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_u16 (guint8 * d1, const gint32 * s1, int p1, int n);
@ -71,6 +75,8 @@ void orc_audio_convert_pack_u32 (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_s32 (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_u32_swap (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_s32_swap (guint8 * d1, const gint32 * s1, int p1, int n);
void orc_audio_convert_pack_s32_float (gfloat * d1, const gint32 * s1, int n);
void orc_audio_convert_pack_s32_float_swap (gfloat * d1, const gint32 * s1, int n);
#ifdef __cplusplus
}