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

crc.c File Reference

#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include "spandsp/telephony.h"
#include "spandsp/crc.h"
#include "spandsp/bit_operations.h"

Functions

 SPAN_DECLARE (uint32_t)
 Bit reverse a 32 bit word.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (uint16_t)
 Bit reverse a 16 bit word.

Detailed Description


Function Documentation

SPAN_DECLARE uint16_t   ) 
 

Bit reverse a 16 bit word.

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

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 uint32_t   ) 
 

Bit reverse a 32 bit word.

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


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