/external/webrtc/webrtc/voice_engine/ |
D | voe_codec_unittest.cc | 54 CodecInst my_codec; in SetUp() 94 CodecInst primary_; 95 CodecInst valid_secondary_; 99 CodecInst invalid_secondary_; 104 CodecInst codec1, codec2; in TEST() 105 memset(&codec1, 0, sizeof(CodecInst)); in TEST() 106 memset(&codec2, 0, sizeof(CodecInst)); in TEST() 114 memcpy(&codec2, &codec1, sizeof(CodecInst)); in TEST() 125 memcpy(&codec2, &codec1, sizeof(CodecInst)); in TEST() 135 memcpy(&codec2, &codec1, sizeof(CodecInst)); in TEST() [all …]
|
D | voe_codec_impl.h | 24 int GetCodec(int index, CodecInst& codec) override; 26 int SetSendCodec(int channel, const CodecInst& codec) override; 28 int GetSendCodec(int channel, CodecInst& codec) override; 32 int GetRecCodec(int channel, CodecInst& codec) override; 39 int SetRecPayloadType(int channel, const CodecInst& codec) override; 41 int GetRecPayloadType(int channel, CodecInst& codec) override;
|
D | transmit_mixer.h | 107 const CodecInst* codecInst); 114 const CodecInst* codecInst); 121 const CodecInst* codecInst); 124 const CodecInst* codecInst); 128 int StartRecordingCall(const char* fileName, const CodecInst* codecInst); 130 int StartRecordingCall(OutStream* stream, const CodecInst* codecInst);
|
D | voe_file_impl.h | 65 CodecInst* compression = NULL, 70 CodecInst* compression = NULL) override; 77 CodecInst* compression = NULL, 81 CodecInst* compression = NULL) override;
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | rent_a_codec.cc | 53 rtc::Optional<CodecInst> RentACodec::CodecInstById(CodecId codec_id) { in CodecInstById() 55 return mi ? rtc::Optional<CodecInst>(Database()[*mi]) in CodecInstById() 56 : rtc::Optional<CodecInst>(); in CodecInstById() 60 const CodecInst& codec_inst) { in CodecIdByInst() 64 rtc::Optional<CodecInst> RentACodec::CodecInstByParams(const char* payload_name, in CodecInstByParams() 70 return rtc::Optional<CodecInst>(); in CodecInstByParams() 71 rtc::Optional<CodecInst> ci = CodecInstById(*codec_id); in CodecInstByParams() 81 bool RentACodec::IsCodecValid(const CodecInst& codec_inst) { in IsCodecValid() 94 rtc::ArrayView<const CodecInst> RentACodec::Database() { in Database() 95 return rtc::ArrayView<const CodecInst>(ACMCodecDB::database_, in Database() [all …]
|
D | rent_a_codec.h | 37 struct CodecInst; 166 static rtc::Optional<CodecInst> CodecInstById(CodecId codec_id); 167 static rtc::Optional<CodecId> CodecIdByInst(const CodecInst& codec_inst); 168 static rtc::Optional<CodecInst> CodecInstByParams(const char* payload_name, 171 static bool IsCodecValid(const CodecInst& codec_inst); 177 static rtc::ArrayView<const CodecInst> Database(); 192 const CodecInst& codec_inst); 194 const CodecInst& codec_inst); 202 AudioEncoder* RentEncoder(const CodecInst& codec_inst);
|
D | acm_codec_database.h | 61 static int CodecNumber(const CodecInst& codec_inst); 62 static int CodecId(const CodecInst& codec_inst); 64 static int ReceiverCodecNumber(const CodecInst& codec_inst); 74 static const CodecInst database_[kMaxNumCodecs];
|
D | codec_manager.h | 38 bool RegisterEncoder(const CodecInst& send_codec); 40 static CodecInst ForgeCodecInst(const AudioEncoder* external_speech_encoder); 42 const CodecInst* GetCodecInst() const { in GetCodecInst() 58 rtc::Optional<CodecInst> send_codec_inst_;
|
D | codec_manager.cc | 25 int IsValidSendCodec(const CodecInst& send_codec) { in IsValidSendCodec() 59 bool IsOpus(const CodecInst& codec) { in IsOpus() 75 bool CodecManager::RegisterEncoder(const CodecInst& send_codec) { in RegisterEncoder() 115 send_codec_inst_ = rtc::Optional<CodecInst>(send_codec); in RegisterEncoder() 120 CodecInst CodecManager::ForgeCodecInst( in ForgeCodecInst() 122 CodecInst ci; in ForgeCodecInst()
|
D | acm_receiver_unittest_oldapi.cc | 29 bool CodecsEqual(const CodecInst& codec_a, const CodecInst& codec_b) { in CodecsEqual() 48 CodecInst inst; 89 CodecInst codec = in InsertOnePacketOfSilence() 157 rtc::ArrayView<const CodecInst> codecs_; 181 CodecInst my_codec; in TEST_F() 202 CodecInst codec2 = codec1.inst; in TEST_F() 204 CodecInst test_codec; in TEST_F() 230 CodecInst test_codec; in TEST_F() 265 CodecInst ci; in TEST_F() 347 CodecInst codec; in TEST_F()
|
D | audio_coding_module.cc | 45 int AudioCodingModule::Codec(int list_id, CodecInst* codec) { in Codec() 57 CodecInst* codec, in Codec() 60 rtc::Optional<CodecInst> ci = acm2::RentACodec::CodecInstByParams( in Codec() 90 bool AudioCodingModule::IsCodecValid(const CodecInst& codec) { in IsCodecValid()
|
D | acm_codec_database.cc | 61 const CodecInst ACMCodecDB::database_[] = { 223 int ACMCodecDB::CodecNumber(const CodecInst& codec_inst) { in CodecNumber() 290 int ACMCodecDB::CodecId(const CodecInst& codec_inst) { in CodecId() 298 for (const CodecInst& ci : RentACodec::Database()) { in CodecId() 326 int ACMCodecDB::ReceiverCodecNumber(const CodecInst& codec_inst) { in ReceiverCodecNumber()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_impl.h | 45 const CodecInst* codecInst = NULL, 53 const CodecInst* codecInst = NULL, 68 const CodecInst& codecInst, 75 const CodecInst& codecInst, 93 int32_t codec_info(CodecInst& codecInst) const override; 98 const CodecInst* codecInst); 118 const CodecInst* codecInst, 127 CodecInst codec_info_;
|
D | media_file_utility.h | 64 int32_t InitWavWriting(OutStream& stream, const CodecInst& codecInst); 127 const CodecInst& codecInst); 141 const CodecInst& codecInst); 153 const CodecInst& codecInst); 175 int32_t codec_info(CodecInst& codecInst); 210 int32_t set_codec_info(const CodecInst& codecInst); 269 CodecInst codec_info_;
|
D | media_file.h | 73 const CodecInst* codecInst = NULL, 92 const CodecInst* codecInst = NULL, 128 const CodecInst& codecInst, 143 const CodecInst& codecInst, 173 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
|
/external/webrtc/webrtc/voice_engine/include/ |
D | voe_codec.h | 58 virtual int GetCodec(int index, CodecInst& codec) = 0; 61 virtual int SetSendCodec(int channel, const CodecInst& codec) = 0; 65 virtual int GetSendCodec(int channel, CodecInst& codec) = 0; 74 virtual int GetRecCodec(int channel, CodecInst& codec) = 0; 82 virtual int SetRecPayloadType(int channel, const CodecInst& codec) = 0; 87 virtual int GetRecPayloadType(int channel, CodecInst& codec) = 0;
|
D | voe_file.h | 115 CodecInst* compression = NULL, 123 CodecInst* compression = NULL) = 0; 127 CodecInst* compression = NULL, 132 CodecInst* compression = NULL) = 0;
|
/external/webrtc/webrtc/modules/audio_coding/include/ |
D | audio_coding_module.h | 28 struct CodecInst; 115 static int Codec(int list_id, CodecInst* codec); 136 static int Codec(const char* payload_name, CodecInst* codec, 170 static bool IsCodecValid(const CodecInst& codec); 203 virtual int32_t RegisterSendCodec(const CodecInst& send_codec) = 0; 217 virtual rtc::Optional<CodecInst> SendCodec() const = 0; 473 virtual int RegisterReceiveCodec(const CodecInst& receive_codec) = 0; 513 virtual int32_t ReceiveCodec(CodecInst* curr_receive_codec) const = 0;
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_recorder_impl.h | 52 const CodecInst& codecInst, 56 const CodecInst& codecInst, 60 virtual int32_t codec_info(CodecInst& codecInst) const; 66 const CodecInst& audioCodecInst, 87 CodecInst codec_info_;
|
D | coder.cc | 32 int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst) in SetEncodeCodec() 34 if(_acm->RegisterSendCodec((CodecInst&)codecInst) == -1) in SetEncodeCodec() 41 int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst) in SetDecodeCodec() 43 if(_acm->RegisterReceiveCodec((CodecInst&)codecInst) == -1) in SetDecodeCodec() 47 memcpy(&_receiveCodec,&codecInst,sizeof(CodecInst)); in SetDecodeCodec()
|
D | file_player_impl.cc | 90 int32_t FilePlayerImpl::AudioCodec(CodecInst& audioCodec) const in AudioCodec() 210 const CodecInst* codecInst) in StartPlayingFile() 216 CodecInst codecInstL16; in StartPlayingFile() 266 CodecInst* no_inst = NULL; in StartPlayingFile() 291 const CodecInst* codecInst) in StartPlayingFile() 297 CodecInst codecInstL16; in StartPlayingFile() 345 CodecInst* no_inst = NULL; in StartPlayingFile() 368 memset(&_codec, 0, sizeof(CodecInst)); in StopPlayingFile()
|
D | file_player_impl.h | 44 const CodecInst* codecInst = NULL); 51 const CodecInst* codecInst = NULL); 55 virtual int32_t AudioCodec(CodecInst& audioCodec) const; 71 CodecInst _codec;
|
/external/webrtc/webrtc/modules/utility/include/ |
D | file_recorder.h | 41 const CodecInst& codecInst, 46 const CodecInst& codecInst, 57 virtual int32_t codec_info(CodecInst& codecInst) const = 0; 72 const CodecInst& audioCodecInst,
|
/external/webrtc/webrtc/test/ |
D | mock_voice_engine.h | 124 MOCK_METHOD2(GetCodec, int(int index, CodecInst& codec)); 125 MOCK_METHOD2(SetSendCodec, int(int channel, const CodecInst& codec)); 126 MOCK_METHOD2(GetSendCodec, int(int channel, CodecInst& codec)); 128 MOCK_METHOD2(GetRecCodec, int(int channel, CodecInst& codec)); 129 MOCK_METHOD2(SetRecPayloadType, int(int channel, const CodecInst& codec)); 130 MOCK_METHOD2(GetRecPayloadType, int(int channel, CodecInst& codec)); 207 CodecInst* compression, 211 int(int channel, OutStream* stream, CodecInst* compression)); 214 CodecInst* compression, 217 int(OutStream* stream, CodecInst* compression));
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | TestVADDTX.cc | 23 const CodecInst kIsacWb = {103, "ISAC", 16000, 480, 1, 32000}; 24 const CodecInst kIsacSwb = {104, "ISAC", 32000, 960, 1, 56000}; 28 const CodecInst kIlbc = {102, "ILBC", 8000, 240, 1, 13300}; 32 const CodecInst kOpus = {120, "opus", 48000, 960, 1, 64000}; 33 const CodecInst kOpusStereo = {120, "opus", 48000, 960, 2, 64000}; 73 void TestVadDtx::RegisterCodec(CodecInst codec_param) { in RegisterCodec()
|