Searched refs:cropPixelMap (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_heif_test.cpp | 342 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 343 ASSERT_NE(cropPixelMap, nullptr); 344 ASSERT_NE(cropPixelMap.get(), nullptr); 345 cropPixelMap->GetImageInfo(imageInfo); 652 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 655 cropPixelMap->GetImageInfo(imageInfo);
|
H A D | image_source_bmp_test.cpp | 274 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 276 cropPixelMap->GetImageInfo(imageInfo);
|
H A D | image_source_wbmp_test.cpp | 242 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 244 cropPixelMap->GetImageInfo(imageInfo);
|
H A D | image_source_raw_test.cpp | 260 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 263 cropPixelMap->GetImageInfo(imageInfo);
|
H A D | image_source_webp_test.cpp | 211 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 213 cropPixelMap->GetImageInfo(imageInfo);
|
H A D | image_source_jpeg_test.cpp | 362 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 363 ASSERT_NE(cropPixelMap, nullptr); 364 ASSERT_NE(cropPixelMap.get(), nullptr); 365 cropPixelMap->GetImageInfo(imageInfo); 661 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable 664 cropPixelMap->GetImageInfo(imageInfo);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_media_library.cpp | 533 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in GetPictureThumb() local 534 CondCloseFd(cropPixelMap == nullptr, fd); in GetPictureThumb() 535 …CHECK_AND_RETURN_RET_LOG(cropPixelMap != nullptr, MTP_ERROR_NO_THUMBNAIL_PRESENT, "cropPixelMap is… in GetPictureThumb() 538 bool isCompressImageSuccess = CompressImage(*cropPixelMap, *outThumb); in GetPictureThumb()
|
H A D | mtp_medialibrary_manager.cpp | 691 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); in GetPictureThumb() local 692 CondCloseFd(cropPixelMap == nullptr, fd); in GetPictureThumb() 693 …CHECK_AND_RETURN_RET_LOG(cropPixelMap != nullptr, MTP_ERROR_NO_THUMBNAIL_PRESENT, "PixelMap is nul… in GetPictureThumb() 695 bool ret = CompressImage(cropPixelMap, *outThumb); in GetPictureThumb()
|