|
Blender V5.0
|
Enumerations | |
| enum class | RGBChannel : uint8_t { R = 0 , G = 1 , B = 2 } |
| enum class | HSVChannel : uint8_t { H = 0 , S = 1 , V = 2 } |
| enum class | YUVChannel : uint8_t { Y = 0 , U = 1 , V = 2 } |
| enum class | YCbCrChannel : uint8_t { Y = 0 , Cb = 1 , Cr = 2 } |
Functions | |
| static void | cmp_node_channel_matte_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_channel_matte (bNodeTree *, bNode *node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static float3 | compute_channels (const float4 color, const CMPNodeChannelMatteColorSpace color_space) |
| static int | get_channel_index (const CMPNodeChannelMatteColorSpace color_space, const int rgb_channel, const int hsv_channel, const int yuv_channel, const int ycc_channel) |
| static int2 | compute_limit_channels (const CMPNodeChannelMatteLimitAlgorithm limit_method, const int matte_channel, const int limit_channel) |
| static void | channel_key (const float4 color, const float minimum, const float maximum, const CMPNodeChannelMatteColorSpace color_space, const int rgb_key_channel, const int hsv_key_channel, const int yuv_key_channel, const int ycc_key_channel, const CMPNodeChannelMatteLimitAlgorithm limit_method, const int rgb_limit_channel, const int hsv_limit_channel, const int yuv_limit_channel, const int ycc_limit_channel, float4 &output_color, float &matte) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
Variables | |
| static const EnumPropertyItem | color_space_items [] |
| static const EnumPropertyItem | rgb_channel_items [] |
| static const EnumPropertyItem | hsv_channel_items [] |
| static const EnumPropertyItem | yuv_channel_items [] |
| static const EnumPropertyItem | ycbcr_channel_items [] |
| static const EnumPropertyItem | limit_method_items [] |
|
strong |
| Enumerator | |
|---|---|
| H | |
| S | |
| V | |
Definition at line 55 of file node_composite_channel_matte.cc.
|
strong |
| Enumerator | |
|---|---|
| R | |
| G | |
| B | |
Definition at line 42 of file node_composite_channel_matte.cc.
|
strong |
| Enumerator | |
|---|---|
| Y | |
| Cb | |
| Cr | |
Definition at line 81 of file node_composite_channel_matte.cc.
|
strong |
| Enumerator | |
|---|---|
| Y | |
| U | |
| V | |
Definition at line 68 of file node_composite_channel_matte.cc.
|
static |
Definition at line 338 of file node_composite_channel_matte.cc.
References compute_channels(), compute_limit_channels(), get_channel_index(), blender::math::max(), and blender::math::min().
Referenced by node_build_multi_function().
|
static |
Definition at line 108 of file node_composite_channel_matte.cc.
References b, BLT_I18NCONTEXT_COLOR, Cb, CMP_NODE_CHANNEL_MATTE_CS_HSV, CMP_NODE_CHANNEL_MATTE_CS_RGB, CMP_NODE_CHANNEL_MATTE_CS_YCC, CMP_NODE_CHANNEL_MATTE_CS_YUV, CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX, CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_SINGLE, color_space_items, Cr, G, H, hsv_channel_items, limit_method_items, blender::bke::node_find_socket(), blender::nodes::SocketDeclaration::optional_label, params, PROP_FACTOR, R, rgb_channel_items, S, SOCK_IN, blender::nodes::decl::Float::subtype, blender::nodes::SocketDeclaration::translation_context, U, V, ycbcr_channel_items, and yuv_channel_items.
|
static |
Definition at line 274 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_RGB, CMP_NODE_CHANNEL_MATTE_CS_YCC, CMP_NODE_CHANNEL_MATTE_CS_YUV, rgb_to_hsv_v(), rgb_to_ycc(), rgb_to_yuv(), and blender::VecBase< T, Size >::xyz().
Referenced by channel_key().
|
static |
Definition at line 324 of file node_composite_channel_matte.cc.
References CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX.
Referenced by channel_key().
|
static |
Definition at line 301 of file node_composite_channel_matte.cc.
References CMP_NODE_CHANNEL_MATTE_CS_HSV, CMP_NODE_CHANNEL_MATTE_CS_RGB, CMP_NODE_CHANNEL_MATTE_CS_YCC, and CMP_NODE_CHANNEL_MATTE_CS_YUV.
Referenced by channel_key().
|
static |
Definition at line 379 of file node_composite_channel_matte.cc.
References channel_key(), float, blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and blender::nodes::MenuValue::value.
|
static |
Definition at line 257 of file node_composite_channel_matte.cc.
References MEM_callocN(), and bNode::storage.
|
static |
Definition at line 265 of file node_composite_channel_matte.cc.
References GPU_stack_link(), inputs, and outputs.
|
static |
Definition at line 22 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 61 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 94 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 48 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 87 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().
|
static |
Definition at line 74 of file node_composite_channel_matte.cc.
Referenced by cmp_node_channel_matte_declare().