Home
last modified time | relevance | path

Searched refs:mainDecoder_ (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp548 if (mainDecoder_ != nullptr && mainDecoder_->HasProperty(SKIA_DECODER)) {
554 mainDecoder_ = nullptr;
1000 SetPixelMapColorSpace(context, pixelMap, mainDecoder_);
1016 if (!mainDecoder_->HasProperty(SUPPORT_CROP_KEY) && opts_.CropRect.width > INT_ZERO &&
1131 if (IsExtendedCodec(mainDecoder_.get())) {
1143 // the mainDecoder_ may be borrowed by Incremental decoding, so needs to be checked.
1159 errorCode = SetDecodeOptions(mainDecoder_, index, opts_, plInfo);
1189 bool hasNinePatch = mainDecoder_->HasProperty(NINE_PATCH);
1203 errorCode = mainDecoder_
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/
H A Dimage_plugin_fuzz.cpp56 auto extDecoder = static_cast<ExtDecoder*>((imageSource->mainDecoder_).get()); in ExtDecoderFuncTest001()
291 if (imageSource->mainDecoder_->DecodeHeifGainMap(gainMapCtx)) { in HdrTest001()
293 imageSource->mainDecoder_->GetHdrMetadata(imageSource->mainDecoder_->CheckHdrType()); in HdrTest001()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_test.cpp1445 imageSource->mainDecoder_ = std::unique_ptr<ImagePlugin::AbsImageDecoder>(imageSource->CreateDecoder(result)); in HWTEST_F()
1448 imageSource->mainDecoder_ = nullptr; in HWTEST_F()
2005 imageSource->mainDecoder_ = std::make_unique<ImagePlugin::MockAbsImageDecoder>(); in HWTEST_F()
2007 ASSERT_EQ(imageSource->mainDecoder_, nullptr); in HWTEST_F()
2066 imageSource->mainDecoder_ = nullptr; in HWTEST_F()
2074 imageSource->mainDecoder_ = std::make_unique<ImagePlugin::MockAbsImageDecoder>(); in HWTEST_F()
2099 imageSource->mainDecoder_ = std::make_unique<ImagePlugin::MockAbsImageDecoder>(); in HWTEST_F()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h384 std::unique_ptr<ImagePlugin::AbsImageDecoder> mainDecoder_; member in OHOS::HDI::Display::Graphic::Common::OHOS::Media::DecodeEvent::ImageDecodingState::SourceDecodingState::SourceInfoState::ImageSource

Completed in 8 milliseconds