Home
last modified time | relevance | path

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

/frameworks/av/camera/include/camera/camera2/
DSessionConfiguration.h39 int getInputFormat() const { return mInputFormat; } in getInputFormat()
48 mInputFormat(-1), in SessionConfiguration()
56 mInputWidth(inputWidth), mInputHeight(inputHeight), mInputFormat(inputFormat), in SessionConfiguration()
63 mInputFormat == other.mInputFormat &&
82 if (mInputFormat != other.mInputFormat) {
83 return mInputFormat < other.mInputFormat;
106 int mInputWidth, mInputHeight, mInputFormat, mOperatingMode; variable
/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/camera/camera2/
DSessionConfiguration.cpp67 mInputFormat = inputFormat; in readFromParcel()
90 err = parcel->writeInt32(mInputFormat); in writeToParcel()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp910 config->mInputFormat->setInt32("using-sw-read-often", true); in configure()
963 config->mInputFormat->setInt32( in configure()
993 config->mInputFormat->setInt32(KEY_COLOR_FORMAT, format); in configure()
1017 config->mInputFormat->setInt32(KEY_CHANNEL_MASK, mask); in configure()
1025 config->mInputFormat->debugString().c_str(), in configure()
1035 mCallback->onComponentConfigured(config->mInputFormat, config->mOutputFormat); in configure()
1110 inputFormat = config->mInputFormat; in createInputSurface()
1161 config->mInputFormat->debugString().c_str()); in setupInputSurface()
1166 (void)config->mInputFormat->findInt32("android._dataspace", (int32_t*)&dataSpace); in setupInputSurface()
1199 inputFormat = config->mInputFormat; in setInputSurface()
[all …]
DCCodecConfig.cpp313 : mInputFormat(new AMessage), in CCodecConfig()
1040 sp<AMessage> oldFormat = mInputFormat; in updateFormats()
1041 mInputFormat = mInputFormat->dup(); // trigger format changed in updateFormats()
1042 mInputFormat->extend(getSdkFormatForDomain(reflected, mInputDomain)); in updateFormats()
1043 if (mInputFormat->countEntries() != oldFormat->countEntries() in updateFormats()
1044 || mInputFormat->changesFrom(oldFormat)->countEntries() > 0) { in updateFormats()
1047 mInputFormat = oldFormat; // no change in updateFormats()
DCCodecConfig.h117 sp<AMessage> mInputFormat; member
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp378 mInputFormat = mCodec->getInputFormat(); in onConfigure()
379 if (mInputFormat == NULL) { in onConfigure()
1236 if (!mInputFormat->getInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1246 if (mInputFormat->getBuffer("csd-0", (void**)&oldBufData, &oldBufSize) && in supportsSeamlessAudioFormatChange()
1258 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1267 if (!mInputFormat->getString("mime", &oldMime) in supportsSeamlessFormatChange()
1280 mInputFormat->getInt32("adaptive-playback", &isAdaptive) && in supportsSeamlessFormatChange()
DNuPlayer2Decoder.h79 sp<AMediaFormatWrapper> mInputFormat; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp363 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
1226 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1234 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1246 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1255 if (!mInputFormat->findString("mime", &oldMime) in supportsSeamlessFormatChange()
1268 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.h331 sp<AMessage> mInputFormat; member
DACodec.h243 sp<AMessage> mInputFormat; member
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h161 const audio_format_t mInputFormat; variable
/frameworks/av/include/media/
DBufferProviders.h161 const audio_format_t mInputFormat; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp374 mInputFormat(inputFormat), in ReformatBufferProvider()
383 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp119 DefineParam(mInputFormat, C2_PARAMKEY_INPUT_STREAM_BUFFER_TYPE) in BaseParams()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h141 std::shared_ptr<C2StreamBufferTypeSetting::input> mInputFormat; member
/frameworks/av/media/libstagefright/
DACodec.cpp935 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
2314 mInputFormat = inputFormat; in configureCodec()
2323 (void)mInputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2328 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
3720 if (mInputFormat->findInt32("width", &width) && mInputFormat->findInt32("height", &height)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3723 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3745 mInputFormat->setInt32("android._dataspace", (int32_t)*dataSpace); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3746 mInputFormat->setBuffer( in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3752 (void)getInputColorAspectsForVideoEncoder(mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3756 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
DMediaCodec.cpp2000 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
2007 mInputFormat->setInt32("allow-frame-drop", mAllowFrameDroppingBySurface); in onMessageReceived()
2011 mInputFormat->debugString(4).c_str(), in onMessageReceived()
2044 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
2048 mInputFormat->debugString(4).c_str(), in onMessageReceived()
2066 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
2948 (msg->what() == kWhatGetOutputFormat ? mOutputFormat : mInputFormat); in onMessageReceived()
3103 mInputFormat.clear(); in setState()