Searched refs:hasDesiredSizeOptions (Results 1 - 2 of 2) sorted by relevance
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 359 const MemoryUsagePreference &preference, bool hasDesiredSizeOptions, ImagePlugin::PlImageInfo& plInfo); 396 bool hasDesiredSizeOptions = false; member in OHOS::HDI::Display::Graphic::Common::OHOS::Media::DecodeEvent::ImageDecodingState::SourceDecodingState::SourceInfoState::ImageSource
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 706 bool IsSupportDma(const DecodeOptions &opts, const ImageInfo &info, bool hasDesiredSizeOptions) 714 ImageUtils::IsSizeSupportDma(hasDesiredSizeOptions ? opts.desiredSize : info.size)) { 719 return ImageUtils::IsSizeSupportDma(hasDesiredSizeOptions ? opts.desiredSize : info.size) && 728 const MemoryUsagePreference &preference, bool hasDesiredSizeOptions, PlImageInfo& plInfo) 734 if ((preference == MemoryUsagePreference::DEFAULT && IsSupportDma(opts, info, hasDesiredSizeOptions)) || 1025 if (!hasDesiredSizeOptions) { 3740 DecodeContext context = InitDecodeContext(opts_, info, preference_, hasDesiredSizeOptions, plInfo); 4365 hasDesiredSizeOptions = IsSizeVailed(opts_.desiredSize);
|
Completed in 7 milliseconds