Home
last modified time | relevance | path

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 Dimage_source_heif_test.cpp342 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 Dimage_source_bmp_test.cpp274 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable
276 cropPixelMap->GetImageInfo(imageInfo);
H A Dimage_source_wbmp_test.cpp242 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable
244 cropPixelMap->GetImageInfo(imageInfo);
H A Dimage_source_raw_test.cpp260 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable
263 cropPixelMap->GetImageInfo(imageInfo);
H A Dimage_source_webp_test.cpp211 std::unique_ptr<PixelMap> cropPixelMap = imageSource->CreatePixelMap(decodeOpts, errorCode); variable
213 cropPixelMap->GetImageInfo(imageInfo);
H A Dimage_source_jpeg_test.cpp362 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 Dmtp_media_library.cpp533 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 Dmtp_medialibrary_manager.cpp691 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()