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

v27ter_rx.c File Reference

#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/complex.h"
#include "spandsp/vector_float.h"
#include "spandsp/complex_vector_float.h"
#include "spandsp/vector_int.h"
#include "spandsp/complex_vector_int.h"
#include "spandsp/async.h"
#include "spandsp/power_meter.h"
#include "spandsp/arctan2.h"
#include "spandsp/dds.h"
#include "spandsp/complex_filters.h"
#include "spandsp/v29rx.h"
#include "spandsp/v27ter_rx.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/v27ter_rx.h"
#include "v27ter_rx_4800_floating_rrc.h"
#include "v27ter_rx_2400_floating_rrc.h"

Defines

#define CARRIER_NOMINAL_FREQ   1800.0f
#define EQUALIZER_DELTA   0.25f
#define V27TER_TRAINING_SEG_3_LEN   50
#define V27TER_TRAINING_SEG_5_LEN   1074
#define V27TER_TRAINING_SEG_6_LEN   8
#define V27TER_EQUALIZER_LEN   (V27TER_EQUALIZER_PRE_LEN + 1 + V27TER_EQUALIZER_POST_LEN)

Enumerations

enum  {
  TRAINING_STAGE_NORMAL_OPERATION = 0, TRAINING_STAGE_SYMBOL_ACQUISITION, TRAINING_STAGE_LOG_PHASE, TRAINING_STAGE_WAIT_FOR_HOP,
  TRAINING_STAGE_TRAIN_ON_ABAB, TRAINING_STAGE_TEST_ONES, TRAINING_STAGE_PARKED
}

Functions

 SPAN_DECLARE (float)
 Evaluate the final result of a Goertzel transform.
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (logging_state_t *)
 Get a pointer to the logging context associated with a T.38 context.
 SPAN_DECLARE (v27ter_rx_state_t *)

Detailed Description


Function Documentation

SPAN_DECLARE logging_state_t  ) 
 

Get a pointer to the logging context associated with a T.38 context.

Get a pointer to the logging context associated with a FAX context.

Parameters:
s The FAX context.
Returns:
A pointer to the logging context, or NULL.

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