Home
last modified time | relevance | path

Searched refs:mInputFormat (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp236 isInput ? mInputFormat : mOutputFormat, mem); in allocateBuffersOnPort()
463 mInputFormat = new AMessage(); in onConfigureComponent()
464 mInputFormat->setString("mime", mime.c_str()); in onConfigureComponent()
465 mInputFormat->setInt32("stride", mStride); in onConfigureComponent()
466 mInputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent()
467 mInputFormat->setInt32("color-format", mColorFormatIn); in onConfigureComponent()
468 mInputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
469 mInputFormat->setInt32("width", mWidth); in onConfigureComponent()
470 mInputFormat->setInt32("height", mHeight); in onConfigureComponent()
481 mCallback->onComponentConfigured(mInputFormat, mOutputFormat); in onConfigureComponent()
[all …]
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp373 mInputFormat = mCodec->getInputFormat(); in onConfigure()
374 if (mInputFormat == NULL) { in onConfigure()
1220 if (!mInputFormat->getInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1230 if (mInputFormat->getBuffer("csd-0", (void**)&oldBufData, &oldBufSize) && in supportsSeamlessAudioFormatChange()
1242 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1251 if (!mInputFormat->getString("mime", &oldMime) in supportsSeamlessFormatChange()
1264 mInputFormat->getInt32("adaptive-playback", &isAdaptive) && in supportsSeamlessFormatChange()
DNuPlayer2Decoder.h79 sp<AMediaFormatWrapper> mInputFormat; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp357 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
1214 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1222 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1234 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1243 if (!mInputFormat->findString("mime", &oldMime) in supportsSeamlessFormatChange()
1256 mInputFormat->findInt32("adaptive-playback", &isAdaptive) && in supportsSeamlessFormatChange()
DNuPlayerDecoder.h76 sp<AMessage> mInputFormat; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaFilter.h104 sp<AMessage> mInputFormat; member
DMediaCodec.h330 sp<AMessage> mInputFormat; member
DACodec.h240 sp<AMessage> mInputFormat; member
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h160 const audio_format_t mInputFormat; variable
/frameworks/av/include/media/
DBufferProviders.h160 const audio_format_t mInputFormat; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp367 mInputFormat(inputFormat), in ReformatBufferProvider()
376 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
/frameworks/av/media/libstagefright/
DACodec.cpp935 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
2298 mInputFormat = inputFormat; in configureCodec()
2307 (void)mInputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2310 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
3653 if (mInputFormat->findInt32("width", &width) && mInputFormat->findInt32("height", &height)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3656 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3678 mInputFormat->setInt32("android._dataspace", (int32_t)*dataSpace); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3679 mInputFormat->setBuffer( in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3685 (void)getInputColorAspectsForVideoEncoder(mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3689 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
DMediaCodec.cpp1977 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
1981 mInputFormat->debugString(4).c_str(), in onMessageReceived()
2014 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
2018 mInputFormat->debugString(4).c_str(), in onMessageReceived()
2036 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
2893 (msg->what() == kWhatGetOutputFormat ? mOutputFormat : mInputFormat); in onMessageReceived()
3048 mInputFormat.clear(); in setState()