Home
last modified time | relevance | path

Searched refs:effectSuggestionType (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/session/
H A Dcamera_session_napi.h199 void OnEffectSuggestionChange(EffectSuggestionType effectSuggestionType) override;
202 void OnEffectSuggestionCallback(EffectSuggestionType effectSuggestionType) const;
203 void OnEffectSuggestionCallbackAsync(EffectSuggestionType effectSuggestionType) const;
209 EffectSuggestionCallbackInfo(EffectSuggestionType effectSuggestionType, in EffectSuggestionCallbackInfo()
211 : effectSuggestionType_(effectSuggestionType), listener_(listener) {} in EffectSuggestionCallbackInfo()
/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/
H A Dcapture_session_fuzzer.h80 void OnEffectSuggestionChange(EffectSuggestionType effectSuggestionType) override {}
H A Dcapture_session_fuzzer.cpp360 EffectSuggestionType effectSuggestionType = static_cast<EffectSuggestionType>(data.ReadInt32() % max); in TestAperture() local
361 session->UpdateEffectSuggestion(effectSuggestionType, data.ReadBool()); in TestAperture()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dcapture_session.h321 virtual void OnEffectSuggestionChange(EffectSuggestionType effectSuggestionType) = 0;
1402 * @brief Get supported effectSuggestionType.
1416 * @param effectSuggestionType switch to control effect suggestion.
1420 int32_t UpdateEffectSuggestion(EffectSuggestionType effectSuggestionType, bool isEnable);
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp705 void EffectSuggestionCallbackListener::OnEffectSuggestionCallbackAsync(EffectSuggestionType effectSuggestionType) const in OnEffectSuggestionCallbackAsync()
720 std::make_unique<EffectSuggestionCallbackInfo>(effectSuggestionType, this); in OnEffectSuggestionCallbackAsync()
738 void EffectSuggestionCallbackListener::OnEffectSuggestionCallback(EffectSuggestionType effectSuggestionType) const in OnEffectSuggestionCallback()
744 napi_create_int32(env_, effectSuggestionType, &result[PARAM1]); in OnEffectSuggestionCallback()
749 void EffectSuggestionCallbackListener::OnEffectSuggestionChange(EffectSuggestionType effectSuggestionType) in OnEffectSuggestionChange() argument
751 MEDIA_DEBUG_LOG("OnEffectSuggestionChange is called, effectSuggestionType: %{public}d", effectSuggestionType); in OnEffectSuggestionChange()
752 OnEffectSuggestionCallbackAsync(effectSuggestionType); in OnEffectSuggestionChange()
3696 auto effectSuggestionType = (EffectSuggestionType)value; in UpdateEffectSuggestion() local
3700 effectSuggestionType, enable in UpdateEffectSuggestion()
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp4924 MEDIA_ERR_LOG("CaptureSession::SetEffectSuggestionStatus Unknown effectSuggestionType"); in SetEffectSuggestionStatus()
4942 int32_t CaptureSession::UpdateEffectSuggestion(EffectSuggestionType effectSuggestionType, bool isEnable) in UpdateEffectSuggestion() argument
4950 auto itr = fwkEffectSuggestionTypeMap_.find(effectSuggestionType); in UpdateEffectSuggestion()
4952 "CaptureSession::UpdateEffectSuggestion Unknown effectSuggestionType"); in UpdateEffectSuggestion()
4967 "CaptureSession::UpdateEffectSuggestion Failed to set effectSuggestionType"); in UpdateEffectSuggestion()

Completed in 22 milliseconds