Home
last modified time | relevance | path

Searched refs:pltype (Results 1 – 25 of 46) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receive_test_oldapi.cc59 int* pltype) { in RemapPltypeAndUseThisCodec() argument
65 *pltype = 0; in RemapPltypeAndUseThisCodec()
67 *pltype = 8; in RemapPltypeAndUseThisCodec()
69 *pltype = 13; in RemapPltypeAndUseThisCodec()
71 *pltype = 98; in RemapPltypeAndUseThisCodec()
73 *pltype = 99; in RemapPltypeAndUseThisCodec()
75 *pltype = 102; in RemapPltypeAndUseThisCodec()
77 *pltype = 103; in RemapPltypeAndUseThisCodec()
79 *pltype = 104; in RemapPltypeAndUseThisCodec()
81 *pltype = 106; in RemapPltypeAndUseThisCodec()
[all …]
Dacm_receiver_unittest_oldapi.cc32 codec_a.pltype != codec_b.pltype || in CodecsEqual()
121 0, receiver_->AddCodec(*i, codecs_[*i].pltype, codecs_[*i].channels, in AddSetOfCodecs()
176 receiver_->AddCodec(n, codecs_[n].pltype, codecs_[n].channels, in TEST_F()
184 EXPECT_EQ(0, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
189 EXPECT_EQ(-1, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
203 ++codec2.pltype; in TEST_F()
207 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, in TEST_F()
210 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec2.pltype, codec2.channels, in TEST_F()
215 receiver_->DecoderByPayloadType(codec1.inst.pltype, &test_codec)); in TEST_F()
217 EXPECT_EQ(0, receiver_->DecoderByPayloadType(codec2.pltype, &test_codec)); in TEST_F()
[all …]
Daudio_coding_module_impl.cc561 static_cast<uint8_t>(db[i].pltype), 1, in InitializeReceiverSafe()
607 if (!RentACodec::IsPayloadTypeValid(codec.pltype)) { in RegisterReceiveCodec()
608 LOG_F(LS_ERROR) << "Invalid payload type " << codec.pltype << " for " in RegisterReceiveCodec()
616 *codec_index, codec.pltype, codec.channels, codec.plfreq, in RegisterReceiveCodec()
Drent_a_codec.cc122 (*pt_map)[codec_inst.plfreq] = codec_inst.pltype; in RegisterCngPayloadType()
136 (*pt_map)[codec_inst.plfreq] = codec_inst.pltype; in RegisterRedPayloadType()
Daudio_coding_module.cc69 codec->pltype = -1; in Codec()
Daudio_coding_module_unittest_oldapi.cc187 codec_.pltype = kPayloadType; in SetUpL16Codec()
379 codec.pltype = rtp_payload_type; in RegisterCngCodec()
639 codec_.pltype = kPayloadType; in RegisterCodec()
748 codec_.pltype = kPayloadType; in RegisterCodec()
1634 codec_inst.pltype = 0; in TEST_F()
1665 SetUpTestExternalEncoder(&mock_encoder, codec_inst.pltype)); in TEST_F()
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dcodec_before_streaming_test.cc52 codec_instance_.pltype = 123; in TEST_F()
55 EXPECT_EQ(123, codec_instance_.pltype); in TEST_F()
57 codec_instance_.pltype = 104; in TEST_F()
61 EXPECT_EQ(104, codec_instance_.pltype); in TEST_F()
71 int original_pltype = codec_instance_.pltype; in TEST_F()
72 codec_instance_.pltype = 123; in TEST_F()
76 EXPECT_EQ(123, codec_instance_.pltype); in TEST_F()
78 codec_instance_.pltype = original_pltype; in TEST_F()
82 EXPECT_EQ(original_pltype, codec_instance_.pltype); in TEST_F()
Ddtmf_test.cc66 codec_instance.pltype = 88; // Use 88 instead of default 106. in TEST_F()
82 channel_, codec_instance.pltype)); in TEST_F()
Dcodec_test.cc56 EXPECT_EQ(0, codec_instance_.pltype); in TEST_F()
211 EXPECT_NE(-1, codec_instance_.pltype) << in TEST_F()
216 codec_instance_.plname, codec_instance_.pltype, in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc181 voice_codec.pltype = 96; in TEST_F()
188 voice_codec.pltype, in TEST_F()
196 voice_codec.pltype, in TEST_F()
214 voice_codec.pltype = 96; in TEST_F()
221 voice_codec.pltype, in TEST_F()
229 voice_codec.pltype, in TEST_F()
238 voice_codec.pltype = 127; in TEST_F()
242 EXPECT_EQ(0, module1->SetSendREDPayloadType(voice_codec.pltype)); in TEST_F()
245 EXPECT_EQ(voice_codec.pltype, red); in TEST_F()
248 voice_codec.pltype, in TEST_F()
[all …]
Dtest_api_rtcp.cc140 voice_codec.pltype = 96; in SetUp()
148 voice_codec.pltype, in SetUp()
155 voice_codec.pltype, in SetUp()
/external/webrtc/webrtc/modules/audio_coding/test/
DAPITest.cc143 int currentPayloadType = dummyCodec.pltype; in SetUp()
144 dummyCodec.pltype = 97; //lastPayloadType; in SetUp()
146 dummyCodec.pltype = currentPayloadType; in SetUp()
152 int currentPayloadType = dummyCodec.pltype; in SetUp()
154 dummyCodec.pltype = nextCodec.pltype; in SetUp()
158 dummyCodec.pltype = currentPayloadType; in SetUp()
165 nextCodec.pltype = dummyCodec.pltype; in SetUp()
168 CHECK_ERROR_MT(_acmA->UnregisterReceiveCodec(nextCodec.pltype)); in SetUp()
181 lastPayloadType = dummyCodec.pltype; in SetUp()
832 CHECK_ERROR_MT(receiveACM->UnregisterReceiveCodec(myCodec->pltype)); in TestRegisteration()
[all …]
/external/webrtc/webrtc/voice_engine/
Dvoe_codec_unittest.cc79 red_payload_type_ = my_codec.pltype; in SetUp()
108 codec1.pltype = 101; in TEST()
120 codec2.pltype = 102; in TEST()
Dchannel.cc432 receiveCodec.pltype = payloadType; in OnInitializeDecoder()
1075 codec.pltype, in Init()
1084 codec.plname, codec.pltype, codec.plfreq, in Init()
1093 codec.plname, codec.pltype, codec.plfreq, in Init()
1113 codec.pltype, codec.plfreq); in Init()
1127 codec.pltype, codec.plfreq); in Init()
1141 codec.pltype, codec.plfreq); in Init()
1404 _rtpRtcpModule->DeRegisterSendPayload(codec.pltype); in SetSendCodec()
1495 if (codec.pltype == -1) in SetRecPayloadType()
1499 int8_t pltype(-1); in SetRecPayloadType() local
[all …]
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc66 codec_info_.pltype = -1; in ModuleFileUtility()
260 codec_info_.pltype = -1; in InitWavCodec()
271 codec_info_.pltype = 8; in InitWavCodec()
277 codec_info_.pltype = 0; in InitWavCodec()
937 codec_info_.pltype = 102; in InitCompressedReading()
961 codec_info_.pltype = 102; in InitCompressedReading()
1154 codec_info_.pltype = -1; in InitPCMReading()
1164 codec_info_.pltype = -1; in InitPCMReading()
1174 codec_info_.pltype = -1; in InitPCMReading()
1286 codec_info_.pltype = -1; in InitPCMWriting()
[all …]
Dmedia_file_impl.cc579 codec_info_.pltype = 0; in StopPlaying()
966 codec_info_.pltype = 0; in StopRecording()
1065 if (codec_info_.pltype == 0 && codec_info_.plname[0] == '\0') in codec_info()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc452 EXPECT_EQ(codec.id, codec_inst.pltype); in TEST_F()
457 EXPECT_EQ(codec.id, codec_inst.pltype); in TEST_F()
463 EXPECT_EQ(codec.id, codec_inst.pltype); in TEST_F()
469 EXPECT_EQ(codec.id, codec_inst.pltype); in TEST_F()
491 EXPECT_EQ(106, gcodec.pltype); in TEST_F()
496 EXPECT_EQ(126, gcodec.pltype); in TEST_F()
534 EXPECT_EQ(111, opus.pltype); in TEST_F()
536 opus.pltype = 0; in TEST_F()
538 EXPECT_EQ(111, opus.pltype); in TEST_F()
557 EXPECT_EQ(111, opus.pltype); in TEST_F()
[all …]
Dfakewebrtcvoiceengine.h428 if (codec.pltype != -1) {
431 if (it->pltype == codec.pltype &&
444 it->pltype = codec.pltype;
468 it->pltype != -1) {
469 codec.pltype = it->pltype;
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc134 if (FLAGS_pt == codec_params.pltype) { in SetUp()
180 printf("%d %s/%d/%" PRIuS "\n", params.pltype, params.plname, in PrintCodecs()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc218 codecInstL16.pltype = 93; in StartPlayingFile()
299 codecInstL16.pltype = 93; in StartPlayingFile()
Dcoder.cc58 const uint8_t payloadType = _receiveCodec.pltype; in Decode()
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
Daudio_encoder_pcm16b.cc36 config.payload_type = codec_inst.pltype; in CreateConfig()
/external/webrtc/webrtc/
Dcommon_types.h290 int pltype; member
298 return pltype == other.pltype &&
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/
Dbefore_streaming_fixture.cc71 codec.pltype = 0; in SetUpLocalPlayback()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_cpu_test.cc57 isac.pltype = 104; in DoTest()

12