Blender V2.61 - r43446
Defines | Functions

AUD_ConverterFunctions.cpp File Reference

#include "AUD_ConverterFunctions.h"
#include "AUD_Buffer.h"

Go to the source code of this file.

Defines

#define AUD_U8_0   0x80
#define AUD_S16_MAX   0x7FFF
#define AUD_S16_MIN   0x8000
#define AUD_S16_FLT   32767.0f
#define AUD_S32_MAX   0x7FFFFFFF
#define AUD_S32_MIN   0x80000000
#define AUD_S32_FLT   2147483647.0f
#define AUD_FLT_MAX   1.0f
#define AUD_FLT_MIN   -1.0f

Functions

void AUD_convert_u8_s16 (data_t *target, data_t *source, int length)
void AUD_convert_u8_s24_be (data_t *target, data_t *source, int length)
void AUD_convert_u8_s24_le (data_t *target, data_t *source, int length)
void AUD_convert_u8_s32 (data_t *target, data_t *source, int length)
void AUD_convert_u8_float (data_t *target, data_t *source, int length)
void AUD_convert_u8_double (data_t *target, data_t *source, int length)
void AUD_convert_s16_u8 (data_t *target, data_t *source, int length)
void AUD_convert_s16_s24_be (data_t *target, data_t *source, int length)
void AUD_convert_s16_s24_le (data_t *target, data_t *source, int length)
void AUD_convert_s16_s32 (data_t *target, data_t *source, int length)
void AUD_convert_s16_float (data_t *target, data_t *source, int length)
void AUD_convert_s16_double (data_t *target, data_t *source, int length)
void AUD_convert_s24_u8_be (data_t *target, data_t *source, int length)
void AUD_convert_s24_u8_le (data_t *target, data_t *source, int length)
void AUD_convert_s24_s16_be (data_t *target, data_t *source, int length)
void AUD_convert_s24_s16_le (data_t *target, data_t *source, int length)
void AUD_convert_s24_s24 (data_t *target, data_t *source, int length)
void AUD_convert_s24_s32_be (data_t *target, data_t *source, int length)
void AUD_convert_s24_s32_le (data_t *target, data_t *source, int length)
void AUD_convert_s24_float_be (data_t *target, data_t *source, int length)
void AUD_convert_s24_float_le (data_t *target, data_t *source, int length)
void AUD_convert_s24_double_be (data_t *target, data_t *source, int length)
void AUD_convert_s24_double_le (data_t *target, data_t *source, int length)
void AUD_convert_s32_u8 (data_t *target, data_t *source, int length)
void AUD_convert_s32_s16 (data_t *target, data_t *source, int length)
void AUD_convert_s32_s24_be (data_t *target, data_t *source, int length)
void AUD_convert_s32_s24_le (data_t *target, data_t *source, int length)
void AUD_convert_s32_float (data_t *target, data_t *source, int length)
void AUD_convert_s32_double (data_t *target, data_t *source, int length)
void AUD_convert_float_u8 (data_t *target, data_t *source, int length)
void AUD_convert_float_s16 (data_t *target, data_t *source, int length)
void AUD_convert_float_s24_be (data_t *target, data_t *source, int length)
void AUD_convert_float_s24_le (data_t *target, data_t *source, int length)
void AUD_convert_float_s32 (data_t *target, data_t *source, int length)
void AUD_convert_float_double (data_t *target, data_t *source, int length)
void AUD_convert_double_u8 (data_t *target, data_t *source, int length)
void AUD_convert_double_s16 (data_t *target, data_t *source, int length)
void AUD_convert_double_s24_be (data_t *target, data_t *source, int length)
void AUD_convert_double_s24_le (data_t *target, data_t *source, int length)
void AUD_convert_double_s32 (data_t *target, data_t *source, int length)
void AUD_convert_double_float (data_t *target, data_t *source, int length)

Detailed Description

Definition in file AUD_ConverterFunctions.cpp.


Define Documentation

#define AUD_FLT_MAX   1.0f
#define AUD_FLT_MIN   -1.0f
#define AUD_S16_FLT   32767.0f

Definition at line 36 of file AUD_ConverterFunctions.cpp.

Referenced by AUD_convert_s16_double(), and AUD_convert_s16_float().

#define AUD_S16_MAX   0x7FFF

Definition at line 34 of file AUD_ConverterFunctions.cpp.

Referenced by AUD_convert_double_s16(), and AUD_convert_float_s16().

#define AUD_S16_MIN   0x8000

Definition at line 35 of file AUD_ConverterFunctions.cpp.

Referenced by AUD_convert_double_s16(), and AUD_convert_float_s16().

#define AUD_S32_FLT   2147483647.0f
#define AUD_S32_MAX   0x7FFFFFFF
#define AUD_S32_MIN   0x80000000
#define AUD_U8_0   0x80

Function Documentation

void AUD_convert_double_float ( data_t target,
data_t source,
int  length 
)

Definition at line 466 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_double_s16 ( data_t target,
data_t source,
int  length 
)

Definition at line 400 of file AUD_ConverterFunctions.cpp.

References AUD_FLT_MAX, AUD_FLT_MIN, AUD_S16_MAX, AUD_S16_MIN, i, and length().

void AUD_convert_double_s24_be ( data_t target,
data_t source,
int  length 
)

Definition at line 415 of file AUD_ConverterFunctions.cpp.

