webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <stddef.h>
#include "arith_routins.h"
#include "spectrum_ar_model_tables.h"
#include "pitch_gain_tables.h"
#include "pitch_lag_tables.h"
#include "entropy_coding.h"
#include "lpc_tables.h"
#include "settings.h"
#include "signal_processing_library.h"
#include "webrtc/base/checks.h"
Enumerations | |
enum | matrix_index_factor { kTIndexFactor1 = 1, kTIndexFactor2 = 2, kTIndexFactor3 = SUBFRAMES, kTIndexFactor4 = LPC_SHAPE_ORDER } |
enum | matrix_index_step { kTIndexStep1 = 1, kTIndexStep2 = SUBFRAMES, kTIndexStep3 = LPC_SHAPE_ORDER } |
enum | matrixprod_loop_count { kTLoopCount1 = SUBFRAMES, kTLoopCount2 = 2, kTLoopCount3 = LPC_SHAPE_ORDER } |
enum | matrix1_shift_value { kTMatrix1_shift0 = 0, kTMatrix1_shift1 = 1, kTMatrix1_shift5 = 5 } |
enum | matrixprod_init_case { kTInitCase0 = 0, kTInitCase1 = 1 } |
Functions | |
int | WebRtcIsacfix_DecodeSpec (Bitstr_dec *streamdata, int16_t *frQ7, int16_t *fiQ7, int16_t AvgPitchGain_Q12) |
int | WebRtcIsacfix_EncodeSpec (const int16_t *fr, const int16_t *fi, Bitstr_enc *streamdata, int16_t AvgPitchGain_Q12) |
void | WebRtcIsacfix_MatrixProduct1C (const int16_t matrix0[], const int32_t matrix1[], int32_t matrix_product[], const int matrix1_index_factor1, const int matrix0_index_factor1, const int matrix1_index_init_case, const int matrix1_index_step, const int matrix0_index_step, const int inner_loop_count, const int mid_loop_count, const int shift) |
void | WebRtcIsacfix_MatrixProduct2C (const int16_t matrix0[], const int32_t matrix1[], int32_t matrix_product[], const int matrix0_index_factor, const int matrix0_index_step) |
int | WebRtcIsacfix_DecodeLpc (int32_t *gain_lo_hiQ17, int16_t *LPCCoef_loQ15, int16_t *LPCCoef_hiQ15, Bitstr_dec *streamdata, int16_t *outmodel) |
int | WebRtcIsacfix_DecodeLpcCoef (Bitstr_dec *streamdata, int32_t *LPCCoefQ17, int32_t *gain_lo_hiQ17, int16_t *outmodel) |
int | WebRtcIsacfix_EstCodeLpcGain (int32_t *gain_lo_hiQ17, Bitstr_enc *streamdata, IsacSaveEncoderData *encData) |
int | WebRtcIsacfix_EncodeLpc (int32_t *gain_lo_hiQ17, int16_t *LPCCoef_loQ15, int16_t *LPCCoef_hiQ15, int16_t *model, int32_t *sizeQ11, Bitstr_enc *streamdata, IsacSaveEncoderData *encData, transcode_obj *transcodeParam) |
int | WebRtcIsacfix_DecodeRcCoef (Bitstr_dec *streamdata, int16_t *RCQ15) |
int | WebRtcIsacfix_EncodeRcCoef (int16_t *RCQ15, Bitstr_enc *streamdata) |
int | WebRtcIsacfix_DecodeGain2 (Bitstr_dec *streamdata, int32_t *gainQ10) |
int | WebRtcIsacfix_EncodeGain2 (int32_t *gainQ10, Bitstr_enc *streamdata) |
int | WebRtcIsacfix_DecodePitchGain (Bitstr_dec *streamdata, int16_t *PitchGains_Q12) |
int | WebRtcIsacfix_EncodePitchGain (int16_t *PitchGains_Q12, Bitstr_enc *streamdata, IsacSaveEncoderData *encData) |
int | WebRtcIsacfix_DecodePitchLag (Bitstr_dec *streamdata, int16_t *PitchGain_Q12, int16_t *PitchLags_Q7) |
int | WebRtcIsacfix_EncodePitchLag (int16_t *PitchLagsQ7, int16_t *PitchGain_Q12, Bitstr_enc *streamdata, IsacSaveEncoderData *encData) |
int | WebRtcIsacfix_DecodeFrameLen (Bitstr_dec *streamdata, size_t *framesamples) |
int | WebRtcIsacfix_EncodeFrameLen (int16_t framesamples, Bitstr_enc *streamdata) |
int | WebRtcIsacfix_DecodeSendBandwidth (Bitstr_dec *streamdata, int16_t *BWno) |
int | WebRtcIsacfix_EncodeReceiveBandwidth (int16_t *BWno, Bitstr_enc *streamdata) |
void | WebRtcIsacfix_TranscodeLpcCoef (int32_t *gain_lo_hiQ17, int16_t *index_gQQ) |
Variables | |
const uint16_t | kFrameLenCdf [4] |
const uint16_t * | kFrameLenCdfPtr [1] = {kFrameLenCdf} |
const uint16_t | kFrameLenInitIndex [1] = {1} |
const uint16_t | kBwCdf [25] |
const uint16_t * | kBwCdfPtr [1] = {kBwCdf} |
const uint16_t | kBwInitIndex [1] = {7} |
int WebRtcIsacfix_DecodeFrameLen | ( | Bitstr_dec * | streamdata, |
size_t * | framesamples | ||
) |
int WebRtcIsacfix_DecodeGain2 | ( | Bitstr_dec * | streamdata, |
int32_t * | gainQ10 | ||
) |
int WebRtcIsacfix_DecodeLpc | ( | int32_t * | gain_lo_hiQ17, |
int16_t * | LPCCoef_loQ15, | ||
int16_t * | LPCCoef_hiQ15, | ||
Bitstr_dec * | streamdata, | ||
int16_t * | outmodel | ||
) |
int WebRtcIsacfix_DecodeLpcCoef | ( | Bitstr_dec * | streamdata, |
int32_t * | LPCCoefQ17, | ||
int32_t * | gain_lo_hiQ17, | ||
int16_t * | outmodel | ||
) |
int WebRtcIsacfix_DecodePitchGain | ( | Bitstr_dec * | streamdata, |
int16_t * | PitchGains_Q12 | ||
) |
int WebRtcIsacfix_DecodePitchLag | ( | Bitstr_dec * | streamdata, |
int16_t * | PitchGain_Q12, | ||
int16_t * | PitchLags_Q7 | ||
) |
int WebRtcIsacfix_DecodeRcCoef | ( | Bitstr_dec * | streamdata, |
int16_t * | RCQ15 | ||
) |
int WebRtcIsacfix_DecodeSendBandwidth | ( | Bitstr_dec * | streamdata, |
int16_t * | BWno | ||
) |
int WebRtcIsacfix_DecodeSpec | ( | Bitstr_dec * | streamdata, |
int16_t * | frQ7, | ||
int16_t * | fiQ7, | ||
int16_t | AvgPitchGain_Q12 | ||
) |
int WebRtcIsacfix_EncodeFrameLen | ( | int16_t | framesamples, |
Bitstr_enc * | streamdata | ||
) |
int WebRtcIsacfix_EncodeGain2 | ( | int32_t * | gainQ10, |
Bitstr_enc * | streamdata | ||
) |
int WebRtcIsacfix_EncodeLpc | ( | int32_t * | gain_lo_hiQ17, |
int16_t * | LPCCoef_loQ15, | ||
int16_t * | LPCCoef_hiQ15, | ||
int16_t * | model, | ||
int32_t * | sizeQ11, | ||
Bitstr_enc * | streamdata, | ||
IsacSaveEncoderData * | encData, | ||
transcode_obj * | transcodeParam | ||
) |
int WebRtcIsacfix_EncodePitchGain | ( | int16_t * | PitchGains_Q12, |
Bitstr_enc * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
int WebRtcIsacfix_EncodePitchLag | ( | int16_t * | PitchLagsQ7, |
int16_t * | PitchGain_Q12, | ||
Bitstr_enc * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
int WebRtcIsacfix_EncodeRcCoef | ( | int16_t * | RCQ15, |
Bitstr_enc * | streamdata | ||
) |
int WebRtcIsacfix_EncodeReceiveBandwidth | ( | int16_t * | BWno, |
Bitstr_enc * | streamdata | ||
) |
int WebRtcIsacfix_EncodeSpec | ( | const int16_t * | fr, |
const int16_t * | fi, | ||
Bitstr_enc * | streamdata, | ||
int16_t | AvgPitchGain_Q12 | ||
) |
int WebRtcIsacfix_EstCodeLpcGain | ( | int32_t * | gain_lo_hiQ17, |
Bitstr_enc * | streamdata, | ||
IsacSaveEncoderData * | encData | ||
) |
void WebRtcIsacfix_MatrixProduct1C | ( | const int16_t | matrix0[], |
const int32_t | matrix1[], | ||
int32_t | matrix_product[], | ||
const int | matrix1_index_factor1, | ||
const int | matrix0_index_factor1, | ||
const int | matrix1_index_init_case, | ||
const int | matrix1_index_step, | ||
const int | matrix0_index_step, | ||
const int | inner_loop_count, | ||
const int | mid_loop_count, | ||
const int | shift | ||
) |
void WebRtcIsacfix_MatrixProduct2C | ( | const int16_t | matrix0[], |
const int32_t | matrix1[], | ||
int32_t | matrix_product[], | ||
const int | matrix0_index_factor, | ||
const int | matrix0_index_step | ||
) |
const uint16_t kBwCdf[25] |
const uint16_t kBwInitIndex[1] = {7} |
const uint16_t kFrameLenCdf[4] |
const uint16_t* kFrameLenCdfPtr[1] = {kFrameLenCdf} |
const uint16_t kFrameLenInitIndex[1] = {1} |