hvirtual/toolame-02l/portableio.h File Reference

#include <stdio.h>
#include "ieeefloat.h"

Include dependency graph for portableio.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define Read32BitsLowHigh(f)   Read32Bits(f)
#define WriteString(f, s)   fwrite(s,strlen(s),sizeof(char),f)

Functions

int ReadByte (FILE *fp)
int Read16BitsLowHigh (FILE *fp)
int Read16BitsHighLow (FILE *fp)
void Write8Bits (FILE *fp, int i)
void Write16BitsLowHigh (FILE *fp, int i)
void Write16BitsHighLow (FILE *fp, int i)
int Read24BitsHighLow (FILE *fp)
int Read32Bits (FILE *fp)
int Read32BitsHighLow (FILE *fp)
void Write32Bits (FILE *fp, int i)
void Write32BitsLowHigh (FILE *fp, int i)
void Write32BitsHighLow (FILE *fp, int i)
void ReadBytes (FILE *fp, char *p, int n)
void ReadBytesSwapped (FILE *fp, char *p, int n)
void WriteBytes (FILE *fp, char *p, int n)
void WriteBytesSwapped (FILE *fp, char *p, int n)
double ReadIeeeFloatHighLow (FILE *fp)
double ReadIeeeFloatLowHigh (FILE *fp)
double ReadIeeeDoubleHighLow (FILE *fp)
double ReadIeeeDoubleLowHigh (FILE *fp)
double ReadIeeeExtendedHighLow (FILE *fp)
double ReadIeeeExtendedLowHigh (FILE *fp)
void WriteIeeeFloatLowHigh (FILE *fp, double num)
void WriteIeeeFloatHighLow (FILE *fp, double num)
void WriteIeeeDoubleLowHigh (FILE *fp, double num)
void WriteIeeeDoubleHighLow (FILE *fp, double num)
void WriteIeeeExtendedLowHigh (FILE *fp, double num)
void WriteIeeeExtendedHighLow (FILE *fp, double num)


Define Documentation

#define Read32BitsLowHigh (  )     Read32Bits(f)

Definition at line 93 of file portableio.h.

#define WriteString ( f,
s   )     fwrite(s,strlen(s),sizeof(char),f)

Definition at line 94 of file portableio.h.


Function Documentation

int Read16BitsHighLow ( FILE *  fp  ) 

Definition at line 68 of file portableio.c.

References getc().

Referenced by aiff_read_headers(), and Read32BitsHighLow().

Here is the call graph for this function:

int Read16BitsLowHigh ( FILE *  fp  ) 

int Read24BitsHighLow ( FILE *  fp  ) 

int Read32Bits ( FILE *  fp  ) 

int Read32BitsHighLow ( FILE *  fp  ) 

Definition at line 93 of file portableio.c.

References Read16BitsHighLow().

Referenced by aiff_read_headers().

Here is the call graph for this function:

int ReadByte ( FILE *  fp  ) 

void ReadBytes ( FILE *  fp,
char *  p,
int  n 
)

Definition at line 109 of file portableio.c.

References getc().

Referenced by ReadIeeeExtendedHighLow().

Here is the call graph for this function:

void ReadBytesSwapped ( FILE *  fp,
char *  p,
int  n 
)

double ReadIeeeDoubleHighLow ( FILE *  fp  ) 

double ReadIeeeDoubleLowHigh ( FILE *  fp  ) 

double ReadIeeeExtendedHighLow ( FILE *  fp  ) 

Definition at line 84 of file portableio.c.

References bits, ConvertFromIeeeExtended(), kExtendedLength, and ReadBytes().

Referenced by aiff_read_headers().

Here is the call graph for this function:

double ReadIeeeExtendedLowHigh ( FILE *  fp  ) 

double ReadIeeeFloatHighLow ( FILE *  fp  ) 

double ReadIeeeFloatLowHigh ( FILE *  fp  ) 

void Write16BitsHighLow ( FILE *  fp,
int  i 
)

void Write16BitsLowHigh ( FILE *  fp,
int  i 
)

void Write32Bits ( FILE *  fp,
int  i 
)

void Write32BitsHighLow ( FILE *  fp,
int  i 
)

void Write32BitsLowHigh ( FILE *  fp,
int  i 
)

void Write8Bits ( FILE *  fp,
int  i 
)

void WriteBytes ( FILE *  fp,
char *  p,
int  n 
)

void WriteBytesSwapped ( FILE *  fp,
char *  p,
int  n 
)

void WriteIeeeDoubleHighLow ( FILE *  fp,
double  num 
)

void WriteIeeeDoubleLowHigh ( FILE *  fp,
double  num 
)

void WriteIeeeExtendedHighLow ( FILE *  fp,
double  num 
)

void WriteIeeeExtendedLowHigh ( FILE *  fp,
double  num 
)

void WriteIeeeFloatHighLow ( FILE *  fp,
double  num 
)

void WriteIeeeFloatLowHigh ( FILE *  fp,
double  num 
)


Generated on Mon Apr 28 14:09:14 2008 for Cinelerra by  doxygen 1.5.5