|
Blender V4.5
|
Functions | |
| static void | cmp_node_channel_matte_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_channel_matte (bNodeTree *, bNode *node) |
| static void | node_composit_buts_channel_matte (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static CMPNodeChannelMatteColorSpace | get_color_space (const bNode &node) |
| static int | get_matte_channel (const bNode &node) |
| static int | get_limit_channel (const bNode &node) |
| static int2int2 | get_limit_channels (const bNode &node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| template<CMPNodeChannelMatteColorSpace ColorSpace> | |
| static void | channel_key (const float4 &color, const float min_limit, const float max_limit, const int matte_channel, const int2int2 limit_channels, float4 &result, float &matte) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 156 of file node_composite_channel_matte.cc.
References BLI_YCC_ITU_BT709, BLI_YUV_ITU_BT709, CMP_NODE_CHANNEL_MATTE_CS_HSV, CMP_NODE_CHANNEL_MATTE_CS_YCC, CMP_NODE_CHANNEL_MATTE_CS_YUV, blender::math::max(), blender::math::min(), result, rgb_to_hsv_v(), rgb_to_ycc(), and rgb_to_yuv().
Referenced by node_build_multi_function().
|
static |
Definition at line 33 of file node_composite_channel_matte.cc.
References b, cmp_node_channel_matte_declare(), blender::nodes::decl::Color::default_value, blender::nodes::decl::Float::default_value, max, min, and PROP_FACTOR.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 97 of file node_composite_channel_matte.cc.
References bNode::custom1.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 109 of file node_composite_channel_matte.cc.
Referenced by get_limit_channels().
|
static |
Definition at line 117 of file node_composite_channel_matte.cc.
References CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX, get_limit_channel(), and get_matte_channel().
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 103 of file node_composite_channel_matte.cc.
References bNode::custom2.
Referenced by get_limit_channels(), node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 199 of file node_composite_channel_matte.cc.
References channel_key(), CMP_NODE_CHANNEL_MATTE_CS_HSV, CMP_NODE_CHANNEL_MATTE_CS_RGB, CMP_NODE_CHANNEL_MATTE_CS_YCC, CMP_NODE_CHANNEL_MATTE_CS_YUV, blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn_cb(), get_color_space(), get_limit_channels(), get_matte_channel(), and blender::nodes::NodeMultiFunctionBuilder::node().
|
static |
Definition at line 63 of file node_composite_channel_matte.cc.
References col, uiLayout::column(), IFACE_, uiLayout::label(), uiLayout::prop(), ptr, RNA_enum_get(), uiLayout::row(), UI_ITEM_R_EXPAND, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 53 of file node_composite_channel_matte.cc.
References NodeChroma::algorithm, NodeChroma::channel, bNode::custom1, bNode::custom2, MEM_callocN(), and bNode::storage.
|
static |
Definition at line 135 of file node_composite_channel_matte.cc.
References get_color_space(), get_limit_channels(), get_matte_channel(), GPU_constant(), GPU_stack_link(), inputs, and outputs.