Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DSpatialAudio.cc68 CodecInst codecInst; in Setup() local
73 status = _acmReceiver->Codec(n, &codecInst); in Setup()
77 status = _acmReceiver->RegisterReceiveCodec(codecInst); in Setup()
80 codecInst.pltype); in Setup()
96 CodecInst codecInst; in Perform() local
97 _acmLeft->Codec((uint8_t) 1, &codecInst); in Perform()
98 CHECK_ERROR(_acmLeft->RegisterSendCodec(codecInst)); in Perform()
109 _acmLeft->Codec((uint8_t) 0, &codecInst); in Perform()
110 codecInst.pacsize = 480; in Perform()
111 CHECK_ERROR(_acmLeft->RegisterSendCodec(codecInst)); in Perform()
[all …]
Dutility.cc104 int16_t ChooseCodec(CodecInst& codecInst) { in ChooseCodec() argument
122 CHECK_ERROR(AudioCodingModule::Codec((uint8_t )codecID, &codecInst)); in ChooseCodec()
129 CodecInst codecInst; in PrintCodecs() local
132 AudioCodingModule::Codec(codecCntr, &codecInst); in PrintCodecs()
133 printf("%2d- %-18s %5d %6d\n", codecCntr, codecInst.plname, in PrintCodecs()
134 codecInst.plfreq, codecInst.rate); in PrintCodecs()
DChannel.cc280 int16_t Channel::Stats(CodecInst& codecInst, in Stats() argument
286 if (_payloadStats[n].payloadType == codecInst.pltype) { in Stats()
301 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq; in Stats()
356 void Channel::PrintStats(CodecInst& codecInst) { in PrintStats() argument
358 Stats(codecInst, payloadStats); in PrintStats()
359 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000); in PrintStats()
363 codecInst.pltype, codecInst.plname); in PrintStats()
379 * (double) codecInst.plfreq) in PrintStats()
DChannel.h63 int16_t Stats(CodecInst& codecInst, ACMTestPayloadStats& payloadStats);
69 void PrintStats(CodecInst& codecInst);
DTwoWayCommunication.cc65 CodecInst codecInst; in ChooseCodec() local
69 EXPECT_EQ(tmpACM->Codec(codecCntr, &codecInst), 0); in ChooseCodec()
70 printf("%d- %s\n", codecCntr, codecInst.plname); in ChooseCodec()
Dutility.h112 int16_t ChooseCodec(CodecInst& codecInst);
/external/chromium_org/third_party/webrtc/modules/media_file/source/
Dmedia_file_impl.cc372 const CodecInst* codecInst, in StartPlayingAudioFile() argument
378 format, codecInst, startPointMs, stopPointMs); in StartPlayingAudioFile()
401 const CodecInst* codecInst, in StartPlayingFile() argument
410 if(!ValidFileFormat(format,codecInst)) in StartPlayingFile()
454 format, codecInst, startPointMs, stopPointMs, in StartPlayingFile()
476 const CodecInst* codecInst, in StartPlayingAudioStream() argument
481 codecInst, startPointMs, stopPointMs); in StartPlayingAudioStream()
490 const CodecInst* codecInst, in StartPlayingStream() argument
495 if(!ValidFileFormat(format,codecInst)) in StartPlayingStream()
569 assert(codecInst != NULL); in StartPlayingStream()
[all …]
Dmedia_file_impl.h46 const CodecInst* codecInst = NULL,
55 const CodecInst* codecInst = NULL,
68 const CodecInst& codecInst,
74 const CodecInst& codecInst,
80 const CodecInst& codecInst,
92 virtual int32_t codec_info(CodecInst& codecInst) const OVERRIDE;
93 virtual int32_t VideoCodecInst(VideoCodec& codecInst) const OVERRIDE;
98 const CodecInst* codecInst);
126 const CodecInst* codecInst = NULL,
150 const CodecInst* codecInst = NULL,
[all …]
Dmedia_file_utility.cc415 int32_t ModuleFileUtility::VideoCodecInst(VideoCodec& codecInst) in VideoCodecInst() argument
418 "ModuleFileUtility::CodecInst(codecInst= 0x%x)", &codecInst); in VideoCodecInst()
426 memcpy(&codecInst,&_videoCodec,sizeof(VideoCodec)); in VideoCodecInst()
1034 const CodecInst& codecInst) in InitWavWriting() argument
1037 if(set_codec_info(codecInst) != 0) in InitWavWriting()
1044 uint32_t channels = (codecInst.channels == 0) ? in InitWavWriting()
1045 1 : codecInst.channels; in InitWavWriting()
1047 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in InitWavWriting()
1055 }else if(STR_CASE_CMP(codecInst.plname, "PCMA") == 0) in InitWavWriting()
1064 else if(STR_CASE_CMP(codecInst.plname, "L16") == 0) in InitWavWriting()
[all …]
Dmedia_file_utility.h59 const CodecInst& codecInst,
84 int32_t VideoCodecInst(VideoCodec& codecInst);
120 int32_t InitWavWriting(OutStream& stream, const CodecInst& codecInst);
183 const CodecInst& codecInst);
197 const CodecInst& codecInst);
209 const CodecInst& codecInst);
231 int32_t codec_info(CodecInst& codecInst);
266 int32_t set_codec_info(const CodecInst& codecInst);
/external/chromium_org/third_party/webrtc/voice_engine/
Dtransmit_mixer.cc506 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument
554 (const CodecInst*) codecInst) != 0) in StartPlayingFileAsMicrophone()
576 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument
630 (const CodecInst*) codecInst) != 0) in StartPlayingFileAsMicrophone()
685 const CodecInst* codecInst) in StartRecordingMicrophone() argument
704 if (codecInst != NULL && in StartRecordingMicrophone()
705 (codecInst->channels < 0 || codecInst->channels > 2)) in StartRecordingMicrophone()
712 if (codecInst == NULL) in StartRecordingMicrophone()
715 codecInst = &dummyCodec; in StartRecordingMicrophone()
716 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone()
[all …]
Doutput_mixer.cc301 const CodecInst* codecInst) in StartRecordingPlayout() argument
317 if ((codecInst != NULL) && in StartRecordingPlayout()
318 ((codecInst->channels < 1) || (codecInst->channels > 2))) in StartRecordingPlayout()
325 if(codecInst == NULL) in StartRecordingPlayout()
328 codecInst=&dummyCodec; in StartRecordingPlayout()
330 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
331 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
332 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
364 (const CodecInst&)*codecInst, in StartRecordingPlayout()
382 const CodecInst* codecInst) in StartRecordingPlayout() argument
[all …]
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);
Doutput_mixer.h81 const CodecInst* codecInst);
84 const CodecInst* codecInst);
Dchannel.cc1913 const CodecInst* codecInst) in StartPlayingFileLocally() argument
1959 (const CodecInst*)codecInst) != 0) in StartPlayingFileLocally()
1984 const CodecInst* codecInst) in StartPlayingFileLocally() argument
2037 stopPosition, codecInst) != 0) in StartPlayingFileLocally()
2145 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument
2192 (const CodecInst*)codecInst) != 0) in StartPlayingFileAsMicrophone()
2213 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument
2262 stopPosition, codecInst) != 0) in StartPlayingFileAsMicrophone()
2317 const CodecInst* codecInst) in StartRecordingPlayout() argument
2333 if ((codecInst != NULL) && in StartRecordingPlayout()
[all …]
Dchannel.h229 const CodecInst* codecInst);
234 const CodecInst* codecInst);
243 const CodecInst* codecInst);
249 const CodecInst* codecInst);
252 int StartRecordingPlayout(const char* fileName, const CodecInst* codecInst);
253 int StartRecordingPlayout(OutStream* stream, const CodecInst* codecInst);
/external/chromium_org/third_party/webrtc/modules/media_file/interface/
Dmedia_file.h84 const CodecInst* codecInst = NULL,
113 const CodecInst* codecInst = NULL,
159 const CodecInst& codecInst,
171 const CodecInst& codecInst,
186 const CodecInst& codecInst,
216 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dcoder.cc33 int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst, in SetEncodeCodec() argument
36 if(_acm->RegisterSendCodec((CodecInst&)codecInst) == -1) in SetEncodeCodec()
43 int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst, in SetDecodeCodec() argument
46 if(_acm->RegisterReceiveCodec((CodecInst&)codecInst) == -1) in SetDecodeCodec()
50 memcpy(&_receiveCodec,&codecInst,sizeof(CodecInst)); in SetDecodeCodec()
Dfile_recorder_impl.cc89 const CodecInst& codecInst, in StartRecordingAudioFile() argument
97 codec_info_ = codecInst; in StartRecordingAudioFile()
106 codecInst, in StartRecordingAudioFile()
129 const CodecInst& codecInst, in StartRecordingAudioFile() argument
133 codec_info_ = codecInst; in StartRecordingAudioFile()
139 codecInst, in StartRecordingAudioFile()
300 int32_t FileRecorderImpl::codec_info(CodecInst& codecInst) const in codec_info()
306 codecInst = codec_info_; in codec_info()
Dcoder.h29 const CodecInst& codecInst,
33 const CodecInst& codecInst,
Dfile_recorder_impl.h58 const CodecInst& codecInst,
63 const CodecInst& codecInst,
68 virtual int32_t codec_info(CodecInst& codecInst) const;
Dfile_player_impl.h47 const CodecInst* codecInst = NULL);
54 const CodecInst* codecInst = NULL);
Dfile_player_impl.cc223 const CodecInst* codecInst) in StartPlayingFile() argument
271 _fileFormat, codecInst) == -1) in StartPlayingFile()
304 const CodecInst* codecInst) in StartPlayingFile() argument
351 _fileFormat, codecInst) == -1) in StartPlayingFile()
/external/chromium_org/third_party/webrtc/modules/utility/interface/
Dfile_recorder.h43 const CodecInst& codecInst,
49 const CodecInst& codecInst,
61 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
Dfile_player.h58 const CodecInst* codecInst = NULL) = 0;
67 const CodecInst* codecInst = NULL) = 0;