38 [[nodiscard]]
const char*
name()
const override {
return "Blacks"; }
87 const Halide::Func& input_func,
91 const Halide::Param<float>& param
Interface for providing the Halide fusion logic of an operation.
Adjusts the black point of an image region.
Halide::Func appendToFusedPipeline(const Halide::Func &input_func, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c, const Halide::Param< float > ¶m) const override
Appends this operation's logic to a fused Halide pipeline. This method is used by the PipelineBuilder...
OperationType type() const override
Gets the unique type identifier of the operation.
static constexpr float MAX_BLACKS_VALUE
Maximum allowed blacks value. Defined by OperationRanges::getBlacksMaxValue().
const char * name() const override
Gets the constant name of the operation.
static constexpr float MIN_BLACKS_VALUE
Minimum allowed blacks value. Defined by OperationRanges::getBlacksMinValue().
static constexpr float DEFAULT_BLACKS_VALUE
Default blacks value. Defined by OperationRanges::getBlacksDefaultValue().
Interface for providing the Halide fusion logic of an operation.
OperationType
Identifies the type of an image processing operation.
@ Blacks
Blacks adjustment. Adjusts the luminosity of the black point of the image. Increasing blacks makes th...
Manages the lifecycle of a single IWorkingImage instance.
Declaration of the OperationRanges struct.
static consteval float getBlacksMinValue()
Gets the minimum allowed value for the Blacks operation.
static consteval float getBlacksMaxValue()
Gets the maximum allowed value for the Blacks operation.
static consteval float getBlacksDefaultValue()
Gets the default value for the Blacks operation.