/frameworks/av/camera/include/camera/camera2/ |
D | SessionConfiguration.h | 39 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/codec2/sfplugin/tests/ |
D | CCodecConfig_test.cpp | 304 ASSERT_FALSE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F() 305 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F() 310 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F() 311 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F() 316 ASSERT_FALSE(mConfig.mInputFormat->findString(KEY_VENDOR_STRING, &vendorString)) in TEST_F() 317 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F() 344 ASSERT_TRUE(mConfig.mInputFormat->findInt32(KEY_VENDOR_INT32, &vendorInt32)) in TEST_F() 345 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F() 351 ASSERT_FALSE(mConfig.mInputFormat->findInt64(KEY_VENDOR_INT64, &vendorInt64)) in TEST_F() 352 << "mInputFormat = " << mConfig.mInputFormat->debugString().c_str(); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 341 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/ |
D | SessionConfiguration.cpp | 67 mInputFormat = inputFormat; in readFromParcel() 90 err = parcel->writeInt32(mInputFormat); in writeToParcel()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 364 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure() 1232 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange() 1240 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange() 1252 if (mInputFormat == NULL) { in supportsSeamlessFormatChange() 1261 if (!mInputFormat->findString("mime", &oldMime) in supportsSeamlessFormatChange() 1274 mInputFormat->findInt32("adaptive-playback", &isAdaptive) && in supportsSeamlessFormatChange()
|
D | NuPlayerDecoder.h | 76 sp<AMessage> mInputFormat; member
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 953 config->mInputFormat->setInt32("using-sw-read-often", true); in configure() 1006 config->mInputFormat->setInt32( in configure() 1036 config->mInputFormat->setInt32(KEY_COLOR_FORMAT, format); in configure() 1060 config->mInputFormat->setInt32(KEY_CHANNEL_MASK, mask); in configure() 1068 config->mInputFormat->debugString().c_str(), in configure() 1079 mCallback->onComponentConfigured(config->mInputFormat, config->mOutputFormat); in configure() 1153 inputFormat = config->mInputFormat; in createInputSurface() 1205 config->mInputFormat->debugString().c_str()); in setupInputSurface() 1210 (void)config->mInputFormat->findInt32("android._dataspace", (int32_t*)&dataSpace); in setupInputSurface() 1244 inputFormat = config->mInputFormat; in setInputSurface() [all …]
|
D | CCodecConfig.cpp | 322 : mInputFormat(new AMessage), in CCodecConfig() 1154 sp<AMessage> oldFormat = mInputFormat; in updateFormats() 1155 mInputFormat = mInputFormat->dup(); // trigger format changed in updateFormats() 1156 mInputFormat->extend(getFormatForDomain(reflected, mInputDomain)); in updateFormats() 1157 if (mInputFormat->countEntries() != oldFormat->countEntries() in updateFormats() 1158 || mInputFormat->changesFrom(oldFormat)->countEntries() > 0) { in updateFormats() 1161 mInputFormat = oldFormat; // no change in updateFormats()
|
D | CCodecConfig.h | 118 sp<AMessage> mInputFormat; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaFilter.h | 104 sp<AMessage> mInputFormat; member
|
D | MediaCodec.h | 383 sp<AMessage> mInputFormat; member
|
D | ACodec.h | 253 sp<AMessage> mInputFormat; member
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | BufferProviders.h | 161 const audio_format_t mInputFormat; variable
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 375 mInputFormat(inputFormat), in ReformatBufferProvider() 384 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Interface.cpp | 132 DefineParam(mInputFormat, C2_PARAMKEY_INPUT_STREAM_BUFFER_TYPE) in BaseParams()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Interface.h | 141 std::shared_ptr<C2StreamBufferTypeSetting::input> mInputFormat; member
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 2311 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived() 2318 mInputFormat->setInt32("allow-frame-drop", mAllowFrameDroppingBySurface); in onMessageReceived() 2321 (mFlags & kFlagIsEncoder) ? mOutputFormat : mInputFormat; in onMessageReceived() 2324 mInputFormat->debugString(4).c_str(), in onMessageReceived() 2383 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived() 2387 mInputFormat->debugString(4).c_str(), in onMessageReceived() 2405 CHECK(msg->findMessage("input-format", &mInputFormat)); in onMessageReceived() 3372 (msg->what() == kWhatGetOutputFormat ? mOutputFormat : mInputFormat); in onMessageReceived() 3586 mInputFormat.clear(); in setState()
|
D | ACodec.cpp | 935 portIndex == kPortIndexInput ? mInputFormat : mOutputFormat; in allocateBuffersOnPort() 2367 mInputFormat = inputFormat; in configureCodec() 2376 (void)mInputFormat->findInt32("pcm-encoding", (int32_t*)&codecPcmEncoding); in configureCodec() 2381 mInputFormat->setInt32("pcm-encoding", pcmEncoding); in configureCodec() 3794 if (mInputFormat->findInt32("width", &width) && mInputFormat->findInt32("height", &height)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3797 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3819 mInputFormat->setInt32("android._dataspace", (int32_t)*dataSpace); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3820 mInputFormat->setBuffer( in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3826 (void)getInputColorAspectsForVideoEncoder(mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3830 mInputFormat->debugString(4).c_str(), mOutputFormat->debugString(4).c_str()); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() [all …]
|