Home
last modified time | relevance | path

Searched refs:OH_ImageEffect_Restore (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/player_framework/frameworks/native/video_editor/data_center/effect/
H A Deffect_image_effect.cpp35 OH_ImageEffect* imageEffect = OH_ImageEffect_Restore(description_.c_str()); in Init()
37 MEDIA_LOGE("OH_ImageEffect_Restore failed."); in Init()
40 MEDIA_LOGI("OH_ImageEffect_Restore finish."); in Init()
/foundation/multimedia/image_effect/interfaces/kits/native/
H A Dimage_effect.h388 OH_ImageEffect *OH_ImageEffect_Restore(const char *info);
/foundation/multimedia/image_effect/test/unittest/
H A Dimage_effect_capi_unittest.cpp2004 * Function: Test OH_ImageEffect_Restore with normal parameter
2008 * CaseDescription: Test OH_ImageEffect_Restore with normal parameter
2015 ASSERT_NE(imageEffect, nullptr) << "OH_ImageEffect_Restore failed"; in HWTEST_F()
2018 ASSERT_EQ(errorCode, ImageEffect_ErrorCode::EFFECT_SUCCESS) << "OH_ImageEffect_Restore failed"; in HWTEST_F()
2019 imageEffect = OH_ImageEffect_Restore(imageEffectInfo); in HWTEST_F()
2020 ASSERT_NE(imageEffect, nullptr) << "OH_ImageEffect_Restore failed"; in HWTEST_F()
2028 * Function: Test OH_ImageEffect_Restore submethods OH_ImageEffect_Save with empty OH_ImageEffect parameter
2032 * CaseDescription: Test OH_ImageEffect_Restore submethods OH_ImageEffect_Save with empty OH_ImageEffect parameter
2039 ASSERT_NE(imageEffect, nullptr) << "OH_ImageEffect_Restore failed"; in HWTEST_F()
2042 ASSERT_NE(errorCode, ImageEffect_ErrorCode::EFFECT_SUCCESS) << "OH_ImageEffect_Restore faile in HWTEST_F()
[all...]
H A Dnative_image_effect_unittest.cpp1105 imageEffect = OH_ImageEffect_Restore(saveInfo.c_str()); in HWTEST_F()
/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dimage_effect.cpp619 OH_ImageEffect *OH_ImageEffect_Restore(const char *info) in OH_ImageEffect_Restore() function
626 CHECK_AND_RETURN_RET_LOG(root->HasElement("imageEffect"), nullptr, "OH_ImageEffect_Restore no imageEffect"); in OH_ImageEffect_Restore()
628 CHECK_AND_RETURN_RET_LOG(imageInfo != nullptr, nullptr, "OH_ImageEffect_Restore imageInfo is nullptr"); in OH_ImageEffect_Restore()
629 CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("name"), nullptr, "OH_ImageEffect_Restore no name"); in OH_ImageEffect_Restore()
632 CHECK_AND_RETURN_RET_LOG(!effectName.empty(), nullptr, "OH_ImageEffect_Restore imageEffect get name failed"); in OH_ImageEffect_Restore()
635 CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("filters"), nullptr, "OH_ImageEffect_Restore no filters"); in OH_ImageEffect_Restore()
637 CHECK_AND_RETURN_RET_LOG(filters != nullptr, nullptr, "OH_ImageEffect_Restore filters is null!"); in OH_ImageEffect_Restore()
638 CHECK_AND_RETURN_RET_LOG(filters->IsArray(), nullptr, "OH_ImageEffect_Restore filters not array"); in OH_ImageEffect_Restore()

Completed in 8 milliseconds