Home
last modified time | relevance | path

Searched refs:mCodec (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/libstagefright/
DACodec.cpp133 ACodec *mCodec; member
1236 mCodec(codec) { in BaseState()
1275 CHECK_EQ(nodeID, mCodec->mNode); in onOMXMessage()
1346 mCodec->mComponentName.c_str(), event, data1, data2); in onOMXEvent()
1351 LOGE("[%s] ERROR(0x%08lx)", mCodec->mComponentName.c_str(), data1); in onOMXEvent()
1353 mCodec->signalError((OMX_ERRORTYPE)data1); in onOMXEvent()
1360 mCodec->mComponentName.c_str(), bufferID); in onOMXEmptyBufferDone()
1363 mCodec->findBufferByID(kPortIndexInput, bufferID); in onOMXEmptyBufferDone()
1390 if (mCodec->mPortEOS[kPortIndexInput]) { in postFillThisBuffer()
1396 sp<AMessage> notify = mCodec->mNotify->dup(); in postFillThisBuffer()
[all …]
/frameworks/base/include/media/
DMediaProfiles.h210 : mCodec(codec), in VideoCodec()
217 mCodec = copy.mCodec; in VideoCodec()
226 video_encoder mCodec; member
235 : mCodec(codec), in AudioCodec()
241 mCodec = copy.mCodec; in AudioCodec()
249 audio_encoder mCodec; member
293 : mCodec(codec), in VideoEncoderCap()
301 video_encoder mCodec; member
314 : mCodec(codec), in AudioEncoderCap()
321 audio_encoder mCodec; member
[all …]
/frameworks/base/voip/java/android/net/rtp/
DAudioStream.java46 private AudioCodec mCodec; field in AudioStream
97 group.add(this, mCodec, mDtmfType); in join()
109 return mCodec; in getCodec()
126 mCodec = codec; in setCodec()
161 if (type == mCodec.type) { in setDtmfType()
/frameworks/base/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp48 CHECK(mCodec == NULL); in configure()
68 mCodec = new ACodec; in configure()
76 (needDedicatedLooper ? mCodecLooper : looper())->registerHandler(mCodec); in configure()
78 mCodec->setNotificationMessage(notifyMsg); in configure()
79 mCodec->initiateSetup(format); in configure()
267 if (mCodec != NULL) { in signalFlush()
268 mCodec->signalFlush(); in signalFlush()
273 if (mCodec != NULL) { in signalResume()
274 mCodec->signalResume(); in signalResume()
279 if (mCodec != NULL) { in initiateShutdown()
[all …]
DNuPlayerDecoder.h52 sp<ACodec> mCodec; member
/frameworks/base/media/java/android/media/
DEncoderCapabilities.java46 …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/base/cmds/stagefright/
Dsf2.cpp49 mCodec(new ACodec), in Controller()
102 mDecodeLooper->registerHandler(mCodec); in onMessageReceived()
104 mCodec->setNotificationMessage( in onMessageReceived()
114 mCodec->initiateSetup(format); in onMessageReceived()
144 mCodec->signalFlush(); in onMessageReceived()
158 mCodec->initiateShutdown(); in onMessageReceived()
197 mCodec->signalResume(); in onMessageReceived()
204 mDecodeLooper->unregisterHandler(mCodec->id()); in onMessageReceived()
235 sp<ACodec> mCodec; member
/frameworks/base/media/libmedia/
DMediaProfiles.cpp86 LOGV("codec = %d", codec.mCodec); in logVideoCodec()
97 LOGV("codec = %d", codec.mCodec); in logAudioCodec()
107 LOGV("codec = %d", cap.mCodec); in logVideoEncoderCap()
118 LOGV("codec = %d", cap.mCodec); in logAudioEncoderCap()
128 LOGV("codec = %d", cap.mCodec); in logVideoDecoderCap()
135 LOGV("codec = %d", cap.mCodec); in logAudioDecoderCap()
948 encoders.add(mVideoEncoders[i]->mCodec); in getVideoEncoders()
958 if (mVideoEncoders[i]->mCodec == codec) { in getVideoEncoderParamByName()
988 if (exportProfile->mCodec == codec) { in getVideoEditorExportParamByName()
1031 encoders.add(mAudioEncoders[i]->mCodec); in getAudioEncoders()
[all …]
/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp119 AudioCodec *mCodec; member in __anon890361ce0111::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/
DMediaRecorderTest.java108 int videoEncoder = videoCap.mCodec; in recordVideoWithPara()
109 int audioEncoder = audioCap.mCodec; in recordVideoWithPara()
292 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java108 if (cap.mCodec == codec) { in getMinOrMaxFrameRateForCodec()