Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

bit_operations.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <assert.h>
#include <memory.h>
#include "spandsp/telephony.h"
#include "spandsp/bit_operations.h"

Functions

 SPAN_DECLARE (uint16_t)
 Bit reverse a 16 bit word.
 SPAN_DECLARE (uint32_t)
 Bit reverse a 32 bit word.
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (int)
 Release a V.8 context.

Detailed Description


Function Documentation

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Parameters:
s The ADSI receive context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples unprocessed.

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Parameters:
s The ADSI transmit context.

SPAN_DECLARE uint32_t   ) 
 

Bit reverse a 32 bit word.

Parameters:
data The word to be reversed.
Returns:
The bit reversed version of data.

SPAN_DECLARE uint16_t   ) 
 

Bit reverse a 16 bit word.

Parameters:
x The word to be searched.
Returns:
The mask.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1