|
Blender V4.3
|
Inherits blender::realtime_compositor::NodeOperation.
Public Member Functions | |
| void | execute () override |
| void | execute_single_value () |
| float | compute_mean () |
| float | compute_sum () |
| float | compute_standard_deviation (float mean) |
| float | compute_sum_squared_difference (float subtrahend) |
| CMPNodeLevelsChannel | get_channel () |
| NodeOperation (Context &context, DNode node) | |
Public Member Functions inherited from blender::realtime_compositor::NodeOperation | |
| NodeOperation (Context &context, DNode node) | |
| void | evaluate () override |
| void | compute_results_reference_counts (const Schedule &schedule) |
Public Member Functions inherited from blender::realtime_compositor::Operation | |
| Operation (Context &context) | |
| virtual | ~Operation () |
| Result & | get_result (StringRef identifier) |
| void | map_input_to_result (StringRef identifier, Result *result) |
Additional Inherited Members | |
Protected Member Functions inherited from blender::realtime_compositor::NodeOperation | |
| void | compute_preview () override |
| const DNode & | node () const |
| const bNode & | bnode () const |
| bool | should_compute_output (StringRef identifier) |
Protected Member Functions inherited from blender::realtime_compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | add_and_evaluate_input_processors () |
| void | add_and_evaluate_input_processor (StringRef identifier, SimpleOperation *processor) |
| Result & | get_input (StringRef identifier) const |
| void | switch_result_mapped_to_input (StringRef identifier, Result *result) |
| void | populate_result (StringRef identifier, Result result) |
| void | declare_input_descriptor (StringRef identifier, InputDescriptor descriptor) |
| InputDescriptor & | get_input_descriptor (StringRef identifier) |
| Context & | context () const |
| TexturePool & | texture_pool () const |
Definition at line 50 of file node_composite_levels.cc.
|
inline |
Definition at line 121 of file node_composite_levels.cc.
References compute_sum(), and blender::realtime_compositor::Operation::get_input().
Referenced by execute().
|
inline |
Definition at line 150 of file node_composite_levels.cc.
References compute_sum_squared_difference(), blender::realtime_compositor::Operation::get_input(), and sum().
Referenced by execute().
|
inline |
Definition at line 127 of file node_composite_levels.cc.
References BLI_assert_unreachable, CMP_NODE_LEVLES_BLUE, CMP_NODE_LEVLES_GREEN, CMP_NODE_LEVLES_LUMINANCE, CMP_NODE_LEVLES_LUMINANCE_BT709, CMP_NODE_LEVLES_RED, blender::realtime_compositor::Operation::context(), get_channel(), blender::realtime_compositor::Operation::get_input(), IMB_colormanagement_get_luminance_coefficients(), blender::realtime_compositor::sum_blue(), blender::realtime_compositor::sum_green(), blender::realtime_compositor::sum_luminance(), and blender::realtime_compositor::sum_red().
Referenced by compute_mean().
|
inline |
Definition at line 157 of file node_composite_levels.cc.
References BLI_assert_unreachable, CMP_NODE_LEVLES_BLUE, CMP_NODE_LEVLES_GREEN, CMP_NODE_LEVLES_LUMINANCE, CMP_NODE_LEVLES_LUMINANCE_BT709, CMP_NODE_LEVLES_RED, blender::realtime_compositor::Operation::context(), get_channel(), blender::realtime_compositor::Operation::get_input(), IMB_colormanagement_get_luminance_coefficients(), blender::realtime_compositor::sum_blue_squared_difference(), blender::realtime_compositor::sum_green_squared_difference(), blender::realtime_compositor::sum_luminance_squared_difference(), and blender::realtime_compositor::sum_red_squared_difference().
Referenced by compute_standard_deviation().
|
inlineoverridevirtual |
Implements blender::realtime_compositor::Operation.
Definition at line 57 of file node_composite_levels.cc.
References blender::realtime_compositor::Result::allocate_single_value(), compute_mean(), compute_standard_deviation(), execute_single_value(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Operation::get_result(), blender::realtime_compositor::Result::set_float_value(), and blender::realtime_compositor::Result::should_compute().
|
inline |
Definition at line 80 of file node_composite_levels.cc.
References blender::realtime_compositor::Result::allocate_single_value(), BLI_assert_unreachable, CMP_NODE_LEVLES_BLUE, CMP_NODE_LEVLES_GREEN, CMP_NODE_LEVLES_LUMINANCE, CMP_NODE_LEVLES_LUMINANCE_BT709, CMP_NODE_LEVLES_RED, blender::math::dot(), get_channel(), blender::realtime_compositor::Operation::get_input(), blender::realtime_compositor::Operation::get_result(), IMB_colormanagement_get_luminance_coefficients(), blender::realtime_compositor::Result::set_float_value(), and blender::realtime_compositor::Result::should_compute().
Referenced by execute().
|
inline |
Definition at line 182 of file node_composite_levels.cc.
References blender::realtime_compositor::NodeOperation::bnode(), and bNode::custom1.
Referenced by compute_sum(), compute_sum_squared_difference(), and execute_single_value().
Definition at line 39 of file node_operation.cc.