Home
last modified time | relevance | path

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

/frameworks/av/camera/include/camera/camera2/
DSessionConfiguration.h39 int getInputFormat() const { return mInputFormat; } in getInputFormat()
49 mInputFormat(-1), in SessionConfiguration()
57 mInputWidth(inputWidth), mInputHeight(inputHeight), mInputFormat(inputFormat), in SessionConfiguration()
64 mInputFormat == other.mInputFormat &&
84 if (mInputFormat != other.mInputFormat) {
85 return mInputFormat < other.mInputFormat;
112 int mInputWidth, mInputHeight, mInputFormat, mOperatingMode; variable
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp330 ASSERT_FALSE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
331 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
336 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
337 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
342 ASSERT_FALSE(mConfig.mInputFormat->findString(KEY_VENDOR_STRING, &vendorString)) in TEST_F()
343 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
370 ASSERT_TRUE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
371 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
377 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
378 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp341 isInput ? mInputFormat : outputFormat, in allocateBuffersOnPort()
565 mInputFormat = new AMessage(); in onConfigureComponent()
566 mInputFormat->setString("mime", mime.c_str()); in onConfigureComponent()
567 mInputFormat->setInt32("stride", mStride); in onConfigureComponent()
568 mInputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent()
569 mInputFormat->setInt32("color-format", mColorFormatIn); in onConfigureComponent()
570 mInputFormat->setRect("crop", 0, 0, mStride, mSliceHeight); in onConfigureComponent()
571 mInputFormat->setInt32("width", mWidth); in onConfigureComponent()
572 mInputFormat->setInt32("height", mHeight); in onConfigureComponent()
584 mCallback->onComponentConfigured(mInputFormat, mOutputFormat); in onConfigureComponent()
[all …]
/frameworks/av/camera/camera2/
DSessionConfiguration.cpp73 mInputFormat = inputFormat; in readFromParcel()
97 err = parcel->writeInt32(mInputFormat); in writeToParcel()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1227 config->mInputFormat->setInt32("using-sw-read-often", true); in configure()
1233 config->mInputFormat->setInt64("android._C2MemoryUsage", usage.value); in configure()
1281 config->mInputFormat->setInt32( in configure()
1314 config->mInputFormat->setInt32(KEY_COLOR_FORMAT, format); in configure()
1316 config->mInputFormat->setInt32("android._color-format", componentColorFormat); in configure()
1340 config->mInputFormat->setInt32(KEY_CHANNEL_MASK, mask); in configure()
1371 config->mInputFormat->setInt32("color-transfer-request", colorTransferRequest); in configure()
1387 config->mInputFormat, in configure()
1406 config->mInputFormat->setInt32(KEY_STRIDE, stride); in configure()
1412 config->mInputFormat->setInt32(KEY_SLICE_HEIGHT, vstride); in configure()
[all …]
DCCodecConfig.cpp324 : mInputFormat(new AMessage), in CCodecConfig()
1201 sp<AMessage> oldFormat = mInputFormat; in updateFormats()
1202 mInputFormat = mInputFormat->dup(); // trigger format changed in updateFormats()
1203 mInputFormat->extend(getFormatForDomain(reflected, mInputDomain)); in updateFormats()
1204 if (mInputFormat->countEntries() != oldFormat->countEntries() in updateFormats()
1205 || mInputFormat->changesFrom(oldFormat)->countEntries() > 0) { in updateFormats()
1208 mInputFormat = oldFormat; // no change in updateFormats()
DCCodecConfig.h120 sp<AMessage> mInputFormat; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp364 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
1256 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1264 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1276 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1285 if (!mInputFormat->findString("mime", &oldMime) in supportsSeamlessFormatChange()
1298 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
DACodec.h257 sp<AMessage> mInputFormat; member
DMediaCodec.h433 sp<AMessage> mInputFormat; member
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h161 const audio_format_t mInputFormat; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp375 mInputFormat(inputFormat), in ReformatBufferProvider()
384 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp132 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/
DMediaCodec.cpp3212 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
3219 mInputFormat->setInt32(KEY_ALLOW_FRAME_DROP, mAllowFrameDroppingBySurface); in onMessageReceived()
3222 (mFlags & kFlagIsEncoder) ? mOutputFormat : mInputFormat; in onMessageReceived()
3225 mInputFormat->debugString(4).c_str(), in onMessageReceived()
3290 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
3294 mInputFormat->debugString(4).c_str(), in onMessageReceived()
3318 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
4354 (msg->what() == kWhatGetOutputFormat ? mOutputFormat : mInputFormat); in onMessageReceived()
4670 mInputFormat.clear(); in setState()
4918 if (mInputFormat->findInt32("width", &width) && in onQueueInputBuffer()
[all …]
DACodec.cpp952 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
2400 mInputFormat = inputFormat; in configureCodec()
2409 (void)mInputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2414 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
3872 if (mInputFormat->findInt32("width", &width) && mInputFormat->findInt32("height", &height)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3875 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3897 mInputFormat->setInt32("android._dataspace", (int32_t)*dataSpace); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3898 mInputFormat->setBuffer( in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3904 (void)getInputColorAspectsForVideoEncoder(mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3908 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp173 DefineParam(mInputFormat, C2_PARAMKEY_INPUT_STREAM_BUFFER_TYPE) in Helper()
348 std::shared_ptr<C2StreamBufferTypeSetting::input> mInputFormat; member