OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:vad_inst
(Results
1 - 3
of
3
) sorted by null
/external/webrtc/src/common_audio/vad/main/source/
webrtc_vad.c
49
WebRtc_Word16 WebRtcVad_Assign(VadInst **
vad_inst
, void *vad_inst_addr)
52
if (
vad_inst
== NULL)
59
*
vad_inst
= (VadInst*)vad_inst_addr;
67
WebRtc_Word16 WebRtcVad_Create(VadInst **
vad_inst
)
72
if (
vad_inst
== NULL)
77
*
vad_inst
= NULL;
80
*
vad_inst
= (VadInst *)vad_ptr;
92
WebRtc_Word16 WebRtcVad_Free(VadInst *
vad_inst
)
95
if (
vad_inst
== NULL)
100
free(
vad_inst
);
[
all
...]
/external/webrtc/src/common_audio/vad/main/test/unit_test/
unit_test.cc
41
VadInst *
vad_inst
;
local
74
EXPECT_EQ(WebRtcVad_Create(&
vad_inst
), 0);
77
EXPECT_EQ(-1, WebRtcVad_Process(
vad_inst
, fs[0], speech, framelen[0][0]));
78
EXPECT_EQ(-1, WebRtcVad_set_mode(
vad_inst
, nMode[0]));
81
EXPECT_EQ(WebRtcVad_Init(
vad_inst
), 0);
84
EXPECT_EQ(-1, WebRtcVad_set_mode(
vad_inst
, -1));
85
EXPECT_EQ(-1, WebRtcVad_set_mode(
vad_inst
, 4));
88
EXPECT_EQ(WebRtcVad_set_mode(
vad_inst
, nMode[i]), 0);
92
EXPECT_EQ(-1, WebRtcVad_Process(
vad_inst
, fs[0], NULL, framelen[0][0]));
93
EXPECT_EQ(-1, WebRtcVad_Process(
vad_inst
, 12000, speech, framelen[0][0]))
[
all
...]
/external/webrtc/src/common_audio/vad/main/interface/
webrtc_vad.h
63
* -
vad_inst
: Pointer to the instance that should be created
68
WebRtc_Word16 WebRtcVad_Assign(VadInst **
vad_inst
, void *vad_inst_addr);
76
* -
vad_inst
: Pointer to VAD instance that should be created
79
* -
vad_inst
: Pointer to created VAD instance
84
WebRtc_Word16 WebRtcVad_Create(VadInst **
vad_inst
);
92
* -
vad_inst
: Pointer to VAD instance that should be freed
97
WebRtc_Word16 WebRtcVad_Free(VadInst *
vad_inst
);
105
* -
vad_inst
: Instance that should be initialized
108
* -
vad_inst
: Initialized instance
113
WebRtc_Word16 WebRtcVad_Init(VadInst *
vad_inst
);
[
all
...]
Completed in 597 milliseconds