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

1 2

  /frameworks/opt/net/voip/src/java/android/net/rtp/
AudioStream.java 46 private AudioCodec mCodec;
109 return mCodec;
126 mCodec = codec;
161 if (mCodec != null && type == mCodec.type) {
  /cts/tests/tests/media/src/android/media/cts/
CodecState.java 47 private MediaCodec mCodec;
76 mCodec = codec;
90 mCodec.stop();
103 mCodec.release();
104 mCodec = null;
113 mCodec.start();
114 mCodecInputBuffers = mCodec.getInputBuffers();
116 mCodecOutputBuffers = mCodec.getOutputBuffers();
149 mCodec.flush();
163 int indexInput = mCodec.dequeueInputBuffer(0 /* timeoutUs */)
    [all...]
AdaptivePlaybackTest.java     [all...]
Vp8CodecTestBase.java     [all...]
  /frameworks/av/cmds/stagefright/
mediafilter.cpp 133 sp<MediaCodec> mCodec;
168 status_t err = filterState->mCodec->dequeueInputBuffer(
192 vidState->mCodec->getOutputFormat(&srcFormat);
193 filterState->mCodec->getInputFormat(&destFormat);
228 filterState->mCodec->flush();
230 err = filterState->mCodec->queueInputBuffer(
241 err = filterState->mCodec->queueInputBuffer(
246 err = vidState->mCodec->releaseOutputBuffer(outIndex);
261 status_t err = filterState->mCodec->dequeueOutputBuffer(
272 filterState->mCodec->flush()
    [all...]
codec.cpp 58 sp<MediaCodec> mCodec;
123 state->mCodec = MediaCodec::CreateByType(
126 CHECK(state->mCodec != NULL);
128 err = state->mCodec->configure(
147 sp<MediaCodec> codec = state->mCodec;
172 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
188 err = state->mCodec->queueInputBuffer(
209 state->mCodec->dequeueInputBuffer(&index, kTimeout);
214 err = state->mCodec->queueInputBuffer(
256 status_t err = state->mCodec->dequeueOutputBuffer
    [all...]
SimplePlayer.cpp 317 state->mCodec = MediaCodec::CreateByType(
320 CHECK(state->mCodec != NULL);
322 err = state->mCodec->configure(
342 status_t err = state->mCodec->start();
345 err = state->mCodec->getInputBuffers(&state->mBuffers[0]);
348 err = state->mCodec->getOutputBuffers(&state->mBuffers[1]);
355 err = state->mCodec->dequeueInputBuffer(&index, -1ll);
364 err = state->mCodec->queueInputBuffer(
403 CHECK_EQ(state->mCodec->release(), (status_t)OK);
425 err = state->mCodec->dequeueInputBuffer(&index)
    [all...]
sf2.cpp 69 mCodec(new ACodec),
149 mDecodeLooper->registerHandler(mCodec);
151 mCodec->setNotificationMessage(
160 mCodec->initiateSetup(format);
190 mCodec->signalFlush();
204 mCodec->initiateShutdown();
230 mCodec->signalResume();
235 mDecodeLooper->unregisterHandler(mCodec->id());
266 sp<ACodec> mCodec;
SimplePlayer.h 74 sp<MediaCodec> mCodec;
  /frameworks/av/media/ndk/
NdkMediaCodec.cpp 60 AMediaCodec* mCodec;
69 sp<android::MediaCodec> mCodec;
80 mCodec = codec;
88 if (mCodec->mRequestedActivityNotification) {
92 mCodec->mCodec->requestActivityNotification(mCodec->mActivityNotification);
93 mCodec->mRequestedActivityNotification = true;
103 if (generation != mCodec->mGeneration) {
108 mCodec->mRequestedActivityNotification = false
    [all...]
  /frameworks/av/media/libstagefright/
ACodec.cpp 228 ACodec *mCodec;
    [all...]
SimpleDecodingSource.cpp 94 : mCodec(codec),
99 mCodec->getName(&mComponentName);
103 mCodec->release();
113 status_t res = mCodec->start();
141 status_t res1 = mCodec->stop();
143 mCodec->release();
208 mCodec->flush();
222 res = mCodec->dequeueInputBuffer(&in_ix, kTimeoutWaitForInputUs);
230 res = mCodec->getInputBuffer(in_ix, &in_buffer);
254 if (mCodec->queueInputBuffer
    [all...]
MediaCodec.cpp 264 mCodec(NULL),
342 mCodec = GetCodecBase(name, nameIsType);
343 if (mCodec == NULL) {
358 mCodec = NULL; // remove the codec.
383 mCodecLooper->registerHandler(mCodec);
385 mLooper->registerHandler(mCodec);
390 mCodec->setNotificationMessage(new AMessage(kWhatCodecNotify, this));
661 if (mCodec != NULL) {
663 mCodecLooper->unregisterHandler(mCodec->id());
665 mLooper->unregisterHandler(mCodec->id())
    [all...]
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DisplaySinkService.java 51 private MediaCodec mCodec;
144 if (mCodec != null) {
145 mCodec.stop();
146 mCodec = null;
155 mCodec = MediaCodec.createDecoderByType("video/avc");
160 mCodec.configure(format, mSurface, null, 0);
161 mCodec.start();
179 if (mCodec == null) {
195 final int index = mCodec.dequeueInputBuffer(0);
200 mCodecInputBuffers = mCodec.getInputBuffers()
    [all...]
  /frameworks/av/include/media/
MediaProfiles.h 185 : mCodec(codec),
192 mCodec = copy.mCodec;
201 video_encoder mCodec;
210 : mCodec(codec),
216 mCodec = copy.mCodec;
224 audio_encoder mCodec;
268 : mCodec(codec),
276 video_encoder mCodec;
    [all...]
  /frameworks/base/media/java/android/media/
EncoderCapabilities.java 45 public final int mCodec; // @see android.media.MediaRecorder.VideoEncoder
57 mCodec = codec;
82 public final int mCodec; // @see android.media.MediaRecorder.AudioEncoder
92 mCodec = codec;
MediaCodec.java     [all...]
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp 94 mCodec->release();
213 if (mCodec != NULL && mSurface != NULL) {
221 err = mCodec->setSurface(surface);
250 CHECK(mCodec == NULL);
267 mCodec = MediaCodec::CreateByType(
271 if (mCodec != NULL) {
272 mCodec->getName(&mComponentName);
274 mCodec->release();
276 mCodec = MediaCodec::CreateByComponentName(
280 if (mCodec == NULL)
    [all...]
NuPlayerDecoder.h 72 sp<MediaCodec> mCodec;
  /frameworks/base/media/jni/
android_media_MediaCodec.cpp 137 mCodec = MediaCodec::CreateByType(mLooper, name, encoder, &mInitStatus);
139 mCodec = MediaCodec::CreateByComponentName(mLooper, name, &mInitStatus);
141 CHECK((mCodec != NULL) != (mInitStatus != OK));
192 if (mCodec != NULL) {
193 mCodec->release();
194 mCodec.clear();
206 if (mCodec != NULL || mLooper != NULL) {
251 return mCodec->setOnFrameRenderedNotification(mOnFrameRenderedNotification);
263 return mCodec->setCallback(mCallbackNotification);
279 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags)
    [all...]
android_media_MediaCodec.h 142 sp<MediaCodec> mCodec;
  /frameworks/av/media/libmedia/
MediaProfiles.cpp 104 ALOGV("codec = %d", codec.mCodec);
115 ALOGV("codec = %d", codec.mCodec);
125 ALOGV("codec = %d", cap.mCodec);
136 ALOGV("codec = %d", cap.mCodec);
146 ALOGV("codec = %d", cap.mCodec);
153 ALOGV("codec = %d", cap.mCodec);
903 encoders.add(mVideoEncoders[i]->mCodec);
    [all...]
  /frameworks/av/include/media/stagefright/
SimpleDecodingSource.h 76 sp<MediaCodec> mCodec;
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaProfileReader.java 108 if (cap.mCodec == codec) {
  /frameworks/opt/net/voip/src/jni/rtp/
AudioGroup.cpp 121 AudioCodec *mCodec;
154 mCodec = NULL;
162 delete mCodec;
206 mCodec = codec;
343 if (!mCodec) {
353 int length = mCodec->encode(&buffer[3], samples);
406 if (!mCodec) {
434 length = mCodec->decode(samples, count, &buffer[offset], length);

Completed in 1785 milliseconds

1 2