const uint16_t WebRtcIsac_kFrameLengthCdf[4]
Definition: entropy_coding.c:1780
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include "entropy_coding.h"
#include "settings.h"
#include "arith_routines.h"
#include "signal_processing_library.h"
#include "spectrum_ar_model_tables.h"
#include "lpc_tables.h"
#include "pitch_gain_tables.h"
#include "pitch_lag_tables.h"
#include "encode_lpc_swb.h"
#include "lpc_shape_swb12_tables.h"
#include "lpc_shape_swb16_tables.h"
#include "lpc_gain_swb_tables.h"
#include "os_specific_inline.h"
#include <math.h>
#include <string.h>
Macros | |
#define | MAX_ORDER 100 |
Functions | |
int | WebRtcIsac_DecodeSpec (Bitstr *streamdata, int16_t AvgPitchGain_Q12, enum ISACBand band, double *fr, double *fi) |
int | WebRtcIsac_EncodeSpec (const int16_t *fr, const int16_t *fi, int16_t AvgPitchGain_Q12, enum ISACBand band, Bitstr *streamdata) |
void | WebRtcIsac_Rc2Poly (double *RC, int N, double *a) |
void | WebRtcIsac_Poly2Rc (double *a, int N, double *RC) |
void | WebRtcIsac_Rc2Lar (const double *refc, double *lar, int order) |
void | WebRtcIsac_Lar2Rc (const double *lar, double *refc, int order) |
void | WebRtcIsac_Poly2Lar (double *lowband, int orderLo, double *hiband, int orderHi, int Nsub, double *lars) |
int16_t | WebRtcIsac_Poly2LarUB (double *lpcVecs, int16_t bandwidth) |
void | WebRtcIsac_Lar2Poly (double *lars, double *lowband, int orderLo, double *hiband, int orderHi, int Nsub) |
void | WebRtcIsac_Lar2PolyInterpolUB (double *larVecs, double *percepFilterParams, int numPolyVecs) |
int | WebRtcIsac_DecodeLpc (Bitstr *streamdata, double *LPCCoef_lo, double *LPCCoef_hi) |
int16_t | WebRtcIsac_DecodeInterpolLpcUb (Bitstr *streamdata, double *percepFilterParams, int16_t bandwidth) |
int | WebRtcIsac_DecodeLpcCoef (Bitstr *streamdata, double *LPCCoef) |
void | WebRtcIsac_EncodeLar (double *LPCCoef, Bitstr *streamdata, IsacSaveEncoderData *encData) |
void | WebRtcIsac_EncodeLpcLb (double *LPCCoef_lo, double *LPCCoef_hi, Bitstr *streamdata, IsacSaveEncoderData *encData) |
int16_t | WebRtcIsac_EncodeLpcUB (double *lpcVecs, Bitstr *streamdata, double *interpolLPCCoeff, int16_t bandwidth, ISACUBSaveEncDataStruct *encData) |
void | WebRtcIsac_EncodeLpcGainLb (double *LPCCoef_lo, double *LPCCoef_hi, Bitstr *streamdata, IsacSaveEncoderData *encData) |
void | WebRtcIsac_EncodeLpcGainUb (double *lpGains, Bitstr *streamdata, int *lpcGainIndex) |
void | WebRtcIsac_StoreLpcGainUb (double *lpGains, Bitstr *streamdata) |
int16_t | WebRtcIsac_DecodeLpcGainUb (double *lpGains, Bitstr *streamdata) |
int | WebRtcIsac_DecodeRc (Bitstr *streamdata, int16_t *RCQ15) |
void | WebRtcIsac_EncodeRc (int16_t *RCQ15, Bitstr *streamdata) |
int | WebRtcIsac_DecodeGain2 (Bitstr *streamdata, int32_t *gainQ10) |
int | WebRtcIsac_EncodeGain2 (int32_t *gainQ10, Bitstr *streamdata) |
int | WebRtcIsac_DecodePitchGain (Bitstr *streamdata, int16_t *PitchGains_Q12) |
void | WebRtcIsac_EncodePitchGain (int16_t *PitchGains_Q12, Bitstr *streamdata, IsacSaveEncoderData *encData) |
int | WebRtcIsac_DecodePitchLag (Bitstr *streamdata, int16_t *PitchGain_Q12, double *PitchLags) |
void | WebRtcIsac_EncodePitchLag (double *PitchLags, int16_t *PitchGain_Q12, Bitstr *streamdata, IsacSaveEncoderData *encData) |
int | WebRtcIsac_DecodeFrameLen (Bitstr *streamdata, int16_t *framesamples) |
int | WebRtcIsac_EncodeFrameLen (int16_t framesamples, Bitstr *streamdata) |
int | WebRtcIsac_DecodeSendBW (Bitstr *streamdata, int16_t *BWno) |
void | WebRtcIsac_EncodeReceiveBw (int *BWno, Bitstr *streamdata) |
void | WebRtcIsac_TranscodeLPCCoef (double *LPCCoef_lo, double *LPCCoef_hi, int *index_g) |
int | WebRtcIsac_DecodeLpcCoefUB (Bitstr *streamdata, double *lpcVecs, double *percepFilterGains, int16_t bandwidth) |
int16_t | WebRtcIsac_EncodeBandwidth (enum ISACBandwidth bandwidth, Bitstr *streamData) |
int16_t | WebRtcIsac_DecodeBandwidth (Bitstr *streamData, enum ISACBandwidth *bandwidth) |
int16_t | WebRtcIsac_EncodeJitterInfo (int32_t jitterIndex, Bitstr *streamData) |
int16_t | WebRtcIsac_DecodeJitterInfo (Bitstr *streamData, int32_t *jitterInfo) |
Variables | |
const uint16_t | WebRtcIsac_kFrameLengthCdf [4] |
const uint16_t * | WebRtcIsac_kFrameLengthCdf_ptr [1] |
const uint16_t | WebRtcIsac_kFrameLengthInitIndex [1] = { 1 } |
#define MAX_ORDER 100 |
int16_t WebRtcIsac_DecodeBandwidth | ( | Bitstr * | streamData, |
enum ISACBandwidth * | bandwidth | ||
) |
int16_t WebRtcIsac_DecodeInterpolLpcUb | ( | Bitstr * | streamdata, |
double * | percepFilterParams, | ||
int16_t | bandwidth | ||
) |
int WebRtcIsac_DecodeLpc | ( | Bitstr * | streamdata, |
double * | LPCCoef_lo, | ||
double * | LPCCoef_hi | ||
) |
int WebRtcIsac_DecodeLpcCoef | ( | Bitstr * | streamdata, |
double * | LPCCoef | ||
) |
int WebRtcIsac_DecodeLpcCoefUB | ( | Bitstr * | streamdata, |
double * | lpcVecs, | ||
double * | percepFilterGains, | ||
int16_t | bandwidth | ||
) |
int WebRtcIsac_DecodeSpec | ( | Bitstr * | streamdata, |
int16_t | AvgPitchGain_Q12, | ||
enum ISACBand | band, | ||
double * | fr, | ||
double * | fi | ||
) |
int16_t WebRtcIsac_EncodeBandwidth | ( | enum ISACBandwidth | bandwidth, |
Bitstr * | streamData | ||
) |
void WebRtcIsac_EncodeLar | ( | double * | LPCCoef, |
Bitstr * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
void WebRtcIsac_EncodeLpcGainLb | ( | double * | LPCCoef_lo, |
double * | LPCCoef_hi, | ||
Bitstr * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
void WebRtcIsac_EncodeLpcLb | ( | double * | LPCCoef_lo, |
double * | LPCCoef_hi, | ||
Bitstr * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
int16_t WebRtcIsac_EncodeLpcUB | ( | double * | lpcVecs, |
Bitstr * | streamdata, | ||
double * | interpolLPCCoeff, | ||
int16_t | bandwidth, | ||
ISACUBSaveEncDataStruct * | encData | ||
) |
void WebRtcIsac_EncodePitchGain | ( | int16_t * | PitchGains_Q12, |
Bitstr * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
void WebRtcIsac_EncodePitchLag | ( | double * | PitchLags, |
int16_t * | PitchGain_Q12, | ||
Bitstr * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
int WebRtcIsac_EncodeSpec | ( | const int16_t * | fr, |
const int16_t * | fi, | ||
int16_t | AvgPitchGain_Q12, | ||
enum ISACBand | band, | ||
Bitstr * | streamdata | ||
) |
void WebRtcIsac_Lar2Poly | ( | double * | lars, |
double * | lowband, | ||
int | orderLo, | ||
double * | hiband, | ||
int | orderHi, | ||
int | Nsub | ||
) |
void WebRtcIsac_Lar2PolyInterpolUB | ( | double * | larVecs, |
double * | percepFilterParams, | ||
int | numPolyVecs | ||
) |
void WebRtcIsac_Lar2Rc | ( | const double * | lar, |
double * | refc, | ||
int | order | ||
) |
void WebRtcIsac_Poly2Lar | ( | double * | lowband, |
int | orderLo, | ||
double * | hiband, | ||
int | orderHi, | ||
int | Nsub, | ||
double * | lars | ||
) |
void WebRtcIsac_Poly2Rc | ( | double * | a, |
int | N, | ||
double * | RC | ||
) |
void WebRtcIsac_Rc2Lar | ( | const double * | refc, |
double * | lar, | ||
int | order | ||
) |
void WebRtcIsac_Rc2Poly | ( | double * | RC, |
int | N, | ||
double * | a | ||
) |
void WebRtcIsac_TranscodeLPCCoef | ( | double * | LPCCoef_lo, |
double * | LPCCoef_hi, | ||
int * | index_g | ||
) |
const uint16_t WebRtcIsac_kFrameLengthCdf[4] |
const uint16_t* WebRtcIsac_kFrameLengthCdf_ptr[1] |
const uint16_t WebRtcIsac_kFrameLengthInitIndex[1] = { 1 } |