CaptureMoment
0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
halide_operation_worker.h
Go to the documentation of this file.
1
20
#pragma once
21
22
#include "
workers/interfaces/i_worker_request.h
"
23
#include "
pipeline/pipeline_context.h
"
24
25
#include <future>
26
#include <memory>
27
28
namespace
CaptureMoment::Core
{
29
30
namespace
Workers {
31
40
class
HalideOperationWorker
:
public
IWorkerRequest
{
41
public
:
47
HalideOperationWorker
() =
default
;
48
52
~HalideOperationWorker
()
override
=
default
;
53
66
[[nodiscard]] std::future<bool>
execute
(
67
Pipeline::PipelineContext
& context,
68
ImageProcessing::IWorkingImageHardware
& working_image)
override
;
69
};
70
71
}
// namespace Workers
72
73
}
// namespace CaptureMoment::Core*
CaptureMoment::Core::ImageProcessing::IWorkingImageHardware
Abstract interface representing an image used as a working buffer.
Definition
i_working_image_hardware.h:44
CaptureMoment::Core::Pipeline::PipelineContext
Central container for pipeline infrastructure.
Definition
pipeline_context.h:43
CaptureMoment::Core::Workers::HalideOperationWorker
Worker responsible for running pre-configured Halide pipelines.
Definition
halide_operation_worker.h:40
CaptureMoment::Core::Workers::HalideOperationWorker::HalideOperationWorker
HalideOperationWorker()=default
Constructor.
CaptureMoment::Core::Workers::HalideOperationWorker::~HalideOperationWorker
~HalideOperationWorker() override=default
Destructor.
CaptureMoment::Core::Workers::HalideOperationWorker::execute
std::future< bool > execute(Pipeline::PipelineContext &context, ImageProcessing::IWorkingImageHardware &working_image) override
Executes the Halide pipeline asynchronously.
Definition
halide_operation_worker.cpp:17
CaptureMoment::Core::Workers::IWorkerRequest
Base interface for all asynchronous processing workers.
Definition
i_worker_request.h:44
i_worker_request.h
Abstract interface for asynchronous image processing workers.
CaptureMoment::Core
Manages the lifecycle of a single IWorkingImage instance.
Definition
app_config.cpp:11
pipeline_context.h
Container for pipeline infrastructure (Builder and Managers).
CaptureMoment — footer