Home
last modified time | relevance | path

Searched refs:AudioEncoder (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/codecs/
Daudio_encoder.cc18 AudioEncoder::EncodedInfo::EncodedInfo() = default;
20 AudioEncoder::EncodedInfo::~EncodedInfo() = default;
22 int AudioEncoder::RtpTimestampRateHz() const { in RtpTimestampRateHz()
26 AudioEncoder::EncodedInfo AudioEncoder::Encode( in Encode()
40 bool AudioEncoder::SetFec(bool enable) { in SetFec()
44 bool AudioEncoder::SetDtx(bool enable) { in SetDtx()
48 bool AudioEncoder::SetApplication(Application application) { in SetApplication()
52 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} in SetMaxPlaybackRate()
54 void AudioEncoder::SetProjectedPacketLossRate(double fraction) {} in SetProjectedPacketLossRate()
56 void AudioEncoder::SetTargetBitrate(int target_bps) {} in SetTargetBitrate()
Daudio_encoder.h24 class AudioEncoder {
51 virtual ~AudioEncoder() = default;
/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec.cc147 rtc::scoped_ptr<AudioEncoder> CreateEncoder( in CreateEncoder()
177 return rtc::scoped_ptr<AudioEncoder>(); in CreateEncoder()
180 rtc::scoped_ptr<AudioEncoder> CreateRedEncoder(AudioEncoder* encoder, in CreateRedEncoder()
186 return rtc::scoped_ptr<AudioEncoder>(new AudioEncoderCopyRed(config)); in CreateRedEncoder()
188 return rtc::scoped_ptr<AudioEncoder>(); in CreateRedEncoder()
192 rtc::scoped_ptr<AudioEncoder> CreateCngEncoder(AudioEncoder* encoder, in CreateCngEncoder()
215 return rtc::scoped_ptr<AudioEncoder>(new AudioEncoderCng(config)); in CreateCngEncoder()
235 AudioEncoder* RentACodec::RentEncoder(const CodecInst& codec_inst) { in RentEncoder()
236 rtc::scoped_ptr<AudioEncoder> enc = in RentEncoder()
254 AudioEncoder* RentACodec::RentEncoderStack(StackParameters* param) { in RentEncoderStack()
Drent_a_codec.h202 AudioEncoder* RentEncoder(const CodecInst& codec_inst);
208 AudioEncoder* speech_encoder = nullptr;
224 AudioEncoder* RentEncoderStack(StackParameters* param);
228 AudioEncoder* GetEncoderStack() const { return encoder_stack_; } in GetEncoderStack()
236 rtc::scoped_ptr<AudioEncoder> speech_encoder_;
237 rtc::scoped_ptr<AudioEncoder> cng_encoder_;
238 rtc::scoped_ptr<AudioEncoder> red_encoder_;
240 AudioEncoder* encoder_stack_ = nullptr;
Dcodec_manager.h27 class AudioEncoder; variable
40 static CodecInst ForgeCodecInst(const AudioEncoder* external_speech_encoder);
Drent_a_codec_unittest.cc46 AudioEncoder::EncodedInfo encoded_info; in EncodeAndVerify()
61 AudioEncoder* speech_encoder_ = nullptr;
62 AudioEncoder* encoder_ = nullptr;
119 AudioEncoder::EncodedInfo info; in TEST()
Dacm_send_test_oldapi.h23 class AudioEncoder; variable
45 bool RegisterExternalCodec(AudioEncoder* external_speech_encoder);
Daudio_coding_module_impl.cc74 const AudioEncoder::EncodedInfo& info, in ConvertEncodedInfoToFragmentationHeader()
129 AudioEncoder::EncodedInfo encoded_info; in Encode()
136 AudioEncoder* audio_encoder = rent_a_codec_.GetEncoderStack(); in Encode()
207 AudioEncoder* enc = in RegisterSendCodec()
219 AudioEncoder* external_speech_encoder) { in RegisterExternalSendCodec()
747 AudioEncoder::Application app; in SetOpusApplication()
750 app = AudioEncoder::Application::kSpeech; in SetOpusApplication()
753 app = AudioEncoder::Application::kAudio; in SetOpusApplication()
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.h26 class AudioEncoderCopyRed final : public AudioEncoder {
31 AudioEncoder* speech_encoder;
59 AudioEncoder* speech_encoder_;
Daudio_encoder_copy_red_unittest.cc77 AudioEncoder::EncodedInfo encoded_info_;
87 AudioEncoder::EncodedInfo Encode(uint32_t timestamp, in Encode()
99 AudioEncoder::EncodedInfo info_;
147 .WillRepeatedly(Return(AudioEncoder::EncodedInfo())); in TEST_F()
159 AudioEncoder::EncodedInfo info; in TEST_F()
193 AudioEncoder::EncodedInfo info; in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.h30 class AudioEncoderCng final : public AudioEncoder {
38 AudioEncoder* speech_encoder = nullptr;
80 AudioEncoder* speech_encoder_;
Daudio_encoder_cng.cc98 AudioEncoder::EncodedInfo AudioEncoderCng::EncodeInternal( in EncodeInternal()
203 AudioEncoder::EncodedInfo AudioEncoderCng::EncodePassive( in EncodePassive()
211 AudioEncoder::EncodedInfo info; in EncodePassive()
237 AudioEncoder::EncodedInfo AudioEncoderCng::EncodeActive( in EncodeActive()
242 AudioEncoder::EncodedInfo info; in EncodeActive()
Daudio_encoder_cng_unittest.cc90 AudioEncoder::EncodedInfo info; in ExpectEncodeCalls()
195 AudioEncoder::EncodedInfo encoded_info_;
376 AudioEncoder::EncodedInfo info; in TEST_F()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaRecorderFacade.java133 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in startVideoRecording()
138 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in startVideoRecording()
144 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in startVideoRecording()
186 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in startVideoRecording()
206 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in startAudioRecording()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus_unittest.cc47 EXPECT_TRUE(encoder_->SetApplication(AudioEncoder::Application::kSpeech)); in TEST_F()
60 EXPECT_TRUE(encoder_->SetApplication(AudioEncoder::Application::kSpeech)); in TEST_F()
Daudio_encoder_opus.h24 class AudioEncoderOpus final : public AudioEncoder {
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h31 class AudioEncoder; variable
208 AudioEncoder* external_speech_encoder) = 0;
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMediaRecorderTest.java37 …assertThat(shadowMediaRecorder.getAudioEncoder(), not(equalTo(MediaRecorder.AudioEncoder.AMR_NB))); in testAudioEncoder()
39 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in testAudioEncoder()
40 … assertThat(shadowMediaRecorder.getAudioEncoder(), equalTo(MediaRecorder.AudioEncoder.AMR_NB)); in testAudioEncoder()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc282 AudioEncoder::EncodedInfo encoded_info_;
284 rtc::scoped_ptr<AudioEncoder> audio_encoder_;
487 int SetAndGetTargetBitrate(AudioEncoder* audio_encoder, int rate) { in SetAndGetTargetBitrate()
491 void TestSetAndGetTargetBitratesWithFixedCodec(AudioEncoder* audio_encoder, in TestSetAndGetTargetBitratesWithFixedCodec()
626 void TestOpusSetTargetBitrates(AudioEncoder* audio_encoder) { in TestOpusSetTargetBitrates()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.h22 class AudioEncoderIlbc final : public AudioEncoder {
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h20 class MockAudioEncoder final : public AudioEncoder {
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t.h24 class AudioEncoderIsacT final : public AudioEncoder {
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.h23 class AudioEncoderG722 final : public AudioEncoder {
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Dneteq_pcmu_quality_test.cc67 AudioEncoder::EncodedInfo info; in EncodeBlock()
Dneteq_ilbc_quality_test.cc67 AudioEncoder::EncodedInfo info; in EncodeBlock()

12