Home
last modified time | relevance | path

Searched refs:CodecInst (Results 1 – 25 of 108) sorted by relevance

12345

/external/webrtc/webrtc/voice_engine/
Dvoe_codec_unittest.cc54 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 …]
Dvoe_codec_impl.h24 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;
Dtransmit_mixer.h107 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);
Dvoe_file_impl.h65 CodecInst* compression = NULL,
70 CodecInst* compression = NULL) override;
77 CodecInst* compression = NULL,
81 CodecInst* compression = NULL) override;
/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec.cc53 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 …]
Drent_a_codec.h37 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);
Dacm_codec_database.h61 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];
Dcodec_manager.h38 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_;
Dcodec_manager.cc25 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()
Dacm_receiver_unittest_oldapi.cc29 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()
Daudio_coding_module.cc45 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()
Dacm_codec_database.cc61 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/
Dmedia_file_impl.h45 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_;
Dmedia_file_utility.h64 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_;
Dmedia_file.h73 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/
Dvoe_codec.h58 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;
Dvoe_file.h115 CodecInst* compression = NULL,
123 CodecInst* compression = NULL) = 0;
127 CodecInst* compression = NULL,
132 CodecInst* compression = NULL) = 0;
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h28 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/
Dfile_recorder_impl.h52 const CodecInst& codecInst,
56 const CodecInst& codecInst,
60 virtual int32_t codec_info(CodecInst& codecInst) const;
66 const CodecInst& audioCodecInst,
87 CodecInst codec_info_;
Dcoder.cc32 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()
Dfile_player_impl.cc90 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()
Dfile_player_impl.h44 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/
Dfile_recorder.h41 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/
Dmock_voice_engine.h124 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/
DTestVADDTX.cc23 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()

12345