WebRtc_Word32 => int32_t etc. in audio_coding/

BUG=314

Review URL: https://webrtc-codereview.appspot.com/1271006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3789 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-04-09 00:28:06 +00:00
parent 6faf71d27b
commit 0946a56023
382 changed files with 8469 additions and 8488 deletions

View File

@ -23,45 +23,45 @@
/*
* Pointer to decoder function.
*/
typedef WebRtc_Word16 (*FuncDecode)(void* state, WebRtc_Word16* encoded, WebRtc_Word16 len,
WebRtc_Word16* decoded, WebRtc_Word16* speechType);
typedef int16_t (*FuncDecode)(void* state, int16_t* encoded, int16_t len,
int16_t* decoded, int16_t* speechType);
/*
* Pointer to PLC function.
*/
typedef WebRtc_Word16 (*FuncDecodePLC)(void* state, WebRtc_Word16* decodec,
WebRtc_Word16 frames);
typedef int16_t (*FuncDecodePLC)(void* state, int16_t* decodec,
int16_t frames);
/*
* Pointer to decoder init function.
*/
typedef WebRtc_Word16 (*FuncDecodeInit)(void* state);
typedef int16_t (*FuncDecodeInit)(void* state);
/*
* Pointer to add late packet function.
*/
typedef WebRtc_Word16
(*FuncAddLatePkt)(void* state, WebRtc_Word16* encoded, WebRtc_Word16 len);
typedef int16_t
(*FuncAddLatePkt)(void* state, int16_t* encoded, int16_t len);
/*
* Pointer to get MD infofunction.
*/
typedef WebRtc_Word16 (*FuncGetMDinfo)(void* state);
typedef int16_t (*FuncGetMDinfo)(void* state);
/*
* Pointer to pitch info function.
* Return 0 for unvoiced, -1 if pitch not availiable.
*/
typedef WebRtc_Word16 (*FuncGetPitchInfo)(void* state, WebRtc_Word16* encoded,
WebRtc_Word16* length);
typedef int16_t (*FuncGetPitchInfo)(void* state, int16_t* encoded,
int16_t* length);
/*
* Pointer to the update bandwidth estimate function
*/
typedef WebRtc_Word16 (*FuncUpdBWEst)(void* state, const WebRtc_UWord16 *encoded,
WebRtc_Word32 packet_size,
WebRtc_UWord16 rtp_seq_number, WebRtc_UWord32 send_ts,
WebRtc_UWord32 arr_ts);
typedef int16_t (*FuncUpdBWEst)(void* state, const uint16_t *encoded,
int32_t packet_size,
uint16_t rtp_seq_number, uint32_t send_ts,
uint32_t arr_ts);
/*
* Pointer to the frame size estimate function.
@ -73,7 +73,7 @@ typedef int (*FuncDurationEst)(void* state, const uint8_t* payload,
/*
* Pointer to error code function
*/
typedef WebRtc_Word16 (*FuncGetErrorCode)(void* state);
typedef int16_t (*FuncGetErrorCode)(void* state);
typedef struct CodecFuncInst_t_
{
@ -88,8 +88,8 @@ typedef struct CodecFuncInst_t_
FuncDurationEst funcDurationEst;
FuncGetErrorCode funcGetErrorCode;
void * codec_state;
WebRtc_UWord16 codec_fs;
WebRtc_UWord32 timeStamp;
uint16_t codec_fs;
uint32_t timeStamp;
} CodecFuncInst_t;