/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 136 ACodec *mCodec; member 2889 mCodec(codec) { in BaseState() 2919 mCodec->signalError(OMX_ErrorUndefined, INVALID_OPERATION); in onMessageReceived() 2926 mCodec->signalError(OMX_ErrorResourcesLost, DEAD_OBJECT); in onMessageReceived() 2943 CHECK_EQ(nodeID, mCodec->mNode); in onOMXMessage() 3014 mCodec->mComponentName.c_str(), event, data1, data2); in onOMXEvent() 3019 ALOGE("[%s] ERROR(0x%08lx)", mCodec->mComponentName.c_str(), data1); in onOMXEvent() 3021 mCodec->signalError((OMX_ERRORTYPE)data1); in onOMXEvent() 3028 mCodec->mComponentName.c_str(), bufferID); in onOMXEmptyBufferDone() 3031 mCodec->findBufferByID(kPortIndexInput, bufferID); in onOMXEmptyBufferDone() [all …]
|
D | MediaCodec.cpp | 69 mCodec(new ACodec), in MediaCodec() 135 mCodecLooper->registerHandler(mCodec); in init() 137 mLooper->registerHandler(mCodec); in init() 142 mCodec->setNotificationMessage(new AMessage(kWhatCodecNotify, id())); in init() 900 mCodec->signalResume(); in onMessageReceived() 947 mCodec->initiateAllocateComponent(format); in onMessageReceived() 1010 mCodec->initiateConfigureComponent(format); in onMessageReceived() 1029 mCodec->initiateCreateInputSurface(); in onMessageReceived() 1049 mCodec->initiateStart(); in onMessageReceived() 1091 mCodec->initiateShutdown( in onMessageReceived() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 42 CHECK(mCodec == NULL); in configure() 71 mCodec = new ACodec; in configure() 79 (needDedicatedLooper ? mCodecLooper : looper())->registerHandler(mCodec); in configure() 81 mCodec->setNotificationMessage(notifyMsg); in configure() 82 mCodec->initiateSetup(format); in configure() 134 if (mCodec != NULL) { in signalFlush() 135 mCodec->signalFlush(); in signalFlush() 140 if (mCodec != NULL) { in signalResume() 141 mCodec->signalResume(); in signalResume() 146 if (mCodec != NULL) { in initiateShutdown() [all …]
|
D | NuPlayerDecoder.h | 55 sp<ACodec> mCodec; member
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 50 private MediaCodec mCodec; field in DisplaySinkService 143 if (mCodec != null) { in updateSurfaceFromUi() 144 mCodec.stop(); in updateSurfaceFromUi() 145 mCodec = null; in updateSurfaceFromUi() 153 mCodec = MediaCodec.createDecoderByType("video/avc"); in updateSurfaceFromUi() 154 mCodec.configure(format, mSurface, null, 0); in updateSurfaceFromUi() 155 mCodec.start(); in updateSurfaceFromUi() 173 if (mCodec == null) { in decode() 189 final int index = mCodec.dequeueInputBuffer(0); in provideCodecInputLocked() 194 mCodecInputBuffers = mCodec.getInputBuffers(); in provideCodecInputLocked() [all …]
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 218 : mCodec(codec), in VideoCodec() 225 mCodec = copy.mCodec; in VideoCodec() 234 video_encoder mCodec; member 243 : mCodec(codec), in AudioCodec() 249 mCodec = copy.mCodec; in AudioCodec() 257 audio_encoder mCodec; member 301 : mCodec(codec), in VideoEncoderCap() 309 video_encoder mCodec; member 322 : mCodec(codec), in AudioEncoderCap() 329 audio_encoder mCodec; member [all …]
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioStream.java | 46 private AudioCodec mCodec; field in AudioStream 109 return mCodec; in getCodec() 126 mCodec = codec; in setCodec() 161 if (mCodec != null && type == mCodec.type) { in setDtmfType()
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 55 sp<MediaCodec> mCodec; member 118 state->mCodec = MediaCodec::CreateByType( in decode() 121 CHECK(state->mCodec != NULL); in decode() 123 err = state->mCodec->configure( in decode() 141 sp<MediaCodec> codec = state->mCodec; in decode() 166 err = state->mCodec->dequeueInputBuffer(&index, kTimeout); in decode() 182 err = state->mCodec->queueInputBuffer( in decode() 203 state->mCodec->dequeueInputBuffer(&index, kTimeout); in decode() 208 err = state->mCodec->queueInputBuffer( in decode() 250 status_t err = state->mCodec->dequeueOutputBuffer( in decode() [all …]
|
D | SimplePlayer.cpp | 318 state->mCodec = MediaCodec::CreateByType( in onPrepare() 321 CHECK(state->mCodec != NULL); in onPrepare() 323 err = state->mCodec->configure( in onPrepare() 343 status_t err = state->mCodec->start(); in onPrepare() 346 err = state->mCodec->getInputBuffers(&state->mBuffers[0]); in onPrepare() 349 err = state->mCodec->getOutputBuffers(&state->mBuffers[1]); in onPrepare() 356 err = state->mCodec->dequeueInputBuffer(&index, -1ll); in onPrepare() 365 err = state->mCodec->queueInputBuffer( in onPrepare() 404 CHECK_EQ(state->mCodec->release(), (status_t)OK); in onReset() 426 err = state->mCodec->dequeueInputBuffer(&index); in onDoMoreStuff() [all …]
|
D | sf2.cpp | 52 mCodec(new ACodec), in Controller() 105 mDecodeLooper->registerHandler(mCodec); in onMessageReceived() 107 mCodec->setNotificationMessage( in onMessageReceived() 117 mCodec->initiateSetup(format); in onMessageReceived() 147 mCodec->signalFlush(); in onMessageReceived() 161 mCodec->initiateShutdown(); in onMessageReceived() 201 mCodec->signalResume(); in onMessageReceived() 206 mDecodeLooper->unregisterHandler(mCodec->id()); in onMessageReceived() 243 sp<ACodec> mCodec; member
|
D | SimplePlayer.h | 74 sp<MediaCodec> mCodec; member
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 94 mCodec = MediaCodec::CreateByType(mLooper, name, encoder); in JMediaCodec() 96 mCodec = MediaCodec::CreateByComponentName(mLooper, name); in JMediaCodec() 101 return mCodec != NULL ? OK : NO_INIT; in initCheck() 105 if (mCodec != NULL) { in ~JMediaCodec() 106 mCodec->release(); in ~JMediaCodec() 107 mCodec.clear(); in ~JMediaCodec() 130 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags); in configure() 135 return mCodec->createInputSurface(bufferProducer); in createInputSurface() 139 return mCodec->start(); in start() 145 return mCodec->stop(); in stop() [all …]
|
D | android_media_MediaCodec.h | 103 sp<MediaCodec> mCodec; member
|
/frameworks/base/media/java/android/media/ |
D | EncoderCapabilities.java | 46 …public final int mCodec; // @see android.media.MediaRecorder.Video… field in EncoderCapabilities.VideoEncoderCap 58 mCodec = codec; in VideoEncoderCap() 83 … public final int mCodec; // @see android.media.MediaRecorder.AudioEncoder field in EncoderCapabilities.AudioEncoderCap 93 mCodec = codec; in AudioEncoderCap()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 88 ALOGV("codec = %d", codec.mCodec); in logVideoCodec() 99 ALOGV("codec = %d", codec.mCodec); in logAudioCodec() 109 ALOGV("codec = %d", cap.mCodec); in logVideoEncoderCap() 120 ALOGV("codec = %d", cap.mCodec); in logAudioEncoderCap() 130 ALOGV("codec = %d", cap.mCodec); in logVideoDecoderCap() 137 ALOGV("codec = %d", cap.mCodec); in logAudioDecoderCap() 952 encoders.add(mVideoEncoders[i]->mCodec); in getVideoEncoders() 962 if (mVideoEncoders[i]->mCodec == codec) { in getVideoEncoderParamByName() 992 if (exportProfile->mCodec == codec) { in getVideoEditorExportParamByName() 1037 encoders.add(mAudioEncoders[i]->mCodec); in getAudioEncoders() [all …]
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 119 AudioCodec *mCodec; member in __anon556074da0111::AudioStream 152 mCodec = NULL; in AudioStream() 160 delete mCodec; in ~AudioStream() 204 mCodec = codec; in set() 341 if (!mCodec) { in encode() 351 int length = mCodec->encode(&buffer[3], samples); in encode() 404 if (!mCodec) { in decode() 432 length = mCodec->decode(samples, count, &buffer[offset], length); in decode()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 111 int videoEncoder = videoCap.mCodec; in recordVideoWithPara() 112 int audioEncoder = audioCap.mCodec; in recordVideoWithPara() 302 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaProfileReader.java | 107 if (cap.mCodec == codec) { in getMinOrMaxFrameRateForCodec()
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 195 sp<ACodec> mCodec; member
|