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

v22bis_tx.c File Reference

#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/logging.h"
#include "spandsp/complex.h"
#include "spandsp/vector_float.h"
#include "spandsp/complex_vector_float.h"
#include "spandsp/async.h"
#include "spandsp/dds.h"
#include "spandsp/power_meter.h"
#include "spandsp/v29rx.h"
#include "spandsp/v22bis.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/v22bis.h"
#include "v22bis_tx_floating_rrc.h"

Defines

#define ms_to_symbols(t)   (((t)*600)/1000)

Enumerations

enum  {
  V22BIS_TRAINING_STAGE_NORMAL_OPERATION = 0, V22BIS_TRAINING_STAGE_INITIAL_SILENCE, 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_PARKED
}

Functions

 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (logging_state_t *)
 Get a pointer to the logging context associated with a T.38 context.
 SPAN_DECLARE (v22bis_state_t *)

Variables

const complexf_t v22bis_constellation [16]

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


Variable Documentation

const complexf_t v22bis_constellation[16]
 

Initial value:

{
    { 1.0f,  1.0f},
    { 3.0f,  1.0f},
    { 1.0f,  3.0f},
    { 3.0f,  3.0f},
    {-1.0f,  1.0f},
    {-1.0f,  3.0f},
    {-3.0f,  1.0f},
    {-3.0f,  3.0f},
    {-1.0f, -1.0f},
    {-3.0f, -1.0f},
    {-1.0f, -3.0f},
    {-3.0f, -3.0f},
    { 1.0f, -1.0f},
    { 1.0f, -3.0f},
    { 3.0f, -1.0f},
    { 3.0f, -3.0f}
}


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