CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
working_image_cpu_default.h
Go to the documentation of this file.
1
21#pragma once
22
25
26#include <memory>
27#include <expected>
28
29namespace CaptureMoment::Core {
30
31namespace ImageProcessing {
32
38public:
41
43 ~WorkingImageCPU_Default() override = default;
44
45 // ============================================================
46 // IWorkingImageHardware Overrides
47 // ============================================================
52 [[nodiscard]] std::expected<std::unique_ptr<Common::ImageRegion>, ErrorHandling::CoreError>
53 getFullResImage() override;
54};
55
56} // namespace ImageProcessing
57
58} // namespace CaptureMoment::Core
Fallback CPU backend operating directly on the Context's memory view.
~WorkingImageCPU_Default() override=default
Virtual destructor.
std::expected< std::unique_ptr< Common::ImageRegion >, ErrorHandling::CoreError > getFullResImage() override
Exports current working data to a new CPU-based ImageRegion.
Class extending IWorkingImageHardware for CPU-specific implementations. This class defines the base c...
Central error handling system for CaptureMoment Core library.
@ ImageProcessing
Errors related to Image Processing, GPU, or Memory.
CoreError
Enumeration of all error codes for CaptureMoment Core.
Definition core_error.h:36
Manages the lifecycle of a single IWorkingImage instance.
Image working buffers stored on the CPU.
CaptureMoment — footer