Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

alaw.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "alaw.h"

Include dependency graph for alaw.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  alaw_private_data

Defines

#define SIGN_BIT   (0x80)
#define QUANT_MASK   (0xf)
#define NSEGS   (8)
#define SEG_SHIFT   (4)
#define SEG_MASK   (0x70)

Enumerations

enum  combination_t {
  _S8_ALAW, _U8_ALAW, _S16LE_ALAW, _U16LE_ALAW,
  _S16BE_ALAW, _U16BE_ALAW, _ALAW_S8, _ALAW_U8,
  _ALAW_S16LE, _ALAW_U16LE, _ALAW_S16BE, _ALAW_U16BE
}

Variables

const short alaw_seg_end [8]


Detailed Description

implements the static Alaw utility class

Definition in file alaw.cpp.


Define Documentation

#define NSEGS   (8)
 

Definition at line 43 of file alaw.cpp.

Referenced by Alaw::linear2alaw().

#define QUANT_MASK   (0xf)
 

Definition at line 42 of file alaw.cpp.

Referenced by Alaw::linear2alaw().

#define SEG_MASK   (0x70)
 

Definition at line 45 of file alaw.cpp.

#define SEG_SHIFT   (4)
 

Definition at line 44 of file alaw.cpp.

Referenced by Alaw::linear2alaw().

#define SIGN_BIT   (0x80)
 

Definition at line 41 of file alaw.cpp.


Enumeration Type Documentation

enum combination_t
 

Enumeration values:
_S8_ALAW 
_U8_ALAW 
_S16LE_ALAW 
_U16LE_ALAW 
_S16BE_ALAW 
_U16BE_ALAW 
_ALAW_S8 
_ALAW_U8 
_ALAW_S16LE 
_ALAW_U16LE 
_ALAW_S16BE 
_ALAW_U16BE 

Definition at line 143 of file alaw.cpp.


Variable Documentation

const short alaw_seg_end[8] [static]
 

Initial value:

 {0xFF, 0x1FF, 0x3FF, 0x7FF,
                                0xFFF, 0x1FFF, 0x3FFF, 0x7FFF}

Definition at line 47 of file alaw.cpp.

Referenced by Alaw::linear2alaw().


Generated on Tue Feb 8 04:08:37 2005 for E32frodo by doxygen 1.3.3