|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Abstract interface representing an image used as a working buffer, abstracting hardware location. More...
#include "common/types/memory_type.h"#include "common/image_region.h"#include "common/error_handling/core_error.h"#include "common/types/image_types.h"#include "image_processing/common/image_view.h"#include <memory>#include <expected>#include <span>
Include dependency graph for i_working_image_hardware.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| interface | CaptureMoment::Core::ImageProcessing::IWorkingImageHardware |
| Abstract interface representing an image used as a working buffer. More... | |
Namespaces | |
| namespace | CaptureMoment |
| namespace | CaptureMoment::Core |
| Manages the lifecycle of a single IWorkingImage instance. | |
| namespace | CaptureMoment::Core::ImageProcessing |
Abstract interface representing an image used as a working buffer, abstracting hardware location.
This interface abstracts the underlying hardware storage location (CPU RAM or GPU memory) of the image data. It provides a unified set of operations that can be performed on the image data regardless of its physical location.
Implementations (e.g., WorkingImageCPU, WorkingImageGPU) handle the specifics of memory allocation, data transfer, and operations based on their designated hardware location.
Error Handling: Methods use std::expected instead of exceptions or null pointers for robust error reporting.
Definition in file i_working_image_hardware.h.