Move from g729.h all definitions which are used only in g729dec.c

Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Vladimir Voroshilov 17 years ago
parent 2fc3866d5e
commit fe3a80d6fa
  1. 21
      libavcodec/g729.h
  2. 4
      libavcodec/g729data.h
  3. 18
      libavcodec/g729dec.c

@ -23,27 +23,6 @@
#include <stdint.h>
/// Moving Average (MA) prediction order
#define MA_NP 4
/**
* minimum quantized LSF value (3.2.4)
* 0.005 in Q13
*/
#define LSFQ_MIN 40
/**
* maximum quantized LSF value (3.2.4)
* 3.135 in Q13
*/
#define LSFQ_MAX 25681
/**
* minimum LSF distance (3.2.4)
* 0.0391 in Q13
*/
#define LSFQ_DIFF_MIN 321
/**
* maximum possible subframe size
*/

@ -23,7 +23,9 @@
#define FFMPEG_G729DATA_H
#include <stdint.h>
#include "g729.h"
/// Moving Average (MA) prediction order
#define MA_NP 4
/**
* first stage LSP codebook

@ -30,6 +30,24 @@
#include "libavutil/avutil.h"
#include "bitstream.h"
/**
* minimum quantized LSF value (3.2.4)
* 0.005 in Q13
*/
#define LSFQ_MIN 40
/**
* maximum quantized LSF value (3.2.4)
* 3.135 in Q13
*/
#define LSFQ_MAX 25681
/**
* minimum LSF distance (3.2.4)
* 0.0391 in Q13
*/
#define LSFQ_DIFF_MIN 321
/**
* \brief pseudo random number generator
*/

Loading…
Cancel
Save