Home
last modified time | relevance | path

Searched refs:G722enc_inst (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Dg722_interface.c19 int16_t WebRtcG722_CreateEncoder(G722EncInst **G722enc_inst) in WebRtcG722_CreateEncoder() argument
21 *G722enc_inst=(G722EncInst*)malloc(sizeof(G722EncoderState)); in WebRtcG722_CreateEncoder()
22 if (*G722enc_inst!=NULL) { in WebRtcG722_CreateEncoder()
29 int16_t WebRtcG722_EncoderInit(G722EncInst *G722enc_inst) in WebRtcG722_EncoderInit() argument
33 G722enc_inst = (G722EncInst *) WebRtc_g722_encode_init( in WebRtcG722_EncoderInit()
34 (G722EncoderState*) G722enc_inst, 64000, 2); in WebRtcG722_EncoderInit()
35 if (G722enc_inst == NULL) { in WebRtcG722_EncoderInit()
42 int WebRtcG722_FreeEncoder(G722EncInst *G722enc_inst) in WebRtcG722_FreeEncoder() argument
45 return WebRtc_g722_encode_release((G722EncoderState*) G722enc_inst); in WebRtcG722_FreeEncoder()
48 size_t WebRtcG722_Encode(G722EncInst *G722enc_inst, in WebRtcG722_Encode() argument
[all …]
Dg722_interface.h46 int16_t WebRtcG722_CreateEncoder(G722EncInst **G722enc_inst);
62 int16_t WebRtcG722_EncoderInit(G722EncInst *G722enc_inst);
76 int WebRtcG722_FreeEncoder(G722EncInst *G722enc_inst);
97 size_t WebRtcG722_Encode(G722EncInst* G722enc_inst,
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc49 G722EncInst *G722enc_inst; in main() local
107 WebRtcG722_CreateEncoder((G722EncInst **)&G722enc_inst); in main()
109 WebRtcG722_EncoderInit((G722EncInst *)G722enc_inst); in main()
126 … stream_len = WebRtcG722_Encode((G722EncInst *)G722enc_inst, shortdata, framelength, streamdata); in main()
145 WebRtcG722_FreeEncoder((G722EncInst *)G722enc_inst); in main()