Home
last modified time | relevance | path

Searched refs:DpsError (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/
H A Dsession_coordinator.cpp29 ErrorCode MapDpsErrorCode(DpsError errorCode) in MapDpsErrorCode()
33 case DpsError::DPS_ERROR_SESSION_SYNC_NEEDED: in MapDpsErrorCode()
39 case DpsError::DPS_ERROR_IMAGE_PROC_INVALID_PHOTO_ID: in MapDpsErrorCode()
42 case DpsError::DPS_ERROR_IMAGE_PROC_FAILED: in MapDpsErrorCode()
45 case DpsError::DPS_ERROR_IMAGE_PROC_TIMEOUT: in MapDpsErrorCode()
48 case DpsError::DPS_ERROR_IMAGE_PROC_ABNORMAL: in MapDpsErrorCode()
51 case DpsError::DPS_ERROR_IMAGE_PROC_INTERRUPTED: in MapDpsErrorCode()
54 case DpsError::DPS_ERROR_VIDEO_PROC_INVALID_VIDEO_ID: in MapDpsErrorCode()
57 case DpsError::DPS_ERROR_VIDEO_PROC_FAILED: in MapDpsErrorCode()
60 case DpsError::DPS_ERROR_VIDEO_PROC_TIMEOUT: in MapDpsErrorCode()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/
H A Ddeferred_video_processor.cpp79 void DeferredVideoProcessor::OnError(const int32_t userId, const std::string& videoId, DpsError err… in OnError()
83 if (errorCode == DpsError::DPS_ERROR_VIDEO_PROC_INTERRUPTED) { in OnError()
85 } else if (errorCode == DpsError::DPS_ERROR_VIDEO_PROC_INVALID_VIDEO_ID) { in OnError()
130 bool DeferredVideoProcessor::IsFatalError(DpsError errorCode) in IsFatalError()
133 if (errorCode == DpsError::DPS_ERROR_VIDEO_PROC_FAILED || in IsFatalError()
134 errorCode == DpsError::DPS_ERROR_VIDEO_PROC_INVALID_VIDEO_ID) { in IsFatalError()
H A Ddeferred_video_controller.cpp122 …Controller::HandleError(const int32_t userId, const DeferredVideoWorkPtr& work, DpsError errorCode) in HandleError()
126 if (errorCode == DpsError::DPS_ERROR_VIDEO_PROC_INTERRUPTED) { in HandleError()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/
H A Dsession_coordinator.h47 void OnError(const int32_t userId, const std::string& imageId, DpsError errorCode);
57 void OnVideoError(const int32_t userId, const std::string& videoId, DpsError errorCode);
77 DpsError errorCode;
88 DpsError errorCode;
98 DpsError errorCode;
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/photo_processor/
H A Ddeferred_photo_processor.cpp95 callbacks_->OnError(userId_, imageId, DpsError::DPS_ERROR_IMAGE_PROC_INVALID_PHOTO_ID); in ProcessImage()
161 void DeferredPhotoProcessor::OnError(const int32_t userId, const std::string& imageId, DpsError err… in OnError()
164 if (errorCode == DpsError::DPS_ERROR_IMAGE_PROC_INTERRUPTED && in OnError()
249 bool DeferredPhotoProcessor::IsFatalError(DpsError errorCode) in IsFatalError()
252 if (errorCode == DpsError::DPS_ERROR_IMAGE_PROC_FAILED || in IsFatalError()
253 errorCode == DpsError::DPS_ERROR_IMAGE_PROC_INVALID_PHOTO_ID) { in IsFatalError()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/
H A Dphoto_post_processor.cpp43 DpsError MapHdiError(OHOS::HDI::Camera::V1_2::ErrorCode errorCode) in MapHdiError()
45 DpsError code = DpsError::DPS_ERROR_IMAGE_PROC_ABNORMAL; in MapHdiError()
48 code = DpsError::DPS_ERROR_IMAGE_PROC_INVALID_PHOTO_ID; in MapHdiError()
51 code = DpsError::DPS_ERROR_IMAGE_PROC_FAILED; in MapHdiError()
54 code = DpsError::DPS_ERROR_IMAGE_PROC_TIMEOUT; in MapHdiError()
57 code = DpsError::DPS_ERROR_IMAGE_PROC_HIGH_TEMPERATURE; in MapHdiError()
60 code = DpsError::DPS_ERROR_IMAGE_PROC_ABNORMAL; in MapHdiError()
63 code = DpsError::DPS_ERROR_IMAGE_PROC_INTERRUPTED; in MapHdiError()
462 DpsError dpsErrorCode = MapHdiError(errorCode); in OnError()
677 if (errorCode == DpsError::DPS_ERROR_IMAGE_PROC_TIMEOUT) { in OnError()
[all …]
H A Dvideo_post_processor.cpp168 OnError(videoId, DpsError::DPS_ERROR_SESSION_NOT_READY_TEMPORARILY); in ProcessRequest()
366 void VideoPostProcessor::OnError(const std::string& videoId, DpsError errorCode) in OnError()
394 OnError(videoId, DpsError::DPS_ERROR_IMAGE_PROC_TIMEOUT); in OnTimerOut()
460 DpsError VideoPostProcessor::MapHdiError(OHOS::HDI::Camera::V1_2::ErrorCode errorCode) in MapHdiError()
462 DpsError code = DpsError::DPS_ERROR_UNKNOW; in MapHdiError()
465 code = DpsError::DPS_ERROR_VIDEO_PROC_INVALID_VIDEO_ID; in MapHdiError()
468 code = DpsError::DPS_ERROR_VIDEO_PROC_FAILED; in MapHdiError()
471 code = DpsError::DPS_ERROR_VIDEO_PROC_TIMEOUT; in MapHdiError()
474 code = DpsError::DPS_ERROR_VIDEO_PROC_INTERRUPTED; in MapHdiError()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/
H A Ddeferred_video_processor.h39 void OnError(const int32_t userId, const std::string& videoId, DpsError errorCode) override;
48 bool IsFatalError(DpsError errorCode);
H A Ddeferred_video_controller.h32 void HandleError(const int32_t userId, const DeferredVideoWorkPtr& work, DpsError errorCode);
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/post_processor/command/
H A Dvideo_process_command.h54 …VideoProcessFailedCommand(const int32_t userId, const DeferredVideoWorkPtr& work, DpsError errorCo…
61 DpsError error_;
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/photo_processor/
H A Ddeferred_photo_processor.h46 void OnError(const int32_t userId, const std::string& imageId, DpsError errorCode) override;
57 bool IsFatalError(DpsError errorCode);
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/post_processor/
H A Dvideo_post_processor.h70 void OnError(const std::string& videoId, DpsError errorCode);
74 DpsError MapHdiError(OHOS::HDI::Camera::V1_2::ErrorCode errorCode);
H A Dphoto_post_processor.h74 void OnError(const std::string& imageId, DpsError errorCode);
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/
H A Divideo_process_callbacks.h31 virtual void OnError(const int32_t userId, const std::string& videoId, DpsError errorCode) = 0;
H A Diimage_process_callbacks.h36 virtual void OnError(const int32_t userId, const std::string& imageId, DpsError errorCode) = 0;
H A Dbasic_definitions.h140 enum DpsError : int32_t { enum
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/command/
H A Dvideo_process_command.cpp73 const DeferredVideoWorkPtr& work, DpsError errorCode) in VideoProcessFailedCommand()