Files
test/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h
2023-06-15 13:35:34 +10:00

22 lines
534 B
C++

/* SPDX-FileCopyrightText: 2011 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "COM_DistanceRGBMatteOperation.h"
#include "COM_MixOperation.h"
namespace blender::compositor {
/**
* this program converts an input color to an output value.
* it assumes we are in sRGB color space.
*/
class DistanceYCCMatteOperation : public DistanceRGBMatteOperation {
protected:
float calculate_distance(const float key[4], const float image[4]) override;
};
} // namespace blender::compositor