#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <time.h>
#include <string.h>
#include "floating_fudge.h"
#include <assert.h>
#include <tiffio.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/queue.h"
#include "spandsp/dc_restore.h"
#include "spandsp/bit_operations.h"
#include "spandsp/power_meter.h"
#include "spandsp/complex.h"
#include "spandsp/tone_detect.h"
#include "spandsp/tone_generate.h"
#include "spandsp/async.h"
#include "spandsp/crc.h"
#include "spandsp/hdlc.h"
#include "spandsp/silence_gen.h"
#include "spandsp/fsk.h"
#include "spandsp/v29tx.h"
#include "spandsp/v29rx.h"
#include "spandsp/v27ter_tx.h"
#include "spandsp/v27ter_rx.h"
#include "spandsp/v17tx.h"
#include "spandsp/v17rx.h"
#include "spandsp/super_tone_rx.h"
#include "spandsp/modem_connect_tones.h"
#include "spandsp/t4.h"
#include "spandsp/t30_fcf.h"
#include "spandsp/t35.h"
#include "spandsp/t30.h"
#include "spandsp/t30_logging.h"
#include "spandsp/fax_modems.h"
#include "spandsp/t38_core.h"
#include "spandsp/t38_non_ecm_buffer.h"
#include "spandsp/t38_gateway.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/fsk.h"
#include "spandsp/private/v17tx.h"
#include "spandsp/private/v17rx.h"
#include "spandsp/private/v27ter_tx.h"
#include "spandsp/private/v27ter_rx.h"
#include "spandsp/private/v29tx.h"
#include "spandsp/private/v29rx.h"
#include "spandsp/private/modem_connect_tones.h"
#include "spandsp/private/hdlc.h"
#include "spandsp/private/fax_modems.h"
#include "spandsp/private/t4.h"
#include "spandsp/private/t30.h"
#include "spandsp/private/t38_core.h"
#include "spandsp/private/t38_non_ecm_buffer.h"
#include "spandsp/private/t38_gateway.h"
Defines | |
#define | MS_PER_TX_CHUNK 30 |
#define | HDLC_START_BUFFER_LEVEL 8 |
#define | INDICATOR_TX_COUNT 3 |
#define | DATA_TX_COUNT 1 |
#define | DATA_END_TX_COUNT 3 |
#define | MAX_NSX_SUPPRESSION 10 |
#define | HDLC_FRAMING_OK_THRESHOLD 5 |
Enumerations | |
enum | { DISBIT1 = 0x01, DISBIT2 = 0x02, DISBIT3 = 0x04, DISBIT4 = 0x08, DISBIT5 = 0x10, DISBIT6 = 0x20, DISBIT7 = 0x40, DISBIT8 = 0x80 } |
enum | { T38_NONE, T38_V27TER_RX, T38_V29_RX, T38_V17_RX } |
enum | { HDLC_FLAG_FINISHED = 0x01, HDLC_FLAG_CORRUPT_CRC = 0x02, HDLC_FLAG_PROCEED_WITH_OUTPUT = 0x04, HDLC_FLAG_MISSING_DATA = 0x08 } |
enum | { FLAG_INDICATOR = 0x100, FLAG_DATA = 0x200 } |
enum | { TCF_MODE_PREDICTABLE_MODEM_START_OFF = 0, TCF_MODE_PREDICTABLE_MODEM_START_FAST_MODEM_ANNOUNCED, TCF_MODE_PREDICTABLE_MODEM_START_FAST_MODEM_SEEN, TCF_MODE_PREDICTABLE_MODEM_START_PAST_V21_MODEM, TCF_MODE_PREDICTABLE_MODEM_START_BEGIN } |
Functions | |
SPAN_DECLARE (int) | |
Release a V.8 context. | |
SPAN_DECLARE (void) | |
Cleanup a T.30 context if the call terminates. | |
SPAN_DECLARE (t38_core_state_t *) | |
Get a pointer to the T.38 core IFP packet engine associated with a T.38 context. | |
SPAN_DECLARE (logging_state_t *) | |
Get a pointer to the logging context associated with a T.38 context. | |
SPAN_DECLARE (t38_gateway_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.
|
|
Get a pointer to the T.38 core IFP packet engine associated with a T.38 context. Get a pointer to the T.38 core IFP packet engine associated with a gateway mode T.38 context.
|
|
Cleanup a T.30 context if the call terminates. Log the list of supported modulations.
|
|
Release a V.8 context. Compress a block of octets.
|