Home
last modified time | relevance | path

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

/frameworks/av/camera/include/camera/camera2/
DSessionConfiguration.h40 int getInputFormat() const { return mInputFormat; } in getInputFormat()
52 mInputFormat(-1), in SessionConfiguration()
60 mInputWidth(inputWidth), mInputHeight(inputHeight), mInputFormat(inputFormat), in SessionConfiguration()
67 mInputFormat == other.mInputFormat &&
87 if (mInputFormat != other.mInputFormat) {
88 return mInputFormat < other.mInputFormat;
115 int mInputWidth, mInputHeight, mInputFormat, mOperatingMode; variable
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp362 ASSERT_FALSE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
363 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
368 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
369 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
374 ASSERT_FALSE(mConfig.mInputFormat->findString(KEY_VENDOR_STRING, &vendorString)) in TEST_F()
375 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
402 ASSERT_TRUE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F()
403 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
409 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F()
410 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F()
[all …]
/frameworks/av/camera/camera2/
DSessionConfiguration.cpp92 mInputFormat = inputFormat; in readFromParcel()
119 err = parcel->writeInt32(mInputFormat); in writeToParcel()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1561 config->mInputFormat->setInt32("using-sw-read-often", true); in configure()
1567 config->mInputFormat->setInt64("android._C2MemoryUsage", usage.value); in configure()
1615 config->mInputFormat->setInt32( in configure()
1648 config->mInputFormat->setInt32(KEY_COLOR_FORMAT, format); in configure()
1650 config->mInputFormat->setInt32("android._color-format", componentColorFormat); in configure()
1674 config->mInputFormat->setInt32(KEY_CHANNEL_MASK, mask); in configure()
1684 config->mInputFormat->setInt32("android._config-pcm-encoding", pcmEncoding); in configure()
1709 config->mInputFormat->setInt32("color-transfer-request", colorTransferRequest); in configure()
1726 config->mInputFormat, in configure()
1745 config->mInputFormat->setInt32(KEY_STRIDE, stride); in configure()
[all …]
DCCodecConfig.cpp337 : mInputFormat(new AMessage), in CCodecConfig()
1347 sp<AMessage> oldFormat = mInputFormat; in updateFormats()
1348 mInputFormat = mInputFormat->dup(); // trigger format changed in updateFormats()
1349 mInputFormat->extend(getFormatForDomain(reflected, mInputDomain)); in updateFormats()
1350 if (mInputFormat->countEntries() != oldFormat->countEntries() in updateFormats()
1351 || mInputFormat->changesFrom(oldFormat)->countEntries() > 0) { in updateFormats()
1354 mInputFormat = oldFormat; // no change in updateFormats()
DCCodecConfig.h120 sp<AMessage> mInputFormat; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp363 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
1263 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1271 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1283 if (mInputFormat == NULL) { in supportsSeamlessFormatChange()
1292 if (!mInputFormat->findString("mime", &oldMime) in supportsSeamlessFormatChange()
1305 mInputFormat->findInt32("adaptive-playback", &isAdaptive) && in supportsSeamlessFormatChange()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDecoder.h76 sp<AMessage> mInputFormat; member
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h184 const audio_format_t mInputFormat; variable
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp140 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/libaudioprocessing/
DBufferProviders.cpp405 mInputFormat(inputFormat), in ReformatBufferProvider()
414 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
/frameworks/av/media/libstagefright/
DACodec.cpp972 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort()
2467 mInputFormat = inputFormat; in configureCodec()
2476 (void)mInputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec()
2481 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec()
3963 if (mInputFormat->findInt32("width", &width) && mInputFormat->findInt32("height", &height)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3966 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3988 mInputFormat->setInt32("android._dataspace", (int32_t)*dataSpace); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3989 mInputFormat->setBuffer( in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3995 (void)getInputColorAspectsForVideoEncoder(mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3999 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
[all …]
DMediaCodec.cpp1501 sp<AMessage> codedFormat = (mFlags & kFlagIsEncoder) ? mOutputFormat : mInputFormat; in updateHdrMetrics()
4218 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
4225 mInputFormat->setInt32(KEY_ALLOW_FRAME_DROP, mAllowFrameDroppingBySurface); in onMessageReceived()
4228 (mFlags & kFlagIsEncoder) ? mOutputFormat : mInputFormat; in onMessageReceived()
4231 mInputFormat->debugString(4).c_str(), in onMessageReceived()
4264 (mFlags & kFlagIsEncoder) ? mInputFormat : mOutputFormat; in onMessageReceived()
4273 if (mInputFormat->findInt32(KEY_MAX_INPUT_SIZE, &codecMaxInputSize)) { in onMessageReceived()
4309 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
4313 mInputFormat->debugString(4).c_str(), in onMessageReceived()
4337 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived()
[all …]
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp184 DefineParam(mInputFormat, C2_PARAMKEY_INPUT_STREAM_BUFFER_TYPE) in Helper()
377 std::shared_ptr<C2StreamBufferTypeSetting::input> mInputFormat; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h275 sp<AMessage> mInputFormat; member
DMediaCodec.h504 sp<AMessage> mInputFormat; member