Home
last modified time | relevance | path

Searched refs:CompressImage (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_medialibrary_manager.h56 bool CompressImage(std::unique_ptr<PixelMap> &pixelMap, Size &size, std::vector<uint8_t> &data);
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dithumbnail_helper.cpp484 if (!ThumbnailUtils::CompressImage(lcdSource, data.lcd, data.mediaType == MEDIA_TYPE_AUDIO, false, false)) { in IsCreateLcdSuccess()
485 MEDIA_ERR_LOG("CompressImage faild"); in IsCreateLcdSuccess()
530 if (!ThumbnailUtils::CompressImage(lcdSourceEx, data.lcd, data.mediaType == MEDIA_TYPE_AUDIO)) { in IsCreateLcdExSuccess()
531 MEDIA_ERR_LOG("CompressImage faild"); in IsCreateLcdExSuccess()
552 if (!ThumbnailUtils::CompressImage(data.source, type == ThumbnailType::THUMB ? data.thumbnail : data.thumbAstc, in GenThumbnail()
554 MEDIA_ERR_LOG("CompressImage faild id %{public}s", opts.row.c_str()); in GenThumbnail()
607 if (!ThumbnailUtils::CompressImage(data.sourceEx, data.thumbnail, false, false)) { in GenThumbnailEx()
608 MEDIA_ERR_LOG("CompressImage failed id %{public}s", opts.row.c_str()); in GenThumbnailEx()
641 if (!ThumbnailUtils::CompressImage(data.source, in GenMonthAndYearAstcData()
643 MEDIA_ERR_LOG("CompressImage t in GenMonthAndYearAstcData()
[all...]
H A Dthumbnail_utils.cpp399 bool ThumbnailUtils::CompressImage(shared_ptr<PixelMap> &pixelMap, vector<uint8_t> &data, bool isHigh, bool isAstc, in CompressImage() function in OHOS::Media::ThumbnailUtils
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/
H A Dthumbnail_utils.h61 EXPORT static bool CompressImage(std::shared_ptr<PixelMap> &pixelMap, std::vector<uint8_t> &data,
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_medialibrary_manager.cpp229 bool MtpMedialibraryManager::CompressImage(std::unique_ptr<PixelMap> &pixelMap, in CompressImage() function in OHOS::Media::MtpMedialibraryManager
293 CompressImage(cropPixelMap, size, *outThumb); in GetThumb()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_utils_test/src/
H A Dmedialibrary_utils_test.cpp526 bool ret = ThumbnailUtils::CompressImage(data.source, data.thumbnail); in HWTEST_F()

Completed in 9 milliseconds