Home
last modified time | relevance | path

Searched refs:CenterScaleEx (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/
H A Dthumbnail_utils.h139 EXPORT static bool CenterScaleEx(std::shared_ptr<PixelMap> &dataSource, const Size &desiredSize,
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_utils.cpp349 bool ThumbnailUtils::CenterScaleEx(std::shared_ptr<PixelMap> &dataSource, const Size &desiredSize, in CenterScaleEx() function in OHOS::Media::ThumbnailUtils
366 tracer.Start("CenterScaleEx"); in CenterScaleEx()
373 MEDIA_ERR_LOG("Fail in CenterScaleEx, ScalePixelMapEx failed, path: %{public}s", in CenterScaleEx()
383 MEDIA_ERR_LOG("Fail in CenterScaleEx, CenterScale failed, path: %{public}s", in CenterScaleEx()
1485 if (data.loaderOpts.decodeInThumbSize && !CenterScaleEx(data.source, desiredSize, data.path)) { in LoadSourceImage()
1510 if (!CenterScaleEx(data.source, size, data.path)) { in ScaleFastThumb()
2335 if (!CenterScaleEx(dataSource, desiredSize, data.path)) { in ScaleThumbnailFromSource()

Completed in 6 milliseconds