|
Blender V5.0
|
Inherits blender::compositor::NodeOperation.
Additional Inherited Members | |
| Protected Member Functions inherited from blender::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::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 |
Definition at line 108 of file node_composite_scale.cc.
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 112 of file node_composite_scale.cc.
References execute_constant_size(), execute_variable_size(), and is_variable_size().
|
inline |
Definition at line 122 of file node_composite_scale.cc.
References blender::compositor::RealizationOptions::extension_x, blender::compositor::RealizationOptions::extension_y, blender::math::from_scale(), get_extension_mode_x(), get_extension_mode_y(), blender::compositor::Operation::get_input(), get_interpolation(), blender::compositor::Result::get_realization_options(), blender::compositor::Operation::get_result(), get_scale(), input, output, and blender::compositor::Result::share_data().
Referenced by execute().
|
inline |
Definition at line 137 of file node_composite_scale.cc.
References blender::compositor::Operation::context(), execute_variable_size_cpu(), and execute_variable_size_gpu().
Referenced by execute().
|
inline |
Definition at line 187 of file node_composite_scale.cc.
References blender::compositor::Operation::compute_domain(), get_extension_mode_x(), get_extension_mode_y(), blender::compositor::Operation::get_input(), get_interpolation(), blender::compositor::Operation::get_result(), input, blender::compositor::Result::load_pixel(), blender::math::max(), output, blender::compositor::parallel_for(), blender::compositor::Domain::size, and size().
Referenced by execute_variable_size().
|
inline |
Definition at line 147 of file node_composite_scale.cc.
References blender::compositor::Bicubic, blender::compositor::Bilinear, blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), ELEM, get_extension_mode_x(), get_extension_mode_y(), blender::compositor::Operation::get_input(), get_interpolation(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_extend_mode_x(), GPU_texture_extend_mode_y(), GPU_texture_filter_mode(), input, blender::compositor::map_extension_mode_to_extend_mode(), output, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_texture().
Referenced by execute_variable_size().
|
inline |
Definition at line 243 of file node_composite_scale.cc.
References blender::compositor::Clip, CMP_NODE_EXTENSION_MODE_CLIP, CMP_NODE_EXTENSION_MODE_EXTEND, CMP_NODE_EXTENSION_MODE_REPEAT, blender::compositor::Extend, blender::compositor::Operation::get_input(), input, blender::compositor::Repeat, and blender::nodes::MenuValue::value.
Referenced by execute_constant_size(), execute_variable_size_cpu(), and execute_variable_size_gpu().
|
inline |
Definition at line 261 of file node_composite_scale.cc.
References blender::compositor::Clip, CMP_NODE_EXTENSION_MODE_CLIP, CMP_NODE_EXTENSION_MODE_EXTEND, CMP_NODE_EXTENSION_MODE_REPEAT, blender::compositor::Extend, blender::compositor::Operation::get_input(), input, blender::compositor::Repeat, and blender::nodes::MenuValue::value.
Referenced by execute_constant_size(), execute_variable_size_cpu(), and execute_variable_size_gpu().
|
inline |
Definition at line 386 of file node_composite_scale.cc.
References CMP_NODE_SCALE_RENDER_SIZE_STRETCH, blender::compositor::Operation::get_input(), input, and blender::nodes::MenuValue::value.
Referenced by get_scale_render_size().
|
inline |
Definition at line 224 of file node_composite_scale.cc.
References blender::compositor::Bicubic, blender::compositor::Bilinear, CMP_NODE_INTERPOLATION_ANISOTROPIC, CMP_NODE_INTERPOLATION_BICUBIC, CMP_NODE_INTERPOLATION_BILINEAR, CMP_NODE_INTERPOLATION_NEAREST, blender::compositor::Operation::get_input(), input, blender::compositor::Nearest, and blender::nodes::MenuValue::value.
Referenced by execute_constant_size(), execute_variable_size_cpu(), execute_variable_size_gpu(), and get_shader_name().
|
inline |
Definition at line 279 of file node_composite_scale.cc.
References CMP_NODE_SCALE_ABSOLUTE, CMP_NODE_SCALE_RELATIVE, CMP_NODE_SCALE_RENDER_PERCENT, CMP_NODE_SCALE_RENDER_SIZE, get_scale_absolute(), get_scale_relative(), get_scale_render_percent(), get_scale_render_size(), and get_type().
Referenced by execute_constant_size().
|
inline |
Definition at line 303 of file node_composite_scale.cc.
References blender::compositor::Operation::get_input(), and size().
Referenced by get_scale().
|
inline |
Definition at line 296 of file node_composite_scale.cc.
References blender::compositor::Operation::get_input().
Referenced by get_scale().
|
inline |
Definition at line 312 of file node_composite_scale.cc.
References blender::compositor::Operation::context().
Referenced by get_scale().
|
inline |
Definition at line 317 of file node_composite_scale.cc.
References CMP_NODE_SCALE_RENDER_SIZE_CROP, CMP_NODE_SCALE_RENDER_SIZE_FIT, CMP_NODE_SCALE_RENDER_SIZE_STRETCH, blender::compositor::Operation::context(), get_frame_type(), get_scale_render_size_crop(), get_scale_render_size_fit(), and get_scale_render_size_stretch().
Referenced by get_scale().
|
inline |
Definition at line 360 of file node_composite_scale.cc.
References blender::compositor::Operation::context(), blender::compositor::Operation::get_input(), blender::math::max(), and size().
Referenced by get_scale_render_size().
|
inline |
Definition at line 348 of file node_composite_scale.cc.
References blender::compositor::Operation::context(), blender::compositor::Operation::get_input(), blender::math::min(), and size().
Referenced by get_scale_render_size().
|
inline |
Definition at line 337 of file node_composite_scale.cc.
References blender::compositor::Operation::context(), blender::compositor::Operation::get_input(), and size().
Referenced by get_scale_render_size().
|
inline |
Definition at line 216 of file node_composite_scale.cc.
References blender::compositor::Bicubic, and get_interpolation().
Referenced by execute_variable_size_gpu().
|
inline |
Definition at line 378 of file node_composite_scale.cc.
References CMP_NODE_SCALE_RELATIVE, blender::compositor::Operation::get_input(), input, and blender::nodes::MenuValue::value.
Referenced by get_scale(), and is_variable_size().
|
inline |
Definition at line 368 of file node_composite_scale.cc.
References CMP_NODE_SCALE_RELATIVE, blender::compositor::Operation::get_input(), get_type(), and blender::compositor::Result::is_single_value().
Referenced by execute().
| blender::compositor::NodeOperation::NodeOperation | ( | Context & | context, |
| DNode | node ) |
Definition at line 39 of file node_operation.cc.