|
Blender V5.3
|
Typedefs | |
| using | Color |
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 | node_declare (NodeDeclarationBuilder &b) |
| static void | node_init (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 (nodes::NodeMultiFunctionBuilder &builder) |
| static void | node_register () |
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 [] |
Definition at line 96 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| H | |
| S | |
| V | |
Definition at line 57 of file node_composite_channel_key.cc.
|
strong |
| Enumerator | |
|---|---|
| R | |
| G | |
| B | |
Definition at line 44 of file node_composite_channel_key.cc.
|
strong |
| Enumerator | |
|---|---|
| Y | |
| Cb | |
| Cr | |
Definition at line 83 of file node_composite_channel_key.cc.
|
strong |
| Enumerator | |
|---|---|
| Y | |
| U | |
| V | |
Definition at line 70 of file node_composite_channel_key.cc.
|
static |
Definition at line 340 of file node_composite_channel_key.cc.
References channel_key(), compute_channels(), compute_limit_channels(), blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_channel_index(), blender::gpu::shader::metadata::int2, blender::math::max(), and blender::math::min().
Referenced by channel_key(), and node_build_multi_function().
|
static |
Definition at line 276 of file node_composite_channel_key.cc.
References BLI_YCC_ITU_BT709, BLI_YUV_ITU_BT709, blender::CMP_NODE_CHANNEL_MATTE_CS_HSV, blender::CMP_NODE_CHANNEL_MATTE_CS_RGB, blender::CMP_NODE_CHANNEL_MATTE_CS_YCC, blender::CMP_NODE_CHANNEL_MATTE_CS_YUV, compute_channels(), blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::rgb_to_hsv_v(), blender::rgb_to_ycc(), and blender::rgb_to_yuv().
Referenced by channel_key(), and compute_channels().
|
static |
Definition at line 326 of file node_composite_channel_key.cc.
References blender::CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX, compute_limit_channels(), and blender::gpu::shader::metadata::int2.
Referenced by channel_key(), and compute_limit_channels().
|
static |
Definition at line 303 of file node_composite_channel_key.cc.
References blender::CMP_NODE_CHANNEL_MATTE_CS_HSV, blender::CMP_NODE_CHANNEL_MATTE_CS_RGB, blender::CMP_NODE_CHANNEL_MATTE_CS_YCC, blender::CMP_NODE_CHANNEL_MATTE_CS_YUV, and get_channel_index().
Referenced by channel_key(), and get_channel_index().
|
static |
Definition at line 383 of file node_composite_channel_key.cc.
References channel_key(), float, blender::gpu::shader::metadata::float4, node_build_multi_function(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and blender::nodes::MenuValue::value.
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 110 of file node_composite_channel_key.cc.
References b, BLT_I18NCONTEXT_COLOR, Cb, blender::CMP_NODE_CHANNEL_MATTE_CS_HSV, blender::CMP_NODE_CHANNEL_MATTE_CS_RGB, blender::CMP_NODE_CHANNEL_MATTE_CS_YCC, blender::CMP_NODE_CHANNEL_MATTE_CS_YUV, blender::CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_MAX, blender::CMP_NODE_CHANNEL_MATTE_LIMIT_ALGORITHM_SINGLE, color_space_items, Cr, G, H, hsv_channel_items, limit_method_items, blender::nodes::socket_usage_inference::SocketUsageParams::menu_input_may_be(), node, node_declare(), blender::bke::node_find_socket(), blender::nodes::SocketDeclaration::optional_label, blender::PROP_FACTOR, R, rgb_channel_items, S, blender::SOCK_IN, blender::nodes::decl::Float::subtype, blender::nodes::SocketDeclaration::translation_context, U, V, ycbcr_channel_items, and yuv_channel_items.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 267 of file node_composite_channel_key.cc.
References blender::GPU_stack_link(), node, and node_gpu_material().
Referenced by node_gpu_material(), and node_register().
Definition at line 259 of file node_composite_channel_key.cc.
References node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 439 of file node_composite_channel_key.cc.
References blender::bke::bNodeType::build_multi_function, CMP_NODE_CHANNEL_MATTE, blender::cmp_node_type_base(), blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::flag, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_MATTE, blender::node_copy_standard_storage(), node_declare(), blender::node_free_standard_storage(), node_gpu_material(), node_init(), blender::NODE_PREVIEW, node_register(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 24 of file node_composite_channel_key.cc.
Referenced by node_declare().
|
static |
Definition at line 63 of file node_composite_channel_key.cc.
Referenced by node_declare().
|
static |
Definition at line 96 of file node_composite_channel_key.cc.
Referenced by node_declare().
|
static |
Definition at line 50 of file node_composite_channel_key.cc.
Referenced by node_declare().
|
static |
Definition at line 89 of file node_composite_channel_key.cc.
Referenced by node_declare().
|
static |
Definition at line 76 of file node_composite_channel_key.cc.
Referenced by node_declare().