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

v22bis_rx.c File Reference

#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/vector_float.h"
#include "spandsp/async.h"
#include "spandsp/power_meter.h"
#include "spandsp/arctan2.h"
#include "spandsp/complex.h"
#include "spandsp/dds.h"
#include "spandsp/complex_filters.h"
#include "spandsp/v29rx.h"
#include "spandsp/v22bis.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/v22bis.h"
#include "v22bis_rx_1200_floating_rrc.h"
#include "v22bis_rx_2400_floating_rrc.h"

Defines

#define ms_to_symbols(t)   (((t)*600)/1000)
#define EQUALIZER_DELTA   0.25f
#define PULSESHAPER_COEFF_SETS   12

Enumerations

enum  {
  V22BIS_TRAINING_STAGE_NORMAL_OPERATION, V22BIS_TRAINING_STAGE_SYMBOL_ACQUISITION, V22BIS_TRAINING_STAGE_LOG_PHASE, V22BIS_TRAINING_STAGE_UNSCRAMBLED_ONES,
  V22BIS_TRAINING_STAGE_UNSCRAMBLED_0011, V22BIS_TRAINING_STAGE_SCRAMBLED_ONES_AT_1200, V22BIS_TRAINING_STAGE_SCRAMBLED_ONES_AT_2400, V22BIS_TRAINING_STAGE_WAIT_FOR_START_1,
  V22BIS_TRAINING_STAGE_WAIT_FOR_START_2, V22BIS_TRAINING_STAGE_PARKED
}

Functions

 SPAN_DECLARE (float)
 Evaluate the final result of a Goertzel transform.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.

Detailed Description


Function Documentation

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Log the list of supported modulations.

Parameters:
s The V.8 context.
modulation_schemes The list of supported modulations.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Compress a block of octets.

Parameters:
s The V.42bis context.
buf The data to be compressed.
len The length of the data buffer.
Returns:
0

SPAN_DECLARE float   ) 
 

Evaluate the final result of a Goertzel transform.

Parameters:
phase_rate The phase rate.
Returns:
The equivalent frequency, in Hz.


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