/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/ |
H A D | session_coordinator.cpp | 29 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 D | deferred_video_processor.cpp | 79 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 D | deferred_video_controller.cpp | 122 …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 D | session_coordinator.h | 47 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 D | deferred_photo_processor.cpp | 95 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 D | photo_post_processor.cpp | 43 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 D | video_post_processor.cpp | 168 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 D | deferred_video_processor.h | 39 void OnError(const int32_t userId, const std::string& videoId, DpsError errorCode) override; 48 bool IsFatalError(DpsError errorCode);
|
H A D | deferred_video_controller.h | 32 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 D | video_process_command.h | 54 …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 D | deferred_photo_processor.h | 46 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 D | video_post_processor.h | 70 void OnError(const std::string& videoId, DpsError errorCode); 74 DpsError MapHdiError(OHOS::HDI::Camera::V1_2::ErrorCode errorCode);
|
H A D | photo_post_processor.h | 74 void OnError(const std::string& imageId, DpsError errorCode);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/ |
H A D | ivideo_process_callbacks.h | 31 virtual void OnError(const int32_t userId, const std::string& videoId, DpsError errorCode) = 0;
|
H A D | iimage_process_callbacks.h | 36 virtual void OnError(const int32_t userId, const std::string& imageId, DpsError errorCode) = 0;
|
H A D | basic_definitions.h | 140 enum DpsError : int32_t { enum
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/command/ |
H A D | video_process_command.cpp | 73 const DeferredVideoWorkPtr& work, DpsError errorCode) in VideoProcessFailedCommand()
|