Home
last modified time | relevance | path

Searched refs:codec_info_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/media_file/source/
Dmedia_file_utility.cc63 codec_info_(), in ModuleFileUtility()
79 memset(&codec_info_,0,sizeof(CodecInst)); in ModuleFileUtility()
80 codec_info_.pltype = -1; in ModuleFileUtility()
638 codec_info_.pltype = -1; in InitWavCodec()
639 codec_info_.plfreq = samplesPerSec; in InitWavCodec()
640 codec_info_.channels = channels; in InitWavCodec()
641 codec_info_.rate = bitsPerSample * samplesPerSec; in InitWavCodec()
647 strcpy(codec_info_.plname, "PCMA"); in InitWavCodec()
649 codec_info_.pltype = 8; in InitWavCodec()
650 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec()
[all …]
Dmedia_file_impl.cc35 codec_info_(), in MediaFileImpl()
51 codec_info_.plname[0] = '\0'; in MediaFileImpl()
613 _ptrFileUtilityObj->codec_info(codec_info_); in StartPlayingStream()
625 if(_ptrFileUtilityObj->codec_info(codec_info_) == -1) in StartPlayingStream()
633 _isStereo = (codec_info_.channels == 2); in StartPlayingStream()
670 codec_info_.pltype = 0; in StopPlaying()
671 codec_info_.plname[0] = '\0'; in StopPlaying()
741 uint32_t samplesWritten = codec_info_.pacsize; in IncomingAudioVideoData()
769 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioVideoData()
813 _recordDurationMs += samplesWritten / (codec_info_.plfreq / 1000); in IncomingAudioVideoData()
[all …]
Dmedia_file_impl.h221 CodecInst codec_info_; variable
Dmedia_file_utility.h325 CodecInst codec_info_; variable
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dfile_recorder_impl.cc59 codec_info_(), in FileRecorderImpl()
97 codec_info_ = codecInst; in StartRecordingAudioFile()
133 codec_info_ = codecInst; in StartRecordingAudioFile()
160 memset(&codec_info_, 0, sizeof(CodecInst)); in StopRecording()
173 if (codec_info_.plfreq == 0) in RecordAudioToFile()
232 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile()
238 << codec_info_.plname in RecordAudioToFile()
248 codec_info_.plfreq, in RecordAudioToFile()
257 codec_info_.plfreq, in RecordAudioToFile()
288 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
[all …]
Dfile_recorder_impl.h100 CodecInst codec_info_;