/external/webrtc/webrtc/modules/audio_coding/test/ |
D | SpatialAudio.cc | 68 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 …]
|
D | utility.cc | 105 int16_t ChooseCodec(CodecInst& codecInst) { in ChooseCodec() argument 123 CHECK_ERROR(AudioCodingModule::Codec((uint8_t )codecID, &codecInst)); in ChooseCodec() 130 CodecInst codecInst; in PrintCodecs() local 133 AudioCodingModule::Codec(codecCntr, &codecInst); in PrintCodecs() 134 printf("%2d- %-18s %5d %6d\n", codecCntr, codecInst.plname, in PrintCodecs() 135 codecInst.plfreq, codecInst.rate); in PrintCodecs()
|
D | Channel.cc | 297 int16_t Channel::Stats(CodecInst& codecInst, in Stats() argument 303 if (_payloadStats[n].payloadType == codecInst.pltype) { in Stats() 318 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq; in Stats() 373 void Channel::PrintStats(CodecInst& codecInst) { in PrintStats() argument 375 Stats(codecInst, payloadStats); in PrintStats() 376 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000); in PrintStats() 380 codecInst.pltype, codecInst.plname); in PrintStats() 396 * (double) codecInst.plfreq) in PrintStats()
|
D | Channel.h | 64 int16_t Stats(CodecInst& codecInst, ACMTestPayloadStats& payloadStats); 70 void PrintStats(CodecInst& codecInst);
|
D | TwoWayCommunication.cc | 71 CodecInst codecInst; in ChooseCodec() local 75 EXPECT_EQ(tmpACM->Codec(codecCntr, &codecInst), 0); in ChooseCodec() 76 printf("%d- %s\n", codecCntr, codecInst.plname); in ChooseCodec()
|
D | utility.h | 112 int16_t ChooseCodec(CodecInst& codecInst);
|
/external/webrtc/webrtc/voice_engine/ |
D | transmit_mixer.cc | 507 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument 555 (const CodecInst*) codecInst) != 0) in StartPlayingFileAsMicrophone() 577 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument 631 (const CodecInst*) codecInst) != 0) in StartPlayingFileAsMicrophone() 683 const CodecInst* codecInst) in StartRecordingMicrophone() argument 702 if (codecInst != NULL && codecInst->channels > 2) in StartRecordingMicrophone() 709 if (codecInst == NULL) in StartRecordingMicrophone() 712 codecInst = &dummyCodec; in StartRecordingMicrophone() 713 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone() 714 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone() [all …]
|
D | output_mixer.cc | 277 const CodecInst* codecInst) in StartRecordingPlayout() argument 293 if ((codecInst != NULL) && in StartRecordingPlayout() 294 ((codecInst->channels < 1) || (codecInst->channels > 2))) in StartRecordingPlayout() 301 if(codecInst == NULL) in StartRecordingPlayout() 304 codecInst=&dummyCodec; in StartRecordingPlayout() 306 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout() 307 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout() 308 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout() 340 (const CodecInst&)*codecInst, in StartRecordingPlayout() 358 const CodecInst* codecInst) in StartRecordingPlayout() argument [all …]
|
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 | channel.cc | 1842 const CodecInst* codecInst) in StartPlayingFileLocally() argument 1888 (const CodecInst*)codecInst) != 0) in StartPlayingFileLocally() 1913 const CodecInst* codecInst) in StartPlayingFileLocally() argument 1966 stopPosition, codecInst) != 0) in StartPlayingFileLocally() 2068 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument 2115 (const CodecInst*)codecInst) != 0) in StartPlayingFileAsMicrophone() 2136 const CodecInst* codecInst) in StartPlayingFileAsMicrophone() argument 2185 stopPosition, codecInst) != 0) in StartPlayingFileAsMicrophone() 2235 const CodecInst* codecInst) in StartRecordingPlayout() argument 2251 if ((codecInst != NULL) && in StartRecordingPlayout() [all …]
|
D | channel.h | 237 const CodecInst* codecInst); 242 const CodecInst* codecInst); 251 const CodecInst* codecInst); 257 const CodecInst* codecInst); 260 int StartRecordingPlayout(const char* fileName, const CodecInst* codecInst); 261 int StartRecordingPlayout(OutStream* stream, const CodecInst* codecInst);
|
D | output_mixer.h | 80 const CodecInst* codecInst); 83 const CodecInst* codecInst);
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_impl.cc | 338 const CodecInst* codecInst, in StartPlayingAudioFile() argument 346 if(!ValidFileFormat(format,codecInst)) in StartPlayingAudioFile() 385 format, codecInst, startPointMs, stopPointMs) == -1) in StartPlayingAudioFile() 403 const CodecInst* codecInst, in StartPlayingAudioStream() argument 408 codecInst, startPointMs, stopPointMs); in StartPlayingAudioStream() 416 const CodecInst* codecInst, in StartPlayingStream() argument 420 if(!ValidFileFormat(format,codecInst)) in StartPlayingStream() 494 assert(codecInst != NULL); in StartPlayingStream() 495 if(!ValidFrequency(codecInst->plfreq) || in StartPlayingStream() 498 codecInst->plfreq) == -1) in StartPlayingStream() [all …]
|
D | media_file_utility.cc | 656 const CodecInst& codecInst) in InitWavWriting() argument 659 if(set_codec_info(codecInst) != 0) in InitWavWriting() 666 size_t channels = (codecInst.channels == 0) ? 1 : codecInst.channels; in InitWavWriting() 668 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in InitWavWriting() 677 else if(STR_CASE_CMP(codecInst.plname, "PCMA") == 0) in InitWavWriting() 686 else if(STR_CASE_CMP(codecInst.plname, "L16") == 0) in InitWavWriting() 689 if(WriteWavHeader(wav, codecInst.plfreq, _bytesPerSample, channels, in InitWavWriting() 853 const CodecInst& codecInst) in InitPreEncodedWriting() argument 856 if(set_codec_info(codecInst) != 0) in InitPreEncodedWriting() 1075 const CodecInst& codecInst) in InitCompressedWriting() argument [all …]
|
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,
|
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;
|
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);
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_recorder_impl.cc | 63 const CodecInst& codecInst, in StartRecordingAudioFile() argument 70 codec_info_ = codecInst; in StartRecordingAudioFile() 73 codecInst, in StartRecordingAudioFile() 95 const CodecInst& codecInst, in StartRecordingAudioFile() argument 98 codec_info_ = codecInst; in StartRecordingAudioFile() 102 codecInst, in StartRecordingAudioFile() 246 int32_t FileRecorderImpl::codec_info(CodecInst& codecInst) const in codec_info() 252 codecInst = codec_info_; in codec_info()
|
D | coder.cc | 32 int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst) in SetEncodeCodec() argument 34 if(_acm->RegisterSendCodec((CodecInst&)codecInst) == -1) in SetEncodeCodec() 41 int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst) in SetDecodeCodec() argument 43 if(_acm->RegisterReceiveCodec((CodecInst&)codecInst) == -1) in SetDecodeCodec() 47 memcpy(&_receiveCodec,&codecInst,sizeof(CodecInst)); in SetDecodeCodec()
|
D | file_recorder_impl.h | 52 const CodecInst& codecInst, 56 const CodecInst& codecInst, 60 virtual int32_t codec_info(CodecInst& codecInst) const;
|
D | file_player_impl.cc | 210 const CodecInst* codecInst) in StartPlayingFile() argument 258 _fileFormat, codecInst) == -1) in StartPlayingFile() 291 const CodecInst* codecInst) in StartPlayingFile() argument 338 _fileFormat, codecInst) == -1) in StartPlayingFile()
|
D | coder.h | 28 int32_t SetEncodeCodec(const CodecInst& codecInst); 30 int32_t SetDecodeCodec(const CodecInst& codecInst);
|
D | file_player_impl.h | 44 const CodecInst* codecInst = NULL); 51 const CodecInst* codecInst = NULL);
|
/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;
|
D | file_player.h | 57 const CodecInst* codecInst = NULL) = 0; 66 const CodecInst* codecInst = NULL) = 0;
|