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

1 2

  /frameworks/base/voip/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()
AmrCodec.cpp 19 #include "AudioCodec.h"
32 class AmrCodec : public AudioCodec
190 class GsmEfrCodec : public AudioCodec
264 AudioCodec *newAmrCodec()
269 AudioCodec *newGsmEfrCodec()
Android.mk 23 AudioCodec.cpp \
  /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));
AudioGroupTest.java 20 import android.net.rtp.AudioCodec;
52 mStreamA.setCodec(AudioCodec.PCMU);
59 mStreamB.setCodec(AudioCodec.PCMU);
  /frameworks/base/voip/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) {
AudioGroup.java 40 * simpler {@link AudioCodec} costs fewer CPU cycles but requires more network
148 AudioCodec codec = stream.getCodec();
  /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_;
channelmanager.h 79 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
84 bool FindAudioCodec(const AudioCodec& codec) const {
mediasessionclient.cc 272 AudioCodec negotiated(*ours);
443 bool ParseGingleAudioCodec(const buzz::XmlElement* element, AudioCodec* out) {
452 *out = AudioCodec(id, name, clockrate, bitrate, channels, 0);
553 AudioCodec codec;
561 audio->AddCodec(AudioCodec(103, "ISAC", 16000, -1, 1, 1));
562 audio->AddCodec(AudioCodec(0, "PCMU", 8000, 64000, 1, 0));
651 bool ParseJingleAudioCodec(const buzz::XmlElement* elem, AudioCodec* codec) {
664 *codec = AudioCodec(id, name, clockrate, bitrate, channels, 0);
694 AudioCodec codec;
761 buzz::XmlElement* CreateGingleAudioCodecElem(const AudioCodec& codec)
    [all...]
mediasessionclient.h 51 typedef std::vector<AudioCodec> AudioCodecs;
241 class AudioContentDescription : public MediaContentDescriptionImpl<AudioCodec> {
filemediaengine.cc 216 bool FileVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs) {
mediachannel.h 211 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) = 0;
213 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs) = 0;
  /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);
  /frameworks/base/voip/java/android/net/sip/
SipAudioCall.java 21 import android.net.rtp.AudioCodec;
736 AudioCodec[] codecs = AudioCodec.getCodecs();
739 for (AudioCodec codec : AudioCodec.getCodecs()) {
752 AudioCodec codec = null;
759 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
817 AudioCodec codec = mAudioStream.getCodec();
    [all...]
  /frameworks/av/media/libmedia/
MediaProfiles.cpp 96 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec)
187 /*static*/ MediaProfiles::AudioCodec*
198 MediaProfiles::AudioCodec *audioCodec =
199 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec),
201 logAudioCodec(*audioCodec);
205 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec;
206 return audioCodec;
670 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/examples/call/
call_main.cc 197 std::vector<cricket::AudioCodec> voice_codecs;
199 cricket::AudioCodec(9, "G722", 16000, 0, 1, 0));

Completed in 711 milliseconds

1 2