Home
last modified time | relevance | path

Searched refs:PreviewOutputEventType (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dpreview_output_napi.h33 enum PreviewOutputEventType { enum
41 static EnumHelper<PreviewOutputEventType> PreviewOutputEventTypeHelper({
47 PreviewOutputEventType::PREVIEW_INVALID_TYPE
63 void UpdateJSCallback(PreviewOutputEventType eventType, const int32_t value) const;
64 void UpdateJSCallbackAsync(PreviewOutputEventType eventType, const int32_t value) const;
70 PreviewOutputEventType eventType_;
73 PreviewOutputCallbackInfo(PreviewOutputEventType eventType, int32_t value, in PreviewOutputCallbackInfo()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dpreview_output_napi.cpp91 void PreviewOutputCallback::UpdateJSCallbackAsync(PreviewOutputEventType eventType, const int32_t v… in UpdateJSCallbackAsync()
131 UpdateJSCallbackAsync(PreviewOutputEventType::PREVIEW_FRAME_START, -1); in OnFrameStarted()
138 UpdateJSCallbackAsync(PreviewOutputEventType::PREVIEW_FRAME_END, frameCount); in OnFrameEnded()
145 UpdateJSCallbackAsync(PreviewOutputEventType::PREVIEW_FRAME_ERROR, errorCode); in OnError()
222 void PreviewOutputCallback::UpdateJSCallback(PreviewOutputEventType eventType, const int32_t value)… in UpdateJSCallback()
236 if (eventType == PreviewOutputEventType::PREVIEW_FRAME_ERROR) { in UpdateJSCallback()