Edinburgh Speech Tools  2.1-release
EST_swapping.cc File Reference
#include "EST_cutils.h"
Include dependency graph for EST_swapping.cc:

Go to the source code of this file.

Functions

void swapdouble (double *d)
 
void swapfloat (float *f)
 
void swap_bytes_float (float *data, int length)
 
void swap_bytes_double (double *data, int length)
 
void swap_bytes_int (int *data, int length)
 
void swap_bytes_uint (unsigned int *data, int length)
 
void swap_bytes_short (short *data, int length)
 
void swap_bytes_ushort (unsigned short *data, int length)
 

Variables

int est_endian_loc = 1
 

Function Documentation

void swapdouble ( double *  d)

Definition at line 44 of file EST_swapping.cc.

void swapfloat ( float *  f)

Definition at line 53 of file EST_swapping.cc.

void swap_bytes_float ( float *  data,
int  length 
)

Definition at line 59 of file EST_swapping.cc.

void swap_bytes_double ( double *  data,
int  length 
)

Definition at line 68 of file EST_swapping.cc.

void swap_bytes_int ( int data,
int  length 
)

Definition at line 77 of file EST_swapping.cc.

void swap_bytes_uint ( unsigned int data,
int  length 
)

Definition at line 87 of file EST_swapping.cc.

void swap_bytes_short ( short *  data,
int  length 
)

Definition at line 97 of file EST_swapping.cc.

void swap_bytes_ushort ( unsigned short *  data,
int  length 
)

Definition at line 107 of file EST_swapping.cc.

Variable Documentation

int est_endian_loc = 1

Definition at line 42 of file EST_swapping.cc.