blob: c3a38bc25a7d8fc17b1f54ae79d8a3b590628bf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2011 Blender Foundation. */
#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
|