|
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 86 of file node_composite_defocus.cc.
|
inline |
Definition at line 221 of file node_composite_defocus.cc.
References compute_defocus_radius_from_depth(), compute_defocus_radius_from_scale(), and blender::compositor::NodeOperation::node().
Referenced by execute().
|
inline |
Definition at line 293 of file node_composite_defocus.cc.
References compute_defocus_radius_from_depth_cpu(), compute_defocus_radius_from_depth_gpu(), compute_maximum_defocus_radius(), blender::compositor::Operation::context(), blender::compositor::Float, blender::gpu::shader::metadata::float2, blender::compositor::Operation::get_input(), blender::compositor::Result::is_single_value(), blender::compositor::morphological_blur(), and blender::compositor::Result::release().
Referenced by compute_defocus_radius().
|
inline |
Definition at line 346 of file node_composite_defocus.cc.
References blender::math::abs(), blender::compositor::Result::allocate_single_value(), blender::compositor::Result::allocate_texture(), compute_distance_to_image_of_focus(), compute_pixels_per_meter(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), get_f_stop(), get_focal_length(), blender::compositor::Operation::get_input(), blender::compositor::Result::get_single_value(), blender::gpu::shader::metadata::int2, blender::compositor::Result::is_single_value(), blender::math::min(), blender::compositor::NodeOperation::node(), blender::compositor::parallel_for(), and blender::compositor::Result::set_single_value().
Referenced by compute_defocus_radius_from_depth().
|
inline |
Definition at line 320 of file node_composite_defocus.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(), compute_distance_to_image_of_focus(), compute_pixels_per_meter(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), get_f_stop(), get_focal_length(), blender::compositor::Operation::get_input(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::compositor::NodeOperation::node(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_defocus_radius_from_depth().
|
inline |
Definition at line 229 of file node_composite_defocus.cc.
References compute_defocus_radius_from_scale_cpu(), compute_defocus_radius_from_scale_gpu(), blender::compositor::Operation::context(), blender::compositor::Operation::get_input(), and blender::compositor::Result::is_single_value().
Referenced by compute_defocus_radius().
|
inline |
Definition at line 263 of file node_composite_defocus.cc.
References blender::compositor::Result::allocate_single_value(), blender::compositor::Result::allocate_texture(), blender::math::clamp(), blender::compositor::Operation::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::Float, blender::compositor::Operation::get_input(), blender::compositor::Result::get_single_value(), blender::gpu::shader::metadata::int2, blender::compositor::Result::is_single_value(), blender::compositor::NodeOperation::node(), blender::compositor::parallel_for(), scale(), and blender::compositor::Result::set_single_value().
Referenced by compute_defocus_radius_from_scale().
|
inline |
Definition at line 238 of file node_composite_defocus.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::context(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::Float, blender::compositor::Operation::get_input(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::compositor::NodeOperation::node(), scale(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_defocus_radius_from_scale().
|
inline |
Definition at line 428 of file node_composite_defocus.cc.
References compute_focus_distance(), and get_focal_length().
Referenced by compute_defocus_radius_from_depth_cpu(), compute_defocus_radius_from_depth_gpu(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 445 of file node_composite_defocus.cc.
References blender::BKE_camera_object_dof_distance(), and get_camera_object().
Referenced by compute_distance_to_image_of_focus().
|
inline |
Definition at line 393 of file node_composite_defocus.cc.
References compute_maximum_diameter_of_circle_of_confusion(), compute_pixels_per_meter(), blender::math::min(), and blender::compositor::NodeOperation::node().
Referenced by compute_defocus_radius_from_depth(), and execute().
|
inline |
Definition at line 414 of file node_composite_defocus.cc.
References blender::math::abs(), compute_distance_to_image_of_focus(), get_f_stop(), and get_focal_length().
Referenced by compute_maximum_defocus_radius().
|
inline |
Definition at line 457 of file node_composite_defocus.cc.
References camera(), blender::CAMERA_SENSOR_FIT_AUTO, blender::CAMERA_SENSOR_FIT_HOR, blender::CAMERA_SENSOR_FIT_VERT, blender::compositor::Operation::compute_domain(), DEFAULT_SENSOR_WIDTH, get_camera(), and blender::gpu::shader::metadata::int2.
Referenced by compute_defocus_radius_from_depth_cpu(), compute_defocus_radius_from_depth_gpu(), and compute_maximum_defocus_radius().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 90 of file node_composite_defocus.cc.
References blender::compositor::StaticCacheManager::bokeh_kernels, blender::compositor::Context::cache_manager(), blender::math::ceil(), compute_defocus_radius(), compute_maximum_defocus_radius(), blender::compositor::Operation::context(), execute_cpu(), execute_gpu(), blender::compositor::BokehKernelContainer::get(), blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::gpu::shader::metadata::int2, blender::compositor::Result::is_single_value(), blender::compositor::NodeOperation::node(), and output.
|
inline |
Definition at line 154 of file node_composite_defocus.cc.
References blender::compositor::Operation::compute_domain(), blender::compositor::Domain::data_size, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, output, blender::compositor::parallel_for(), blender::math::safe_divide(), and blender::compositor::Result::sample_bilinear_extended().
Referenced by execute().
|
inline |
Definition at line 123 of file node_composite_defocus.cc.
References 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, blender::compositor::Context::get_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1i(), blender::GPU_texture_filter_mode(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by execute().
|
inline |
Definition at line 488 of file node_composite_defocus.cc.
References blender::Object::data, get_camera_object(), blender::OB_CAMERA, and blender::Object::type.
Referenced by compute_pixels_per_meter(), and get_focal_length().
|
inline |
Definition at line 498 of file node_composite_defocus.cc.
References blender::BKE_scene_camera_switch_find(), blender::compositor::Operation::context(), and get_scene().
Referenced by compute_focus_distance(), and get_camera().
|
inline |
Definition at line 483 of file node_composite_defocus.cc.
References blender::math::max(), and blender::compositor::NodeOperation::node().
Referenced by compute_defocus_radius_from_depth_cpu(), compute_defocus_radius_from_depth_gpu(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 437 of file node_composite_defocus.cc.
References camera(), get_camera(), and blender::math::max().
Referenced by compute_defocus_radius_from_depth_cpu(), compute_defocus_radius_from_depth_gpu(), compute_distance_to_image_of_focus(), and compute_maximum_diameter_of_circle_of_confusion().
|
inline |
Definition at line 505 of file node_composite_defocus.cc.
References blender::compositor::Operation::context(), and blender::compositor::NodeOperation::node().
Referenced by get_camera_object().
| blender::compositor::NodeOperation::NodeOperation | ( | Context & | context, |
| const bNode & | node ) |
Definition at line 44 of file node_operation.cc.