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

t4.c File Reference

#include <stdlib.h>
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <memory.h>
#include <string.h>
#include "floating_fudge.h"
#include <tiffio.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/bit_operations.h"
#include "spandsp/async.h"
#include "spandsp/t4.h"
#include "spandsp/version.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/t4.h"
#include "faxfont.h"
#include "t4_states.h"

Classes

struct  t4_table_entry_t
struct  t4_run_table_entry_t

Defines

#define CM_PER_INCH   2.54f
#define EOLS_TO_END_T4_TX_PAGE   6
#define EOLS_TO_END_T6_TX_PAGE   2
#define EOLS_TO_END_ANY_RX_PAGE   6
#define EOLS_TO_END_T4_RX_PAGE   5
#define EOLS_TO_END_T6_RX_PAGE   2
#define STATE_TRACE()
#define pixel_is_black(x, bit)   (((x)[(bit) >> 3] << ((bit) & 7)) & 0x80)

Enumerations

enum  {
  S_Null = 0, S_Pass = 1, S_Horiz = 2, S_Vert = 3,
  S_Ext = 4, S_TermW = 5, S_TermB = 6, S_MakeUpW = 7,
  S_MakeUpB = 8, S_MakeUp = 9, S_EOL = 10
}

Functions

 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (t4_state_t *)
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (const char *)
 Get the short text name of an encoding format.

Detailed Description


Function Documentation

SPAN_DECLARE const char *   ) 
 

Get the short text name of an encoding format.

Get the transmitted identifier associated with a T.30 context.

Parameters:
s The T.30 context.
id A pointer to the identifier.
Returns:
0 for OK, else -1.

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


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