Home
last modified time | relevance | path

Searched refs:AudioCodingModule (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module.cc23 AudioCodingModule* AudioCodingModule::Create(int id) { in Create()
30 AudioCodingModule* AudioCodingModule::Create(int id, Clock* clock) { in Create()
37 AudioCodingModule* AudioCodingModule::Create(const Config& config) { in Create()
41 int AudioCodingModule::NumberOfCodecs() { in NumberOfCodecs()
45 int AudioCodingModule::Codec(int list_id, CodecInst* codec) { in Codec()
56 int AudioCodingModule::Codec(const char* payload_name, in Codec()
77 int AudioCodingModule::Codec(const char* payload_name, in Codec()
90 bool AudioCodingModule::IsCodecValid(const CodecInst& codec) { in IsCodecValid()
Dacm_receive_test_oldapi.h21 class AudioCodingModule; variable
64 rtc::scoped_ptr<AudioCodingModule> acm_;
Dacm_send_test_oldapi.h60 AudioCodingModule* acm() { return acm_.get(); } in acm()
71 rtc::scoped_ptr<AudioCodingModule> acm_;
/external/webrtc/webrtc/modules/audio_coding/test/
DTwoWayCommunication.h34 rtc::scoped_ptr<AudioCodingModule> _acmA;
35 rtc::scoped_ptr<AudioCodingModule> _acmB;
37 rtc::scoped_ptr<AudioCodingModule> _acmRefA;
38 rtc::scoped_ptr<AudioCodingModule> _acmRefB;
DAPITest.cc52 : _acmA(AudioCodingModule::Create(1)), in APITest()
53 _acmB(AudioCodingModule::Create(2)), in APITest()
133 AudioCodingModule::Codec(n, &dummyCodec); in SetUp()
153 AudioCodingModule::Codec(n + 1, &nextCodec); in SetUp()
164 AudioCodingModule::Codec(n + 1, &nextCodec); in SetUp()
190 AudioCodingModule::Codec((uint8_t) _codecCntrA, &dummyCodec); in SetUp()
194 AudioCodingModule::Codec((uint8_t) _codecCntrB, &dummyCodec); in SetUp()
663 AudioCodingModule* myACM; in TestDelay()
783 AudioCodingModule* sendACM; in TestRegisteration()
784 AudioCodingModule* receiveACM; in TestRegisteration()
[all …]
DTestAllCodecs.h29 void RegisterReceiverACM(AudioCodingModule* acm);
43 AudioCodingModule* receiver_acm_;
72 rtc::scoped_ptr<AudioCodingModule> acm_a_;
73 rtc::scoped_ptr<AudioCodingModule> acm_b_;
DTestStereo.h36 void RegisterReceiverACM(AudioCodingModule* acm);
52 AudioCodingModule* receiver_acm_;
85 rtc::scoped_ptr<AudioCodingModule> acm_a_;
86 rtc::scoped_ptr<AudioCodingModule> acm_b_;
DSpatialAudio.h36 rtc::scoped_ptr<AudioCodingModule> _acmLeft;
37 rtc::scoped_ptr<AudioCodingModule> _acmRight;
38 rtc::scoped_ptr<AudioCodingModule> _acmReceiver;
DEncodeDecodeTest.h50 void Setup(AudioCodingModule *acm, RTPStream *rtpStream,
61 AudioCodingModule* _acm;
73 void Setup(AudioCodingModule *acm, RTPStream *rtpStream,
92 AudioCodingModule* _acm;
DTwoWayCommunication.cc34 : _acmA(AudioCodingModule::Create(1)), in TwoWayCommunication()
35 _acmRefA(AudioCodingModule::Create(3)), in TwoWayCommunication()
37 AudioCodingModule::Config config; in TwoWayCommunication()
41 _acmB.reset(AudioCodingModule::Create(config)); in TwoWayCommunication()
43 _acmRefB.reset(AudioCodingModule::Create(config)); in TwoWayCommunication()
69 rtc::scoped_ptr<AudioCodingModule> tmpACM(AudioCodingModule::Create(0)); in ChooseCodec()
DPacketLossTest.cc27 void ReceiverWithPacketLoss::Setup(AudioCodingModule *acm, in Setup()
89 void SenderWithFEC::Setup(AudioCodingModule *acm, RTPStream *rtpStream, in Setup()
129 rtc::scoped_ptr<AudioCodingModule> acm(AudioCodingModule::Create(0)); in Perform()
DEncodeDecodeTest.cc54 void Sender::Setup(AudioCodingModule *acm, RTPStream *rtpStream, in Setup()
125 void Receiver::Setup(AudioCodingModule *acm, RTPStream *rtpStream, in Setup()
278 rtc::scoped_ptr<AudioCodingModule> acm(AudioCodingModule::Create(0)); in Perform()
334 rtc::scoped_ptr<AudioCodingModule> acm(AudioCodingModule::Create(1)); in EncodeToFile()
Ddelay_test.cc66 : acm_a_(AudioCodingModule::Create(0)), in DelayTest()
67 acm_b_(AudioCodingModule::Create(1)), in DelayTest()
147 ASSERT_EQ(0, AudioCodingModule::Codec( in SendCodec()
226 rtc::scoped_ptr<AudioCodingModule> acm_a_;
227 rtc::scoped_ptr<AudioCodingModule> acm_b_;
Dinsert_packet_with_timing.cc59 send_acm_(AudioCodingModule::Create(0, sender_clock_)), in InsertPacketWithTiming()
60 receive_acm_(AudioCodingModule::Create(0, receiver_clock_)), in InsertPacketWithTiming()
91 ASSERT_EQ(0, AudioCodingModule::Codec(FLAGS_codec.c_str(), &codec, in SetUp()
244 rtc::scoped_ptr<AudioCodingModule> send_acm_;
245 rtc::scoped_ptr<AudioCodingModule> receive_acm_;
Dutility.cc109 uint8_t noCodec = AudioCodingModule::NumberOfCodecs(); in ChooseCodec()
123 CHECK_ERROR(AudioCodingModule::Codec((uint8_t )codecID, &codecInst)); in ChooseCodec()
128 uint8_t noCodec = AudioCodingModule::NumberOfCodecs(); in PrintCodecs()
133 AudioCodingModule::Codec(codecCntr, &codecInst); in PrintCodecs()
DiSACTest.cc45 int16_t SetISAConfig(ACMTestISACConfig& isacConfig, AudioCodingModule* acm, in SetISAConfig()
72 : _acmA(AudioCodingModule::Create(1)), in ISACTest()
73 _acmB(AudioCodingModule::Create(2)), in ISACTest()
82 for (codecCntr = 0; codecCntr < AudioCodingModule::NumberOfCodecs(); in Setup()
84 EXPECT_EQ(0, AudioCodingModule::Codec(codecCntr, &codecParam)); in Setup()
DTestRedFec.h39 rtc::scoped_ptr<AudioCodingModule> _acmA;
40 rtc::scoped_ptr<AudioCodingModule> _acmB;
DTestAllCodecs.cc55 void TestPack::RegisterReceiverACM(AudioCodingModule* acm) { in RegisterReceiverACM()
108 : acm_a_(AudioCodingModule::Create(0)), in TestAllCodecs()
109 acm_b_(AudioCodingModule::Create(1)), in TestAllCodecs()
392 AudioCodingModule* my_acm = NULL; in RegisterSendCodec()
410 CHECK_ERROR(AudioCodingModule::Codec(codec_name, &my_codec_param, in RegisterSendCodec()
DiSACTest.h54 rtc::scoped_ptr<AudioCodingModule> _acmA;
55 rtc::scoped_ptr<AudioCodingModule> _acmB;
DPacketLossTest.h23 void Setup(AudioCodingModule *acm, RTPStream *rtpStream,
40 void Setup(AudioCodingModule *acm, RTPStream *rtpStream,
DTestVADDTX.h71 rtc::scoped_ptr<AudioCodingModule> acm_send_;
72 rtc::scoped_ptr<AudioCodingModule> acm_receive_;
DSpatialAudio.cc27 : _acmLeft(AudioCodingModule::Create(1)), in SpatialAudio()
28 _acmRight(AudioCodingModule::Create(2)), in SpatialAudio()
29 _acmReceiver(AudioCodingModule::Create(3)), in SpatialAudio()
Dtarget_delay_unittest.cc25 TargetDelayTest() : acm_(AudioCodingModule::Create(0)) {} in TargetDelayTest()
33 ASSERT_EQ(0, AudioCodingModule::Codec("L16", &codec, kSampleRateHz, 1)); in SetUp()
196 rtc::scoped_ptr<AudioCodingModule> acm_;
DAPITest.h85 rtc::scoped_ptr<AudioCodingModule> _acmA;
86 rtc::scoped_ptr<AudioCodingModule> _acmB;
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h58 class AudioCodingModule {
60 AudioCodingModule() {} in AudioCodingModule() function
82 static AudioCodingModule* Create(int id);
83 static AudioCodingModule* Create(int id, Clock* clock);
84 static AudioCodingModule* Create(const Config& config);
85 virtual ~AudioCodingModule() = default;

12