~ubuntu-branches/ubuntu/trusty/iaxmodem/trusty

« back to all changes in this revision

Viewing changes to lib/spandsp/src/spandsp/g726.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2008-02-12 15:29:42 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080212152942-28cxxstfy8iujm0p
Tags: 1.1.0~dfsg-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 * 2550 Garcia Avenue
49
49
 * Mountain View, California  94043
50
50
 *
51
 
 * $Id: g726.h,v 1.16 2007/04/08 08:16:17 steveu Exp $
 
51
 * $Id: g726.h,v 1.18 2007/12/13 11:31:32 steveu Exp $
52
52
 */
53
53
 
54
54
/*! \file */
91
91
 
92
92
typedef uint8_t (*g726_encoder_func_t)(struct g726_state_s *s, int16_t amp);
93
93
 
94
 
/*
 
94
/*!
95
95
 * The following is the definition of the state structure
96
96
 * used by the G.726 encoder and decoder to preserve their internal
97
97
 * state between successive calls.  The meanings of the majority
108
108
    int ext_coding;
109
109
    /*! The number of bits per sample */
110
110
    unsigned int bits_per_sample;
111
 
    /*! One fo the G.726_PACKING_xxx options */
 
111
    /*! One of the G.726_PACKING_xxx options */
112
112
    int packing;
113
113
 
114
114
    /*! Locked or steady state step size multiplier. */
137
137
    /*! Delayed tone detect */
138
138
    int td;
139
139
    
 
140
    /*! \brief The bit stream processing context. */
140
141
    bitstream_state_t bs;
141
142
 
 
143
    /*! \brief The current encoder function. */
142
144
    g726_encoder_func_t enc_func;
 
145
    /*! \brief The current decoder function. */
143
146
    g726_decoder_func_t dec_func;
144
147
} g726_state_t;
145
148