ardour
Macros | Typedefs | Functions
pcm_utils.h File Reference

Go to the source code of this file.

Macros

#define SIZEOF_TRIBYTE   3
 
#define BET2H_INT_PTR(x)   (((x) [0] << 24) + ((x) [1] << 16) + ((x) [2] << 8))
 
#define LET2H_INT_PTR(x)   (((x) [0] << 8) + ((x) [1] << 16) + ((x) [2] << 24))
 

Typedefs

typedef void tribyte
 

Functions

void pcm_let2f_array (tribyte *src, int count, float *dest)
 
void pcm_bet2f_array (tribyte *src, int count, float *dest)
 
void pcm_f2let_array (float *src, tribyte *dest, int count)
 
void pcm_f2let_clip_array (float *src, tribyte *dest, int count)
 
void pcm_f2bet_array (const float *src, tribyte *dest, int count)
 
void pcm_f2bet_clip_array (const float *src, tribyte *dest, int count)
 

Macro Definition Documentation

#define BET2H_INT_PTR (   x)    (((x) [0] << 24) + ((x) [1] << 16) + ((x) [2] << 8))

Definition at line 27 of file pcm_utils.h.

#define LET2H_INT_PTR (   x)    (((x) [0] << 8) + ((x) [1] << 16) + ((x) [2] << 24))

Definition at line 28 of file pcm_utils.h.

#define SIZEOF_TRIBYTE   3

Definition at line 25 of file pcm_utils.h.

Typedef Documentation

typedef void tribyte

Definition at line 23 of file pcm_utils.h.

Function Documentation

void pcm_bet2f_array ( tribyte src,
int  count,
float *  dest 
)

Definition at line 54 of file pcm_utils.cc.

void pcm_f2bet_array ( const float *  src,
tribyte dest,
int  count 
)

Definition at line 127 of file pcm_utils.cc.

void pcm_f2bet_clip_array ( const float *  src,
tribyte dest,
int  count 
)

Definition at line 146 of file pcm_utils.cc.

void pcm_f2let_array ( float *  src,
tribyte dest,
int  count 
)

Definition at line 72 of file pcm_utils.cc.

void pcm_f2let_clip_array ( float *  src,
tribyte dest,
int  count 
)

Definition at line 92 of file pcm_utils.cc.

void pcm_let2f_array ( tribyte src,
int  count,
float *  dest 
)

Definition at line 37 of file pcm_utils.cc.