CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
i_backend_decider.h
Go to the documentation of this file.
1
14#pragma once
15
17
18namespace CaptureMoment::Core {
19
20namespace ImageProcessing {
21
41public:
49 virtual ~IBackendDecider() = default;
50
67 [[nodiscard]] virtual Common::MemoryType decide() = 0;
68
69protected:
77 IBackendDecider() = default;
78};
79
80} // namespace ImageProcessing
81
82} // namespace CaptureMoment::Core
Abstract interface defining the strategy for hardware backend selection.
IBackendDecider()=default
Protected constructor.
virtual Common::MemoryType decide()=0
Decides the optimal hardware backend (CPU or GPU) for image processing.
virtual ~IBackendDecider()=default
Virtual destructor.
Enum representing the memory type where image data is stored (CPU or GPU).
MemoryType
Enum representing the memory type where image data is stored.
Definition memory_type.h:24
@ ImageProcessing
Errors related to Image Processing, GPU, or Memory.
Manages the lifecycle of a single IWorkingImage instance.
CaptureMoment — footer