HomeSort by relevance Sort by last modified time
    Searched refs:codecInst (Results 1 - 25 of 25) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/test/
SpatialAudio.cc 68 CodecInst codecInst;
73 status = _acmReceiver->Codec(n, &codecInst);
77 status = _acmReceiver->RegisterReceiveCodec(codecInst);
80 codecInst.pltype);
96 CodecInst codecInst;
97 _acmLeft->Codec((uint8_t) 1, &codecInst);
98 CHECK_ERROR(_acmLeft->RegisterSendCodec(codecInst));
109 _acmLeft->Codec((uint8_t) 0, &codecInst);
    [all...]
utility.cc 105 int16_t ChooseCodec(CodecInst& codecInst) {
123 CHECK_ERROR(AudioCodingModule::Codec((uint8_t )codecID, &codecInst));
130 CodecInst codecInst;
133 AudioCodingModule::Codec(codecCntr, &codecInst);
134 printf("%2d- %-18s %5d %6d\n", codecCntr, codecInst.plname,
135 codecInst.plfreq, codecInst.rate);
Channel.h 64 int16_t Stats(CodecInst& codecInst, ACMTestPayloadStats& payloadStats);
70 void PrintStats(CodecInst& codecInst);
Channel.cc 297 int16_t Channel::Stats(CodecInst& codecInst,
303 if (_payloadStats[n].payloadType == codecInst.pltype) {
318 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq;
373 void Channel::PrintStats(CodecInst& codecInst) {
375 Stats(codecInst, payloadStats);
376 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000);
380 codecInst.pltype, codecInst.plname)
    [all...]
utility.h 112 int16_t ChooseCodec(CodecInst& codecInst);
TwoWayCommunication.cc 71 CodecInst codecInst;
75 EXPECT_EQ(tmpACM->Codec(codecCntr, &codecInst), 0);
76 printf("%d- %s\n", codecCntr, codecInst.plname);
95 CodecInst codecInst_A;
96 CodecInst codecInst_B;
97 CodecInst dummyCodec;
171 CodecInst codecInst_A;
172 CodecInst codecInst_B;
173 CodecInst dummyCodec
    [all...]
  /external/webrtc/webrtc/modules/media_file/
media_file.h 61 // codecInst specifies the encoding of the audio data. Note that
63 // provide a non-NULL codecInst. startPointMs and stopPointMs, unless zero,
66 // Note: codecInst.channels should be set to 2 for stereo (and 1 for
73 const CodecInst* codecInst = NULL,
81 // codecInst specifies the encoding of the audio data. Note that
83 // provide a non-NULL codecInst. startPointMs and stopPointMs, unless zero,
86 // Note: codecInst.channels should be set to 2 for stereo (and 1 for
92 const CodecInst* codecInst = NULL
    [all...]
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
    [all...]
media_file_impl.cc 338 const CodecInst* codecInst,
346 if(!ValidFileFormat(format,codecInst))
385 format, codecInst, startPointMs, stopPointMs) == -1)
403 const CodecInst* codecInst,
408 codecInst, startPointMs, stopPointMs);
416 const CodecInst* codecInst,
420 if(!ValidFileFormat(format,codecInst))
    [all...]
media_file_utility.h 61 // codecInst specifies the encoding of the audio data.
62 // Note: codecInst.channels should be set to 2 for stereo (and 1 for
64 int32_t InitWavWriting(OutStream& stream, const CodecInst& codecInst);
67 // to file. The audio frame size is determined by the codecInst.pacsize
125 // codecInst specifies the encoding of the audio data.
127 const CodecInst& codecInst);
130 // to file. The audio frame size is determined by the codecInst.pacsize
139 // codecInst specifies the encoding of the audio data
    [all...]
