/frameworks/opt/net/voip/src/jni/rtp/ |
AudioCodec.cpp | 19 #include "AudioCodec.h" 21 extern AudioCodec *newAlawCodec(); 22 extern AudioCodec *newUlawCodec(); 23 extern AudioCodec *newGsmCodec(); 24 extern AudioCodec *newAmrCodec(); 25 extern AudioCodec *newGsmEfrCodec(); 29 AudioCodec *(*create)(); 39 AudioCodec *newAudioCodec(const char *codecName) 44 AudioCodec *codec = type->create();
|
AudioCodec.h | 22 class AudioCodec 27 virtual ~AudioCodec() {} 36 AudioCodec *newAudioCodec(const char *codecName);
|
GsmCodec.cpp | 17 #include "AudioCodec.h" 25 class GsmCodec : public AudioCodec 75 AudioCodec *newGsmCodec()
|
G711Codec.cpp | 17 #include "AudioCodec.h" 34 class UlawCodec : public AudioCodec 85 class AlawCodec : public AudioCodec 136 AudioCodec *newUlawCodec() 141 AudioCodec *newAlawCodec()
|
/cts/tests/tests/net/src/android/net/rtp/cts/ |
AudioCodecTest.java | 18 import android.net.rtp.AudioCodec; 23 private void assertEquals(AudioCodec codec, int type, String rtpmap, String fmtp) { 34 assertEquals(AudioCodec.PCMU, 0, "PCMU/8000", null); 35 assertEquals(AudioCodec.PCMA, 8, "PCMA/8000", null); 36 assertEquals(AudioCodec.GSM, 3, "GSM/8000", null); 37 assertEquals(AudioCodec.GSM_EFR, -1, "GSM-EFR/8000", null); 38 assertEquals(AudioCodec.AMR, -1, "AMR/8000", null); 40 assertFalse(AudioCodec.AMR.type == AudioCodec.GSM_EFR.type); 45 assertNull(AudioCodec.getCodec(128, "PCMU/8000", null)) [all...] |
AudioStreamTest.java | 18 import android.net.rtp.AudioCodec; 62 stream.setCodec(AudioCodec.getCodec(97, "PCMU/8000", null)); 76 stream.setCodec(AudioCodec.getCodec(97, "PCMU/8000", null)); 81 stream.setCodec(AudioCodec.getCodec(96, "PCMU/8000", null));
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
AudioCodec.java | 32 * AudioCodec codec = AudioCodec.getCodec(100, "AMR/8000", "mode-set=1"); 37 public class AudioCodec { 56 public static final AudioCodec PCMU = new AudioCodec(0, "PCMU/8000", null); 61 public static final AudioCodec PCMA = new AudioCodec(8, "PCMA/8000", null); 67 public static final AudioCodec GSM = new AudioCodec(3, "GSM/8000", null); 73 public static final AudioCodec GSM_EFR = new AudioCodec(96, "GSM-EFR/8000", null) [all...] |
AudioStream.java | 27 * configured {@link AudioCodec}. On the other side, An {@link AudioGroup} 46 private AudioCodec mCodec; 104 * Returns the {@link AudioCodec}, or {@code null} if it is not set. 106 * @see #setCodec(AudioCodec) 108 public AudioCodec getCodec() { 113 * Sets the {@link AudioCodec}. 115 * @param codec The AudioCodec to be used. 119 public void setCodec(AudioCodec codec) {
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
codec_unittest.cc | 31 using cricket::AudioCodec; 44 AudioCodec c0(96, "A", 44100, 20000, 2, 3); 45 AudioCodec c1(95, "A", 44100, 20000, 2, 3); 46 AudioCodec c2(96, "x", 44100, 20000, 2, 3); 47 AudioCodec c3(96, "A", 48000, 20000, 2, 3); 48 AudioCodec c4(96, "A", 44100, 10000, 2, 3); 49 AudioCodec c5(96, "A", 44100, 20000, 1, 3); 50 AudioCodec c6(96, "A", 44100, 20000, 2, 1); 58 AudioCodec c7; 59 AudioCodec c8(0, "", 0, 0, 0, 0) [all...] |
codec.h | 138 struct AudioCodec : public Codec { 143 AudioCodec(int pt, const std::string& nm, int cr, int br, int cs, int pr) 150 AudioCodec() : Codec(), bitrate(0), channels(0) {} 153 bool Matches(const AudioCodec& codec) const; 155 static bool Preferable(const AudioCodec& first, const AudioCodec& other) { 161 AudioCodec& operator=(const AudioCodec& c) { 173 bool operator==(const AudioCodec& c) const { 184 bool operator!=(const AudioCodec& c) const [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/call/ |
mediaenginefactory.cc | 35 std::vector<cricket::AudioCodec> RequiredAudioCodecs() { 36 std::vector<cricket::AudioCodec> audio_codecs; 38 cricket::AudioCodec(9, "G722", 16000, 0, 1, 0)); 40 cricket::AudioCodec(0, "PCMU", 8000, 0, 1, 0)); 42 cricket::AudioCodec(13, "CN", 8000, 0, 1, 0)); 44 cricket::AudioCodec(105, "CN", 16000, 0, 1, 0));
|
/external/chromium_org/media/base/ |
audio_decoder_config.h | 18 enum AudioCodec { 57 AudioDecoderConfig(AudioCodec codec, SampleFormat sample_format, 65 void Initialize(AudioCodec codec, SampleFormat sample_format, 80 AudioCodec codec() const { return codec_; } 103 AudioCodec codec_;
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
codec.cc | 35 bool AudioCodec::Matches(int payload, const std::string& nm) const { 40 bool AudioCodec::Matches(const AudioCodec& codec) const { 54 std::string AudioCodec::ToString() const { 56 os << "AudioCodec[" << id << ":" << name << ":" << clockrate << ":" << bitrate
|
codec.h | 35 struct AudioCodec { 45 AudioCodec(int pt, const std::string& nm, int cr, int br, int cs, int pr) 50 AudioCodec() : id(0), clockrate(0), bitrate(0), channels(0), preference(0) {} 54 bool Matches(const AudioCodec& codec) const; 56 static bool Preferable(const AudioCodec& first, const AudioCodec& other) { 62 AudioCodec& operator=(const AudioCodec& c) { 72 bool operator==(const AudioCodec& c) const { 81 bool operator!=(const AudioCodec& c) const [all...] |
filemediaengine.h | 72 void set_voice_codecs(const std::vector<AudioCodec>& codecs) { 101 virtual const std::vector<AudioCodec>& audio_codecs() { 107 virtual bool FindAudioCodec(const AudioCodec& codec) { return true; } 117 std::vector<AudioCodec> voice_codecs_; 131 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { 134 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
|
mediaengine.h | 141 virtual const std::vector<AudioCodec>& audio_codecs() = 0; 143 virtual bool FindAudioCodec(const AudioCodec &codec) = 0; 222 virtual const std::vector<AudioCodec>& audio_codecs() { 229 virtual bool FindAudioCodec(const AudioCodec &codec) { 261 virtual bool SetRecvCodecs(const std::vector<AudioCodec> &codecs) { 264 virtual bool SetSendCodecs(const std::vector<AudioCodec> &codecs) { 301 const std::vector<AudioCodec>& codecs() { return codecs_; } 302 bool FindCodec(const AudioCodec&) { return false; } 305 std::vector<AudioCodec> codecs_;
|
/external/chromium_org/media/cast/net/rtp_sender/rtp_packetizer/ |
rtp_packetizer_config.h | 33 AudioCodec audio_codec;
|
/external/chromium_org/third_party/libjingle/source/talk/media/other/ |
linphonemediaengine.h | 58 void set_voice_codecs(const std::vector<AudioCodec>& codecs) { 87 virtual const std::vector<AudioCodec>& audio_codecs() { 93 virtual bool FindAudioCodec(const AudioCodec& codec); 108 std::vector<AudioCodec> voice_codecs_; 123 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { return true; } 124 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
|
linphonemediaengine.cc | 78 voice_codecs_.push_back(AudioCodec(110, payload_type_speex_wb.mime_type, payload_type_speex_wb.clock_rate, 0, 1, 8)); 79 voice_codecs_.push_back(AudioCodec(111, payload_type_speex_nb.mime_type, payload_type_speex_nb.clock_rate, 0, 1, 7)); 84 voice_codecs_.push_back(AudioCodec(102, payload_type_ilbc.mime_type, payload_type_ilbc.clock_rate, 0, 1, 4)); 87 voice_codecs_.push_back(AudioCodec(0, payload_type_pcmu8000.mime_type, payload_type_pcmu8000.clock_rate, 0, 1, 2)); 88 voice_codecs_.push_back(AudioCodec(101, payload_type_telephone_event.mime_type, payload_type_telephone_event.clock_rate, 0, 1, 1)); 112 bool LinphoneMediaEngine::FindAudioCodec(const AudioCodec &c) { 163 bool LinphoneVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs) { 166 std::vector<AudioCodec>::const_iterator i;
|
/external/chromium_org/media/base/android/ |
audio_decoder_job.h | 31 const AudioCodec audio_codec, int sample_rate, int channel_count,
|
/external/chromium_org/media/cast/ |
cast_config.h | 31 enum AudioCodec { 55 AudioCodec codec; 111 AudioCodec codec; 169 AudioCodec codec;
|
/external/chromium_org/media/cast/rtp_receiver/rtp_parser/ |
rtp_parser.h | 25 AudioCodec audio_codec;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvoiceengine.h | 132 const std::vector<AudioCodec>& codecs(); 133 bool FindCodec(const AudioCodec& codec); 134 bool FindWebRtcCodec(const AudioCodec& codec, webrtc::CodecInst* gcodec); 249 std::vector<AudioCodec> codecs_; 327 virtual bool SetRecvCodecs(const std::vector<AudioCodec> &codecs); 328 virtual bool SetSendCodecs(const std::vector<AudioCodec> &codecs); 381 bool GetRedSendCodec(const AudioCodec& red_codec, 382 const std::vector<AudioCodec>& all_codecs, 410 bool SetSendCodecs(int channel, const std::vector<AudioCodec>& codecs); 415 std::vector<AudioCodec> recv_codecs_ [all...] |
webrtcvoiceengine_unittest.cc | 24 static const cricket::AudioCodec kPcmuCodec(0, "PCMU", 8000, 64000, 1, 0); 25 static const cricket::AudioCodec kIsacCodec(103, "ISAC", 16000, 32000, 1, 0); 26 static const cricket::AudioCodec kCeltCodec(110, "CELT", 32000, 64000, 2, 0); 27 static const cricket::AudioCodec kOpusCodec(111, "opus", 48000, 64000, 2, 0); 28 static const cricket::AudioCodec kRedCodec(117, "red", 8000, 0, 1, 0); 29 static const cricket::AudioCodec kCn8000Codec(13, "CN", 8000, 0, 1, 0); 30 static const cricket::AudioCodec kCn16000Codec(105, "CN", 16000, 0, 1, 0); 31 static const cricket::AudioCodec 33 static const cricket::AudioCodec* const kAudioCodecs[] = { 163 std::vector<cricket::AudioCodec> codecs [all...] |
/frameworks/av/include/media/ |
MediaProfiles.h | 241 struct AudioCodec { 242 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) 248 AudioCodec(const AudioCodec& copy) { 255 ~AudioCodec() {} 278 mAudioCodec = new AudioCodec(*copy.mAudioCodec); 291 AudioCodec *mAudioCodec; 390 static void logAudioCodec(const AudioCodec& codec); 402 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
|