Home
last modified time | relevance | path

Searched refs:sourceVideoPath (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmoving_photo_file_utils.cpp398 string sourceVideoPath = GetSourceMovingPhotoVideoPath(movingPhotoImagePath, userId); in ConvertToSourceLivePhoto() local
399 if (!MediaFileUtils::IsFileExists(sourceVideoPath)) { in ConvertToSourceLivePhoto()
400 sourceVideoPath = GetMovingPhotoVideoPath(movingPhotoImagePath, userId); in ConvertToSourceLivePhoto()
419 CHECK_AND_RETURN_RET_LOG(PathToRealPath(sourceVideoPath, absSourceVideoPath), in ConvertToSourceLivePhoto()
420 …E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", sourceVideoPath.c_str(), … in ConvertToSourceLivePhoto()
423 … "Failed to open source video:%{private}s, errno:%{public}d", sourceVideoPath.c_str(), errno); in ConvertToSourceLivePhoto()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_photo_operations.cpp2098 string sourceVideoPath = MediaFileUtils::GetMovingPhotoVideoPath(sourcePath); in DoRevertEdit() local
2099 errCode = RevertMovingPhotoVideo(fileAsset, path, sourceVideoPath, subtype); in DoRevertEdit()
2183 const string &path, const string &sourceVideoPath, int32_t subtype) in RevertMovingPhotoVideo() argument
2186 CHECK_AND_RETURN_RET_LOG(!sourceVideoPath.empty(), E_INVALID_URI, in RevertMovingPhotoVideo()
2257 bool isSourceVideoExist = MediaFileUtils::IsFileExists(sourceVideoPath); in RevertToOriginalEffectMode()
2265 int32_t errCode = Move(sourceVideoPath, videoPath); in RevertToOriginalEffectMode()
2267 sourceVideoPath.c_str(), videoPath.c_str()); in RevertToOriginalEffectMode()
2825 if (!MediaFileUtils::IsFileExists(sourceVideoPath)) { in SaveSourceVideoFile()
2828 videoPath.c_str(), sourceVideoPath.c_str()); in SaveSourceVideoFile()
2942 if (!MediaFileUtils::IsFileExists(sourceVideoPath)) { in SubmitEffectModeExecute()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/enhancement_service/
H A Denhancement_service_callback.cpp132 string sourceVideoPath = MediaFileUtils::GetMovingPhotoVideoPath(info->filePath); in SaveCloudEnhancementPhoto() local
134 bool copyResult = MediaFileUtils::CopyFileUtil(sourceVideoPath, newVideoPath); in SaveCloudEnhancementPhoto()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h101 const std::string &path, const std::string &sourceVideoPath, int32_t subtype);