Searched defs:codec (Results 26 - 35 of 35) sorted by relevance

12

/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h112 * vid.codec - video encoder. see mediarecorder.h for details.
113 * aud.codec - audio encoder. see mediarecorder.h for details.
155 int getVideoEncoderParamByName(const char *name, video_encoder codec) const;
174 int getAudioEncoderParamByName(const char *name, audio_encoder codec) const;
209 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
210 : mCodec(codec),
234 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) argument
235 : mCodec(codec),
288 VideoEncoderCap(video_encoder codec, argument
293 : mCodec(codec),
310 AudioEncoderCap(audio_encoder codec, int minBitRate, int maxBitRate, int minSampleRate, int maxSampleRate, int minChannels, int maxChannels) argument
328 VideoDecoderCap(video_decoder codec) argument
335 AudioDecoderCap(audio_decoder codec) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp444 AString codec(codecs, offset, commaPos - offset);
445 codec.trim();
446 // return true only if a codec of type `key` ("audio"/"video")
448 if (codecIsType(codec, key)) {
1326 bool M3UParser::codecIsType(const AString &codec, const char *type) { argument
1327 if (codec.size() < 4) {
1330 const char *c = codec.c_str();
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp543 AMediaCodec *codec = AMediaCodec_createDecoderByType(mime); local
544 if (codec == NULL
545 || AMediaCodec_configure(codec, format,
547 || AMediaCodec_start(codec) != AMEDIA_OK
550 AMediaCodec_delete(codec);
562 format = AMediaCodec_getOutputFormat(codec);
566 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec, 5000);
570 uint8_t *buf = AMediaCodec_getInputBuffer(codec, bufidx, &bufsize);
584 media_status_t mstatus = AMediaCodec_queueInputBuffer(codec, bufidx,
598 int status = AMediaCodec_dequeueOutputBuffer(codec,
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp102 AudioCodec *codec, int sampleRate, int sampleCount,
168 AudioCodec *codec, int sampleRate, int sampleCount,
204 if (codec) {
206 mCodec = codec;
224 (codec ? codec->name : "RAW"), mSampleRate, mInterval, mMode);
947 AudioCodec *codec = NULL; local
975 // Create audio codec.
980 codec = newAudioCodec(codecName);
981 int sampleCount = (codec
167 set(int mode, int socket, sockaddr_storage *remote, AudioCodec *codec, int sampleRate, int sampleCount, int codecType, int dtmfType) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp63 static const char *kCodecKeyName = "codec";
65 static const char *kCodecCodec = "android.media.mediacodec.codec"; /* e.g. OMX.google.aac.decoder */
92 explicit ResourceManagerClient(MediaCodec* codec) : mMediaCodec(codec) {} argument
95 sp<MediaCodec> codec = mMediaCodec.promote(); local
96 if (codec == NULL) {
97 // codec is already gone.
100 status_t err = codec->reclaim();
102 ALOGD("Wait for the client to release codec.");
105 err = codec
115 sp<MediaCodec> codec = mMediaCodec.promote(); local
409 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid); local
421 sp<MediaCodec> codec = new MediaCodec(looper, pid, uid); local
438 sp<CodecBase> codec = GetCodecBase(name); local
[all...]
H A DACodec.cpp241 explicit BaseState(ACodec *codec, const sp<AState> &parentState = NULL);
319 explicit UninitializedState(ACodec *codec);
337 explicit LoadedState(ACodec *codec);
360 explicit LoadedToIdleState(ACodec *codec);
376 explicit IdleToExecutingState(ACodec *codec);
390 explicit ExecutingState(ACodec *codec);
420 explicit OutputPortSettingsChangedState(ACodec *codec);
437 explicit ExecutingToIdleState(ACodec *codec);
459 explicit IdleToLoadedState(ACodec *codec);
474 explicit FlushingState(ACodec *codec);
5346 BaseState(ACodec *codec, const sp<AState> &parentState) argument
6235 UninitializedState(ACodec *codec) argument
6447 LoadedState(ACodec *codec) argument
6757 LoadedToIdleState(ACodec *codec) argument
6869 IdleToExecutingState(ACodec *codec) argument
6937 ExecutingState(ACodec *codec) argument
7727 OutputPortSettingsChangedState( ACodec *codec) argument
7869 ExecutingToIdleState(ACodec *codec) argument
7987 IdleToLoadedState(ACodec *codec) argument
8048 FlushingState(ACodec *codec) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp140 sp<ABuffer> codec = getBuffer(header, true /* limit */); local
142 memcpy(getPointer() + header->nOffset, codec->data(), codec->size());
155 // return the codec buffer
511 // submit any more buffers to the codec.
1422 // codec was configured.
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp822 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) {
824 if (codec != NULL) {
825 codec->incStrong(thiz);
836 env->SetLongField(thiz, gFields.context, (jlong)codec.get());
941 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
943 if (codec == NULL) {
948 status_t err = codec->enableOnFrameRenderedListener(enabled);
957 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
959 if (codec == NULL) {
964 status_t err = codec
821 setMediaCodec( JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) argument
977 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1026 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1150 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1169 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1191 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1206 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1221 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1243 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1265 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1291 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1450 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1471 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1494 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1510 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1525 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1548 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1571 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1597 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1623 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1649 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1673 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1701 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1720 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local
1896 sp<JMediaCodec> codec = new JMediaCodec(env, thiz, tmp, nameIsType, encoder); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java55 In broad terms, a codec processes input data to generate output data. It processes data
57 (or receive) an empty input buffer, fill it up with data and send it to the codec for
58 processing. The codec uses up the data and transforms it into one of its empty output buffers.
60 back to the codec.
66 a {@link Surface} for raw video data to improve codec performance. Surface uses native video
92 short[] getSamplesForChannel(MediaCodec codec, int bufferId, int channelIx) {
93 ByteBuffer outputBuffer = codec.getOutputBuffer(bufferId);
94 MediaFormat format = codec.getOutputFormat(bufferId);
204 During its life a codec conceptually exists in one of three states: Stopped, Executing or
214 When you create a codec usin
1611 EventHandler(@onNull MediaCodec codec, @NonNull Looper looper) argument
3343 onFrameRendered( @onNull MediaCodec codec, long presentationTimeUs, long nanoTime) argument
3406 onInputBufferAvailable(@onNull MediaCodec codec, int index) argument
3415 onOutputBufferAvailable( @onNull MediaCodec codec, int index, @NonNull BufferInfo info) argument
3424 onError(@onNull MediaCodec codec, @NonNull CodecException e) argument
3432 onOutputFormatChanged( @onNull MediaCodec codec, @NonNull MediaFormat format) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 197 milliseconds

12