|
Blender V5.3
|
Inherits blender::compositor::NodeOperation.
Additional Inherited Members | |
| Protected Member Functions inherited from blender::compositor::NodeOperation | |
| void | add_warning (nodes::NodeWarningType type, std::string message) |
| void | log_data () override |
| const bNode & | node () const |
| Protected Member Functions inherited from blender::compositor::Operation | |
| virtual Domain | compute_domain () |
| virtual void | evaluate_input_processors () |
| void | populate_result (StringRef identifier, ResultType type) |
| void | declare_input_descriptor (StringRef identifier, InputDescriptor descriptordescriptor) |
| InputDescriptor & | get_input_descriptor (StringRef identifier) |
| void | allocate_default_remaining_outputs () |
Definition at line 297 of file node_composite_lens_distortion.cc.
|
inline |
Definition at line 466 of file node_composite_lens_distortion.cc.
References blender::clamp_f(), DISTORTION_SCALE, blender::gpu::shader::metadata::float3, get_dispersion(), get_distortion(), MINIMUM_DISTORTION, and RADIAL_DISPERSION_SCALE.
Referenced by compute_scale(), execute_radial_distortion_cpu(), and execute_radial_distortion_gpu().
|
inline |
Definition at line 480 of file node_composite_lens_distortion.cc.
References compute_chromatic_distortion(), DISTORTION_SCALE, blender::gpu::shader::metadata::float3, and get_is_fit().
Referenced by execute_radial_distortion_cpu(), and execute_radial_distortion_gpu().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 301 of file node_composite_lens_distortion.cc.
References blender::CMP_NODE_LENS_DISTORTION_HORIZONTAL, blender::CMP_NODE_LENS_DISTORTION_RADIAL, execute_horizontal_distortion(), execute_radial_distortion(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), get_type(), is_identity(), and output.
|
inline |
Definition at line 323 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::context(), execute_horizontal_distortion_cpu(), and execute_horizontal_distortion_gpu().
Referenced by execute().
|
inline |
Definition at line 359 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::compute_domain(), blender::compositor::Domain::data_size, blender::math::dot(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_dispersion(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), HORIZONTAL_DISPERSION_SCALE, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), output, blender::compositor::parallel_for(), and blender::compositor::Result::sample_bilinear_zero().
Referenced by execute_horizontal_distortion().
|
inline |
Definition at line 333 of file node_composite_lens_distortion.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, get_dispersion(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), blender::GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::GPU_texture_extend_mode(), blender::GPU_texture_filter_mode(), HORIZONTAL_DISPERSION_SCALE, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by execute_horizontal_distortion().
|
inline |
Definition at line 387 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::context(), execute_radial_distortion_cpu(), and execute_radial_distortion_gpu().
Referenced by execute().
|
inline |
Definition at line 433 of file node_composite_lens_distortion.cc.
References compute_chromatic_distortion(), blender::compositor::Operation::compute_domain(), compute_scale(), blender::compositor::Domain::data_size, blender::gpu::shader::metadata::float3, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), get_use_jitter(), blender::gpu::shader::metadata::int2, output, blender::compositor::parallel_for(), blender::nodes::node_composite_lens_distortion_cc::radial_lens_distortion(), and scale().
Referenced by execute_radial_distortion().
|
inline |
Definition at line 397 of file node_composite_lens_distortion.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), compute_chromatic_distortion(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), compute_scale(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::gpu::shader::metadata::float3, blender::compositor::Operation::get_input(), get_radial_distortion_shader(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), blender::GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::GPU_shader_uniform_3fv(), blender::GPU_texture_extend_mode(), blender::GPU_texture_filter_mode(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by execute_radial_distortion().
|
inline |
Definition at line 457 of file node_composite_lens_distortion.cc.
References blender::clamp_f(), blender::compositor::Operation::get_input(), and blender::compositor::Result::get_single_value_default().
Referenced by compute_chromatic_distortion(), execute_horizontal_distortion_cpu(), execute_horizontal_distortion_gpu(), and is_identity().
|
inline |
Definition at line 451 of file node_composite_lens_distortion.cc.
References blender::clamp_f(), blender::compositor::Operation::get_input(), blender::compositor::Result::get_single_value_default(), and MINIMUM_DISTORTION.
Referenced by compute_chromatic_distortion(), and is_identity().
|
inline |
Definition at line 502 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::get_input(), and blender::compositor::Result::get_single_value_default().
Referenced by compute_scale().
|
inline |
Definition at line 425 of file node_composite_lens_distortion.cc.
References get_use_jitter().
Referenced by execute_radial_distortion_gpu().
|
inline |
Definition at line 491 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::get_input().
Referenced by execute(), and is_identity().
|
inline |
Definition at line 497 of file node_composite_lens_distortion.cc.
References blender::compositor::Operation::get_input(), and blender::compositor::Result::get_single_value_default().
Referenced by execute_radial_distortion_cpu(), get_radial_distortion_shader(), and is_identity().
|
inline |
Definition at line 508 of file node_composite_lens_distortion.cc.
References blender::CMP_NODE_LENS_DISTORTION_HORIZONTAL, get_dispersion(), get_distortion(), blender::compositor::Operation::get_input(), get_type(), and get_use_jitter().
Referenced by execute().
| blender::compositor::NodeOperation::NodeOperation | ( | Context & | context, |
| const bNode & | node ) |
Definition at line 44 of file node_operation.cc.