Searched refs:CenterScaleEx (Results 1 - 2 of 2) sorted by relevance
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/ |
H A D | thumbnail_utils.h | 139 EXPORT static bool CenterScaleEx(std::shared_ptr<PixelMap> &dataSource, const Size &desiredSize,
|
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_utils.cpp | 349 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