Implementation of ITU-T (formerly CCITT) Recomendation G726. More...
#include "common.h"#include "G726.h"#include "G711.h"
Go to the source code of this file.
Defines | |
| #define | CHECK_SM(x, bits) ASSERT_DEBUG(((x)>>bits)==0) |
| #define | CHECK_UM(x, bits) ASSERT_DEBUG(((x)>>bits)==0) |
| #define | CHECK_TC(x, bits) ASSERT_DEBUG(((x)>>(bits-1))==((x)<0?-1:0)) |
| #define | CHECK_FL(x, bits) ASSERT_DEBUG(((x)>>bits)==0) |
| #define | CHECK_UNSIGNED(x, bits) ASSERT_DEBUG(((x)>>bits)==0) |
Functions | |
| static void | EXPAND (unsigned S, unsigned LAW, int &SL) |
| EXPAND function from G726 Section 4.2.1 - Input PCM format conversion and difference signal computation. | |
| static void | SUBTA (int SL, int SE, int &D) |
| SUBTA function from G726 Section 4.2.1 - Input PCM format conversion and difference signal computation. | |
| static void | LOG (int D, unsigned &DL, int &DS) |
| LOG function from G726 Section 4.2.2 - Adaptive quantizer. | |
| static void | QUAN (unsigned RATE, int DLN, int DS, unsigned &I) |
| QUAN function from G726 Section 4.2.2 - Adaptive quantizer. | |
| static void | SUBTB (unsigned DL, unsigned Y, int &DLN) |
| SUBTB function from G726 Section 4.2.2 - Adaptive quantizer. | |
| static void | ADDA (int DQLN, unsigned Y, int &DQL) |
| ADDA function from G726 Section 4.2.3 - Inverse adaptive quantizer. | |
| static void | ANTILOG (int DQL, int DQS, unsigned &DQ) |
| ANTILOG function from G726 Section 4.2.3 - Inverse adaptive quantizer. | |
| static void | RECONST (unsigned RATE, unsigned I, int &DQLN, int &DQS) |
| RECONST function from G726 Section 4.2.3 - Inverse adaptive quantizer. | |
| static void | FILTD (int WI, unsigned Y, unsigned &YUT) |
| FILTD function from G726 Section 4.2.4 - Quantizer scale factor adaptation. | |
| static void | FILTE (unsigned YUP, unsigned YL, unsigned &YLP) |
| FILTE function from G726 Section 4.2.4 - Quantizer scale factor adaptation. | |
| static void | FUNCTW (unsigned RATE, unsigned I, int &WI) |
| FUNCTW function from G726 Section 4.2.4 - Quantizer scale factor adaptation. | |
| static void | LIMB (unsigned YUT, unsigned &YUP) |
| LIMB function from G726 Section 4.2.4 - Quantizer scale factor adaptation. | |
| static void | MIX (unsigned AL, unsigned YU, unsigned YL, unsigned &Y) |
| MIX function from G726 Section 4.2.4 - Quantizer scale factor adaptation. | |
| static void | FILTA (unsigned FI, unsigned DMS, unsigned &DMSP) |
| FILTA function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | FILTB (unsigned FI, unsigned DML, unsigned &DMLP) |
| FILTB function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | FILTC (unsigned AX, unsigned AP, unsigned &APP) |
| FILTC function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | FUNCTF (unsigned RATE, unsigned I, unsigned &FI) |
| FUNCTF function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | LIMA (unsigned AP, unsigned &AL) |
| LIMA function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | SUBTC (unsigned DMSP, unsigned DMLP, unsigned TDP, unsigned Y, unsigned &AX) |
| SUBTC function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | TRIGA (unsigned TR, unsigned APP, unsigned &APR) |
| TRIGA function from G726 Section 4.2.5 - Adaptation speed control. | |
| static void | ACCUM (int WAn[2], int WBn[6], int &SE, int &SEZ) |
| ACCUM function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | ADDB (unsigned DQ, int SE, int &SR) |
| ACCUM function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | ADDC (unsigned DQ, int SEZ, int &PK0, unsigned &SIGPK) |
| ADDC function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | FLOATA (unsigned DQ, unsigned &DQ0) |
| FLOATA function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | FLOATB (int SR, unsigned &SR0) |
| FLOATB function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | FMULT (int An, unsigned SRn, int &WAn) |
| FMULT function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | LIMC (int A2T, int &A2P) |
| LIMC function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | LIMD (int A1T, int A2P, int &A1P) |
| LIMD function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | TRIGB (unsigned TR, int AnP, int &AnR) |
| TRIGB function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | UPA1 (int PK0, int PK1, int A1, unsigned SIGPK, int &A1T) |
| UPA1 function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | UPA2 (int PK0, int PK1, int PK2, int A1, int A2, unsigned SIGPK, int &A2T) |
| UPA2 function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | UPB (unsigned RATE, int Un, int Bn, unsigned DQ, int &BnP) |
| UPB function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | XOR (unsigned DQn, unsigned DQ, int &Un) |
| XOR function from G726 Section 4.2.6 - Adaptative predictor and reconstructed signal calculator. | |
| static void | TONE (int A2P, unsigned &TDP) |
| TONE function from G726 Section 4.2.7 - Tone and transition detector. | |
| static void | TRANS (unsigned TD, unsigned YL, unsigned DQ, unsigned &TR) |
| TRANS function from G726 Section 4.2.7 - Tone and transition detector. | |
| static void | COMPRESS (int SR, unsigned LAW, unsigned &SP) |
| COMPRESS function from G726 Section 4.2.8 - Output PCM format conversion and synchronous coding adjustment. | |
| static void | SYNC (unsigned RATE, unsigned I, unsigned SP, int DLNX, int DSX, unsigned LAW, unsigned &SD) |
| SYNC function from G726 Section 4.2.8 - Output PCM format conversion and synchronous coding adjustment. | |
| static void | LIMO (int SR, int &SO) |
| LIMO function from G726 Section A.3.5 - Output limiting (decoder only). | |
Implementation of ITU-T (formerly CCITT) Recomendation G726.
Definition in file G726.cpp.
1.6.1