Searched defs:codec (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/voip/jni/rtp/
H A DAudioCodec.cpp44 AudioCodec *codec = type->create(); local
45 codec->name = type->name;
46 return codec;
H A DAudioGroup.cpp94 AudioCodec *codec, int sampleRate, int sampleCount,
160 AudioCodec *codec, int sampleRate, int sampleCount,
196 if (codec) {
198 mCodec = codec;
216 (codec ? codec->name : "RAW"), mSampleRate, mInterval, mMode);
891 AudioCodec *codec = NULL; local
911 // Create audio codec.
916 codec = newAudioCodec(codecName);
917 int sampleCount = (codec
159 set(int mode, int socket, sockaddr_storage *remote, AudioCodec *codec, int sampleRate, int sampleCount, int codecType, int dtmfType) argument
[all...]
/frameworks/base/voip/java/android/net/rtp/
H A DAudioStream.java110 * @param codec The AudioCodec to be used.
114 public void setCodec(AudioCodec codec) { argument
118 if (codec.type == mDtmfType) {
121 mCodec = codec;
144 * @throws IllegalArgumentException if the type is invalid or used by codec.
157 throw new IllegalArgumentException("The type is used by codec");
H A DAudioGroup.java116 synchronized void add(AudioStream stream, AudioCodec codec, int dtmfType) { argument
120 String codecSpec = String.format("%d %s %s", codec.type,
121 codec.rtpmap, codec.fmtp);
/frameworks/base/media/java/android/media/
H A DEncoderCapabilities.java53 private VideoEncoderCap(int codec, argument
58 mCodec = codec;
89 private AudioEncoderCap(int codec, argument
93 mCodec = codec;
/frameworks/base/include/media/
H A DMediaProfiles.h57 * vid.codec - video encoder. see mediarecorder.h for details.
58 * aud.codec - audio encoder. see mediarecorder.h for details.
94 int getVideoEncoderParamByName(const char *name, video_encoder codec) const;
113 int getAudioEncoderParamByName(const char *name, audio_encoder codec) const;
137 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
138 : mCodec(codec),
154 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) argument
155 : mCodec(codec),
192 VideoEncoderCap(video_encoder codec, argument
197 : mCodec(codec),
214 AudioEncoderCap(audio_encoder codec, int minBitRate, int maxBitRate, int minSampleRate, int maxSampleRate, int minChannels, int maxChannels) argument
232 VideoDecoderCap(video_decoder codec) argument
239 AudioDecoderCap(audio_decoder codec) argument
[all...]
/frameworks/base/media/libmedia/
H A DMediaProfiles.cpp67 MediaProfiles::logVideoCodec(const MediaProfiles::VideoCodec& codec) argument
69 LOGV("video codec:");
70 LOGV("codec = %d", codec.mCodec);
71 LOGV("bit rate: %d", codec.mBitRate);
72 LOGV("frame width: %d", codec.mFrameWidth);
73 LOGV("frame height: %d", codec.mFrameHeight);
74 LOGV("frame rate: %d", codec.mFrameRate);
78 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec) argument
80 LOGV("audio codec
145 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); local
167 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); local
187 const int codec = findTagForName(sAudioDecoderNameMap, nMappings, atts[1]); local
203 const int codec = findTagForName(sVideoDecoderNameMap, nMappings, atts[1]); local
227 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); local
251 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); local
[all...]
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp582 sp<MediaSource> codec = OMXCodec::Create( local
586 CHECK(codec != NULL);
588 CHECK_EQ(codec->start(), OK);
650 err = codec->read(&buffer, &options);
709 CHECK_EQ(codec->stop(), OK);
719 CHECK_EQ(codec->stop(), OK);
/frameworks/base/media/libstagefright/
H A DOMXCodec.cpp63 const char *codec; member in struct:android::CodecInfo
234 sp<OMXCodec> codec = mTarget.promote(); local
236 if (codec.get() != NULL) {
237 Mutex::Autolock autoLock(codec->mLock);
238 codec->on_message(msg);
239 codec.clear();
259 return info[i].codec;
454 // If a specific codec is requested, skip the non-matching ones.
498 LOGV("Successfully allocated software codec '%s'", componentName);
526 sp<OMXCodec> codec local
[all...]

Completed in 433 milliseconds