References AUD_FLT_MAX, AUD_FLT_MIN, AUD_S32_MAX, AUD_S32_MIN, i, and length().

void AUD_convert_double_s24_le ( data_t target,
data_t source,
int  length 
)

Definition at line 433 of file AUD_ConverterFunctions.cpp.

References AUD_FLT_MAX, AUD_FLT_MIN, AUD_S32_MAX, AUD_S32_MIN, i, and length().

void AUD_convert_double_s32 ( data_t target,
data_t source,
int  length 
)

Definition at line 451 of file AUD_ConverterFunctions.cpp.

References AUD_FLT_MAX, AUD_FLT_MIN, AUD_S32_MAX, AUD_S32_MIN, i, and length().

void AUD_convert_double_u8 ( data_t target,
data_t source,
int  length 
)

Definition at line 384 of file AUD_ConverterFunctions.cpp.

References AUD_FLT_MAX, i, and length().

void AUD_convert_float_double ( data_t target,
data_t source,
int  length 
)
void AUD_convert_float_s16 ( data_t target,
data_t source,
int  length 
)
void AUD_convert_float_s24_be ( data_t target,
data_t source,
int  length 
)
void AUD_convert_float_s24_le ( data_t target,
data_t source,
int  length 
)
void AUD_convert_float_s32 ( data_t target,
data_t source,
int  length 
)
void AUD_convert_float_u8 ( data_t target,
data_t source,
int  length 
)
void AUD_convert_s16_double ( data_t target,
data_t source,
int  length 
)

Definition at line 140 of file AUD_ConverterFunctions.cpp.

References AUD_S16_FLT, and i.

void AUD_convert_s16_float ( data_t target,
data_t source,
int  length 
)

Definition at line 132 of file AUD_ConverterFunctions.cpp.

References AUD_S16_FLT, and i.

void AUD_convert_s16_s24_be ( data_t target,
data_t source,
int  length 
)

Definition at line 98 of file AUD_ConverterFunctions.cpp.

References i.

void AUD_convert_s16_s24_le ( data_t target,
data_t source,
int  length 
)

Definition at line 111 of file AUD_ConverterFunctions.cpp.

References i.

void AUD_convert_s16_s32 ( data_t target,
data_t source,
int  length 
)

Definition at line 124 of file AUD_ConverterFunctions.cpp.

References i.

void AUD_convert_s16_u8 ( data_t target,
data_t source,
int  length 
)

Definition at line 91 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, i, and length().

void AUD_convert_s24_double_be ( data_t target,
data_t source,
int  length 
)

Definition at line 215 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, and i.

void AUD_convert_s24_double_le ( data_t target,
data_t source,
int  length 
)

Definition at line 226 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, and i.

void AUD_convert_s24_float_be ( data_t target,
data_t source,
int  length 
)

Definition at line 193 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, and i.

void AUD_convert_s24_float_le ( data_t target,
data_t source,
int  length 
)

Definition at line 204 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, and i.

void AUD_convert_s24_s16_be ( data_t target,
data_t source,
int  length 
)

Definition at line 160 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_s24_s16_le ( data_t target,
data_t source,
int  length 
)

Definition at line 167 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_s24_s24 ( data_t target,
data_t source,
int  length 
)

Definition at line 174 of file AUD_ConverterFunctions.cpp.

void AUD_convert_s24_s32_be ( data_t target,
data_t source,
int  length 
)

Definition at line 179 of file AUD_ConverterFunctions.cpp.

References i.

void AUD_convert_s24_s32_le ( data_t target,
data_t source,
int  length 
)

Definition at line 186 of file AUD_ConverterFunctions.cpp.

References i.

void AUD_convert_s24_u8_be ( data_t target,
data_t source,
int  length 
)

Definition at line 148 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, i, and length().

void AUD_convert_s24_u8_le ( data_t target,
data_t source,
int  length 
)

Definition at line 154 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, i, and length().

void AUD_convert_s32_double ( data_t target,
data_t source,
int  length 
)

Definition at line 286 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, and i.

void AUD_convert_s32_float ( data_t target,
data_t source,
int  length 
)

Definition at line 278 of file AUD_ConverterFunctions.cpp.

References AUD_S32_FLT, i, and length().

void AUD_convert_s32_s16 ( data_t target,
data_t source,
int  length 
)

Definition at line 244 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_s32_s24_be ( data_t target,
data_t source,
int  length 
)

Definition at line 252 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_s32_s24_le ( data_t target,
data_t source,
int  length 
)

Definition at line 265 of file AUD_ConverterFunctions.cpp.

References i, and length().

void AUD_convert_s32_u8 ( data_t target,
data_t source,
int  length 
)

Definition at line 237 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, i, and length().

void AUD_convert_u8_double ( data_t target,
data_t source,
int  length 
)

Definition at line 84 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.

void AUD_convert_u8_float ( data_t target,
data_t source,
int  length 
)

Definition at line 77 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.

void AUD_convert_u8_s16 ( data_t target,
data_t source,
int  length 
)

Definition at line 43 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.

void AUD_convert_u8_s24_be ( data_t target,
data_t source,
int  length 
)

Definition at line 50 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.

void AUD_convert_u8_s24_le ( data_t target,
data_t source,
int  length 
)

Definition at line 60 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.

void AUD_convert_u8_s32 ( data_t target,
data_t source,
int  length 
)

Definition at line 70 of file AUD_ConverterFunctions.cpp.

References AUD_U8_0, and i.