Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
private.h
Package: tcpmp.rar [view]
Upload User: wstnjxml
Upload Date: 2014-04-03
Package Size: 7248k
Code Size: 2k
Category:
Windows CE
Development Platform:
C/C++
- /**
- *
- * $Log: private.h,v $
- * Revision 1.4 2002/11/20 04:29:13 robertj
- * Included optimisations for G.711 and G.726 codecs, thanks Ted Szoczei
- *
- * Revision 1.1 2002/02/11 23:24:23 robertj
- * Updated to openH323 v1.8.0
- *
- * Revision 1.2 2002/02/10 21:14:54 dereks
- * Add cvs log history to head of the file.
- * Ensure file is terminated by a newline.
- *
- *
- *
- */
- #if !defined G726_PRIVATE
- #define G726_PRIVATE
- int linear2ulaw(int pcm_val);
- int ulaw2linear(int u_val);
- int linear2alaw(int pcm_val);
- int alaw2linear(int u_val);
- //static int fmult(int an, int srn);
- int predictor_zero( g726_state *state_ptr);
- int predictor_pole( g726_state *state_ptr);
- int step_size( g726_state *state_ptr);
- int quantize( int d, /* Raw difference signal sample */
- int y, /* Step size multiplier */
- int * table, /* quantization table */
- int size); /* table size of short integers */
- int reconstruct( int sign, /* 0 for non-negative value */
- int dqln, /* G.72x codeword */
- int y); /* Step size multiplier */
- void update( int code_size, /* distinguish 723_40 with others */
- int y, /* quantizer step size */
- int wi, /* scale factor multiplier */
- int fi, /* for long/short term energies */
- int dq, /* quantized prediction difference */
- int sr, /* reconstructed signal */
- int dqsez, /* difference from 2-pole predictor */
- g726_state *state_ptr); /* coder state pointer */
- int tandem_adjust_alaw(
- int sr, /* decoder output linear PCM sample */
- int se, /* predictor estimate sample */
- int y, /* quantizer step size */
- int i, /* decoder input code */
- int sign,
- int * qtab);
- int tandem_adjust_ulaw(
- int sr, /* decoder output linear PCM sample */
- int se, /* predictor estimate sample */
- int y, /* quantizer step size */
- int i, /* decoder input code */
- int sign,
- int * qtab);
- #endif // G726_PRIVATE