www.pudn.com > T-REC-G.722.1-200505-I!!SOFT-ZST-E.zip > encode.c
/*****************************************************************
******************************************************************
**
** ITU-T Wideband Coder Candidate (G.WB) Source Code
**
** File Name : encode.c
**
** © 2000 PictureTel Coporation
** Andover, MA, USA
**
** All rights reserved.
**
******************************************************************
*****************************************************************/
/*************************************************************************************
Filename: encode.c
Original Author:
Creation Date:
Purpose: Contains the main function for the G.722.1 encoder
*************************************************************************************/
/************************************************************************************
Include files
*************************************************************************************/
#include
#include
#include "defs.h"
/************************************************************************************
Local function declarations
*************************************************************************************/
void write_ITU_format(short int [], int, int, FILE *);
/************************************************************************************
Extern function declarations
*************************************************************************************/
extern void mlt_based_coder_init();
extern void encoder(int, int, float [], short int []);
extern void samples_to_rmlt_coefs(float *, float *, int);
/************************************************************************************
Procedure/Function: G722.1 main encoder function
Syntax: encode