Home
last modified time | relevance | path

Searched refs:taskManager_ (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/photo_session/
H A Ddeferred_photo_processing_session.cpp32 taskManager_(taskManager), in DeferredPhotoProcessingSession()
44 taskManager_ = nullptr; in ~DeferredPhotoProcessingSession()
103 taskManager_->SubmitTask([this, imageId, discardable, metadata]() { in AddImage()
118 taskManager_->SubmitTask([this, imageId, restorable]() { in RemoveImage()
133 taskManager_->SubmitTask([this, imageId]() { in RestoreImage()
148 taskManager_->SubmitTask([this, appName, imageId]() { in ProcessImage()
163 taskManager_->SubmitTask([this, imageId]() { in CancelProcessImage()
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dmoving_photo_video_cache.cpp40 taskManager_ = nullptr; in ~MovingPhotoVideoCache()
46 MovingPhotoVideoCache::MovingPhotoVideoCache(sptr<AvcodecTaskManager> taskManager) : taskManager_(taskManager) in MovingPhotoVideoCache()
54 if (taskManager_) { in CacheFrame()
57 taskManager_->EncodeVideoBuffer(frameRecord, [thisPtr](sptr<FrameRecord> frameRecord, bool encodeResult) { in CacheFrame()
73 if (taskManager_) { in DoMuxerVideo()
74 taskManager_->DoMuxerVideo(frameRecords, taskName, rotation); in DoMuxerVideo()
76 taskManager_->SubmitTask([thisPtr]() { in DoMuxerVideo()
H A Davcodec_task_manager.cpp71 if (taskManager_ == nullptr && isActive_.load()) { in GetTaskManager()
72 taskManager_ = make_unique<TaskManager>("AvcodecTaskManager", DEFAULT_THREAD_NUMBER, false); in GetTaskManager()
74 return taskManager_; in GetTaskManager()
346 if (taskManager_ != nullptr) { in ClearTaskResource()
347 taskManager_->CancelAllTasks(); in ClearTaskResource()
348 taskManager_.reset(); in ClearTaskResource()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/photo_processor/
H A Ddeferred_photo_processor.cpp27 taskManager_(taskManager), in DeferredPhotoProcessor()
40 taskManager_ = nullptr; in ~DeferredPhotoProcessor()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/photo_session/
H A Ddeferred_photo_processing_session.h59 TaskManager* taskManager_; member in OHOS::CameraStandard::DeferredProcessing::DeferredPhotoProcessingSession
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/
H A Dmoving_photo_video_cache.h58 sptr<AvcodecTaskManager> taskManager_; member in OHOS::CameraStandard::MovingPhotoVideoCache
H A Davcodec_task_manager.h73 shared_ptr<TaskManager> taskManager_ = nullptr; member in OHOS::CameraStandard::AvcodecTaskManager
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/photo_processor/
H A Ddeferred_photo_processor.h60 TaskManager* taskManager_; member in OHOS::CameraStandard::DeferredProcessing::DeferredPhotoProcessor
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/post_processor/
H A Dphoto_post_processor.h82 TaskManager* taskManager_; member in OHOS::CameraStandard::DeferredProcessing::IveResult::IveErrorCode::IveStateCode::PhotoPostProcessor
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/
H A Dphoto_post_processor.cpp503 taskManager_(taskManager), in PhotoPostProcessor()
520 taskManager_ = nullptr; in ~PhotoPostProcessor()
655 taskManager_->SubmitTask([this, imageId, bufferInfo = std::move(bufferInfo)]() { in OnProcessDone()
667 taskManager_->SubmitTask([this, imageId, bufferInfo = std::move(bufferInfo)]() { in OnProcessDoneExt()
687 taskManager_->SubmitTask([this, imageId, errorCode]() { in OnError()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcapture_session.cpp760 if (!taskManager_ && audioCapturerSession_) { in ExpandMovingPhotoRepeatStream()
761 taskManager_ = new AvcodecTaskManager(audioCapturerSession_, videoCodecType); in ExpandMovingPhotoRepeatStream()
763 if (!videoCache_ && taskManager_) { in ExpandMovingPhotoRepeatStream()
764 videoCache_ = new MovingPhotoVideoCache(taskManager_); in ExpandMovingPhotoRepeatStream()
869 if (taskManager_) { in StopMovingPhoto()
870 taskManager_->Stop(); in StopMovingPhoto()
1475 if (taskManager_) { in Release()
1476 taskManager_->ClearTaskResource(); in Release()
1477 taskManager_ = nullptr; in Release()
1759 if (!isBursting && isSetMotionPhoto_ && taskManager_) { in CreateMediaLibrary()
[all...]
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dphoto_output_napi.h161 std::shared_ptr<DeferredProcessing::TaskManager> taskManager_; member in OHOS::CameraStandard::PhotoListener
191 std::shared_ptr<DeferredProcessing::TaskManager> taskManager_; member in OHOS::CameraStandard::AuxiliaryPhotoListener
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcapture_session.h351 sptr<AvcodecTaskManager> taskManager_; member in OHOS::OHOS::CameraStandard::HCaptureSession
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp182 if (taskManager_ == nullptr) { in PhotoListener()
184 taskManager_ = std::make_shared<DeferredProcessing::TaskManager>("PhotoListener", in PhotoListener()
203 if (taskManager_ == nullptr) { in AuxiliaryPhotoListener()
205 taskManager_ = std::make_shared<DeferredProcessing::TaskManager>("AuxiliaryPhotoListener_" + surfaceName, in AuxiliaryPhotoListener()
394 taskManager_->SubmitTask([this]() { in OnBufferAvailable()
555 taskManager_->SubmitTask([this]() { in OnBufferAvailable()

Completed in 16 milliseconds