Home
last modified time | relevance | path

Searched refs:hasDesiredSizeOptions (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h359 …const MemoryUsagePreference &preference, bool hasDesiredSizeOptions, ImagePlugin::PlImageInfo& plI…
397 bool hasDesiredSizeOptions = false; variable
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp703 bool IsSupportDma(const DecodeOptions &opts, const ImageInfo &info, bool hasDesiredSizeOptions) in IsSupportDma() argument
711 IsSupportSize(hasDesiredSizeOptions ? opts.desiredSize : info.size)) { in IsSupportDma()
716 return IsSupportSize(hasDesiredSizeOptions ? opts.desiredSize : info.size) && in IsSupportDma()
725 const MemoryUsagePreference &preference, bool hasDesiredSizeOptions, PlImageInfo& plInfo) in InitDecodeContext() argument
731 …preference == MemoryUsagePreference::DEFAULT && IsSupportDma(opts, info, hasDesiredSizeOptions)) || in InitDecodeContext()
1029 if (!hasDesiredSizeOptions) { in CreatePixelMapByInfos()
3696 …DecodeContext context = InitDecodeContext(opts_, info, preference_, hasDesiredSizeOptions, plInfo); in DecodeImageDataToContext()
4352 hasDesiredSizeOptions = IsSizeVailed(opts_.desiredSize); in DecodeImageDataToContextExtended()