media_file_utility.cc 65 memset(&codec_info_,0,sizeof(CodecInst));
656 const CodecInst& codecInst)
659 if(set_codec_info(codecInst) != 0)
662 "codecInst identifies unsupported codec!");
666 size_t channels = (codecInst.channels == 0) ? 1 : codecInst.channels;
668 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0)
677 else if(STR_CASE_CMP(codecInst.plname, "PCMA") == 0)
686 else if(STR_CASE_CMP(codecInst.plname, "L16") == 0
    [all...]
  /external/webrtc/webrtc/modules/utility/include/
file_recorder.h 41 const CodecInst& codecInst,
46 const CodecInst& codecInst,
57 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
72 const CodecInst& audioCodecInst,
file_player.h 49 // Note: codecInst is used for pre-encoded files.
57 const CodecInst* codecInst = NULL) = 0;
59 // Note: codecInst is used for pre-encoded files.
66 const CodecInst* codecInst = NULL) = 0;
75 virtual int32_t AudioCodec(CodecInst& audioCodec) const = 0;
  /external/webrtc/webrtc/modules/utility/source/
coder.cc 32 int32_t AudioCoder::SetEncodeCodec(const CodecInst& codecInst)
34 if(_acm->RegisterSendCodec((CodecInst&)codecInst) == -1)
41 int32_t AudioCoder::SetDecodeCodec(const CodecInst& codecInst)
43 if(_acm->RegisterReceiveCodec((CodecInst&)codecInst) == -1)
47 memcpy(&_receiveCodec,&codecInst,sizeof(CodecInst));
    [all...]
coder.h 28 int32_t SetEncodeCodec(const CodecInst& codecInst);
30 int32_t SetDecodeCodec(const CodecInst& codecInst);
51 CodecInst _receiveCodec;
file_recorder_impl.cc 63 const CodecInst& codecInst,
70 codec_info_ = codecInst;
73 codecInst,
95 const CodecInst& codecInst,
98 codec_info_ = codecInst;
102 codecInst,
123 memset(&codec_info_, 0, sizeof(CodecInst));
246 int32_t FileRecorderImpl::codec_info(CodecInst& codecInst) cons
    [all...]
file_recorder_impl.h 52 const CodecInst& codecInst,
56 const CodecInst& codecInst,
60 virtual int32_t codec_info(CodecInst& codecInst) const;
66 const CodecInst& audioCodecInst,
87 CodecInst codec_info_;
file_player_impl.h 44 const CodecInst* codecInst = NULL);
51 const CodecInst* codecInst = NULL);
55 virtual int32_t AudioCodec(CodecInst& audioCodec) const;
71 CodecInst _codec;
file_player_impl.cc 90 int32_t FilePlayerImpl::AudioCodec(CodecInst& audioCodec) const
210 const CodecInst* codecInst)
216 CodecInst codecInstL16;
258 _fileFormat, codecInst) == -1)
266 CodecInst* no_inst = NULL;
291 const CodecInst* codecInst)
297 CodecInst codecInstL16;
338 _fileFormat, codecInst) == -1
    [all...]
  /external/webrtc/webrtc/voice_engine/
output_mixer.cc 277 const CodecInst* codecInst)
291 CodecInst dummyCodec={100,"L16",16000,320,1,320000};
293 if ((codecInst != NULL) &&
294 ((codecInst->channels < 1) || (codecInst->channels > 2)))
301 if(codecInst == NULL)
304 codecInst=&dummyCodec;
306 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) ||
307 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) |
    [all...]
transmit_mixer.cc 311 CodecInst codec;
507 const CodecInst* codecInst)
555 (const CodecInst*) codecInst) != 0)
577 const CodecInst* codecInst)
631 (const CodecInst*) codecInst) != 0)
683 const CodecInst* codecInst
    [all...]
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);
    [all...]
output_mixer.h 80 const CodecInst* codecInst);
83 const CodecInst* codecInst);
channel.cc 429 CodecInst receiveCodec = {0};
430 CodecInst dummyCodec = {0};
    [all...]
channel.h 212 int32_t GetSendCodec(CodecInst& codec);
213 int32_t GetRecCodec(CodecInst& codec);
214 int32_t SetSendCodec(const CodecInst& codec);
218 int32_t SetRecPayloadType(const CodecInst& codec);
219 int32_t GetRecPayloadType(CodecInst& codec);
237 const CodecInst* codecInst);
242 const CodecInst* codecInst);
251 const CodecInst* codecInst)
    [all...]

Completed in 697 milliseconds