Searched refs:beautyType (Results 1 - 8 of 8) sorted by relevance
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/ |
H A D | camera_ability.cpp | 83 std::vector<int32_t> CameraAbility::GetSupportedBeautyRange(BeautyType beautyType) in GetSupportedBeautyRange() argument 85 auto it = supportedBeautyRangeMap_.find(beautyType); in GetSupportedBeautyRange()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | camera_capture_mode.cpp | 204 std::vector<int32_t> GetSupportedBeautyRangeStub(void* obj, BeautyType beautyType) in GetSupportedBeautyRangeStub() argument 208 switch (beautyType) { in GetSupportedBeautyRangeStub() 234 cout<<"BeautyType = " << beautyType << " BeautyType size()" << beautyRange.size() <<endl; in GetSupportedBeautyRangeStub()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 3128 std::vector<int32_t> CaptureSession::GetSupportedBeautyRange(BeautyType beautyType) in GetSupportedBeautyRange() argument 3143 if (std::find(supportedBeautyTypes.begin(), supportedBeautyTypes.end(), beautyType) == supportedBeautyTypes.end()) { in GetSupportedBeautyRange() 3144 MEDIA_ERR_LOG("CaptureSession::GetSupportedBeautyRange beautyType is NULL"); in GetSupportedBeautyRange() 3151 MEDIA_ERR_LOG("CaptureSession::GetSupportedBeautyRange: %{public}d", beautyType); in GetSupportedBeautyRange() 3154 auto itr = g_fwkBeautyAbilityMap_.find(beautyType); in GetSupportedBeautyRange() 3161 if (beautyType == SKIN_TONE) { in GetSupportedBeautyRange() 3172 beautyTypeAndRanges_[beautyType] = supportedBeautyRange; in GetSupportedBeautyRange() 3176 bool CaptureSession::SetBeautyValue(BeautyType beautyType, int32_t beautyLevel) in SetBeautyValue() argument 3184 auto metaItr = fwkBeautyControlMap_.find(beautyType); in SetBeautyValue() 3190 if (beautyTypeAndRanges_.count(beautyType)) { in SetBeautyValue() 3244 SetBeauty(BeautyType beautyType, int value) SetBeauty() argument 3299 GetBeauty(BeautyType beautyType) GetBeauty() argument [all...] |
/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/ |
H A D | capture_session_fuzzer.cpp | 391 BeautyType beautyType = static_cast<BeautyType>(
in TestBeauty() local 393 session->SetBeautyValue(beautyType, data.ReadInt32());
in TestBeauty()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/ |
H A D | camera_ability_napi.cpp | 437 BeautyType beautyType = (BeautyType)value; 438 return ability->GetSupportedBeautyRange(beautyType);
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/ |
H A D | camera_session_napi.cpp | 2550 BeautyType beautyType = beautyTypes[i]; in GetSupportedBeautyTypes() local 2552 napi_create_int32(env, beautyType, &value); in GetSupportedBeautyTypes() 2586 int32_t beautyType; in GetSupportedBeautyRange() local 2587 napi_get_value_int32(env, argv[PARAM0], &beautyType); in GetSupportedBeautyRange() 2589 cameraSessionNapi->cameraSession_->GetSupportedBeautyRange(static_cast<BeautyType>(beautyType)); in GetSupportedBeautyRange() 2590 MEDIA_INFO_LOG("CameraSessionNapi::GetSupportedBeautyRange beautyType = %{public}d, len = %{public}zu", in GetSupportedBeautyRange() 2591 beautyType, beautyRanges.size()); in GetSupportedBeautyRange() 2625 int32_t beautyType; in GetBeauty() local 2626 napi_get_value_int32(env, argv[PARAM0], &beautyType); in GetBeauty() 2627 int32_t beautyStrength = cameraSessionNapi->cameraSession_->GetBeauty(static_cast<BeautyType>(beautyType)); in GetBeauty() 2654 int32_t beautyType; SetBeauty() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 7858 BeautyType beautyType = AUTO_TYPE; in HWTEST_F() local 7859 EXPECT_EQ(session_->GetSupportedBeautyRange(beautyType).empty(), true); in HWTEST_F() 7860 EXPECT_EQ(session_->GetBeauty(beautyType), -1); in HWTEST_F() 7918 BeautyType beautyType = AUTO_TYPE; in HWTEST_F() local 7919 EXPECT_EQ(camSession->GetSupportedBeautyRange(beautyType).empty(), true); in HWTEST_F() 7924 camSession->SetBeauty(beautyType, 0); in HWTEST_F() 8108 BeautyType beautyType = AUTO_TYPE; in HWTEST_F() local 8109 EXPECT_EQ(session_->GetSupportedBeautyRange(beautyType).empty(), true); in HWTEST_F() 8110 EXPECT_EQ(session_->GetBeauty(beautyType), CameraErrorCode::SESSION_NOT_CONFIG); in HWTEST_F() 8114 session_->SetBeauty(beautyType, in HWTEST_F() [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | capture_session.h | 1265 bool SetBeautyValue(BeautyType beautyType, int32_t value);
|
Completed in 31 milliseconds