Searched refs:opus_encoder_ (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_unittest.cc | 61 WebRtcOpusEncInst* opus_encoder_; member in webrtc::OpusTest 72 : opus_encoder_(NULL), in OpusTest() 97 EXPECT_EQ(0, WebRtcOpus_SetMaxPlaybackRate(opus_encoder_, set)); in SetMaxPlaybackRate() 98 opus_encoder_ctl(opus_encoder_->encoder, in SetMaxPlaybackRate() 139 EXPECT_EQ(0, WebRtcOpus_EncoderCreate(&opus_encoder_, in TestDtxEffect() 145 EXPECT_EQ(0, WebRtcOpus_SetBitRate(opus_encoder_, in TestDtxEffect() 152 EXPECT_EQ(0, dtx ? WebRtcOpus_EnableDtx(opus_encoder_) : in TestDtxEffect() 153 WebRtcOpus_DisableDtx(opus_encoder_)); in TestDtxEffect() 161 opus_encoder_, speech_data_.GetNextBlock(), opus_decoder_, in TestDtxEffect() 167 EXPECT_EQ(0, opus_encoder_->in_dtx_mode); in TestDtxEffect() [all …]
|
D | opus_speed_test.cc | 30 WebRtcOpusEncInst* opus_encoder_; member in webrtc::OpusSpeedTest 38 opus_encoder_(NULL), in OpusSpeedTest() 47 EXPECT_EQ(0, WebRtcOpus_EncoderCreate(&opus_encoder_, channels_, app)); in SetUp() 50 EXPECT_EQ(0, WebRtcOpus_SetBitRate(opus_encoder_, bit_rate_)); in SetUp() 56 EXPECT_EQ(0, WebRtcOpus_EncoderFree(opus_encoder_)); in TearDown() 63 int value = WebRtcOpus_Encode(opus_encoder_, in_data, in EncodeABlock() 90 EXPECT_EQ(0, WebRtcOpus_SetComplexity(opus_encoder_, complexity)); \
|
D | opus_fec_test.cc | 59 WebRtcOpusEncInst* opus_encoder_; member in webrtc::OpusFecTest 111 EXPECT_EQ(0, WebRtcOpus_EncoderCreate(&opus_encoder_, channels_, app)); in SetUp() 114 EXPECT_EQ(0, WebRtcOpus_SetBitRate(opus_encoder_, bit_rate_)); in SetUp() 119 EXPECT_EQ(0, WebRtcOpus_EncoderFree(opus_encoder_)); in TearDown() 131 opus_encoder_(NULL), in OpusFecTest() 136 int value = WebRtcOpus_Encode(opus_encoder_, in EncodeABlock() 182 EXPECT_EQ(0, WebRtcOpus_EnableFec(opus_encoder_)); in TEST_P() 183 EXPECT_EQ(0, WebRtcOpus_SetPacketLossRate(opus_encoder_, in TEST_P() 188 EXPECT_EQ(0, WebRtcOpus_DisableFec(opus_encoder_)); in TEST_P()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_opus_quality_test.cc | 109 WebRtcOpusEncInst* opus_encoder_; member in webrtc::test::NetEqOpusQualityTest 127 opus_encoder_(NULL), in NetEqOpusQualityTest() 147 WebRtcOpus_EncoderCreate(&opus_encoder_, channels_, application_); in SetUp() 148 ASSERT_TRUE(opus_encoder_); in SetUp() 155 EXPECT_EQ(0, WebRtcOpus_SetBitRate(opus_encoder_, bit_rate_kbps_ * 1000)); in SetUp() 157 EXPECT_EQ(0, WebRtcOpus_EnableFec(opus_encoder_)); in SetUp() 160 EXPECT_EQ(0, WebRtcOpus_EnableDtx(opus_encoder_)); in SetUp() 162 EXPECT_EQ(0, WebRtcOpus_SetComplexity(opus_encoder_, complexity_)); in SetUp() 163 EXPECT_EQ(0, WebRtcOpus_SetMaxPlaybackRate(opus_encoder_, maxplaybackrate_)); in SetUp() 164 EXPECT_EQ(0, WebRtcOpus_SetPacketLossRate(opus_encoder_, in SetUp() [all …]
|