|
Blender V4.5
|
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 79 of file node_composite_cornerpin.cc.
|
inline |
Definition at line 272 of file node_composite_cornerpin.cc.
References BKE_tracking_homography_between_two_quads(), blender::compositor::Operation::get_input(), blender::compositor::Result::get_single_value_default(), blender::MatBase< float, 3, 3 >::identity(), is_quad_convex_v2(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
Referenced by execute().
|
inline |
Definition at line 118 of file node_composite_cornerpin.cc.
References compute_plane_cpu(), compute_plane_gpu(), and blender::compositor::Operation::context().
Referenced by execute().
|
inline |
Definition at line 165 of file node_composite_cornerpin.cc.
References CMP_NODE_CORNER_PIN_INTERPOLATION_ANISOTROPIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BICUBIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BILINEAR, CMP_NODE_CORNER_PIN_INTERPOLATION_NEAREST, blender::compositor::Operation::compute_domain(), blender::compositor::Operation::get_input(), get_interpolation(), blender::compositor::Operation::get_result(), input, blender::compositor::Result::load_pixel(), output, blender::compositor::parallel_for(), blender::compositor::Domain::size, size(), and blender::VecBase< T, Size >::xy().
Referenced by compute_plane().
|
inline |
Definition at line 128 of file node_composite_cornerpin.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), CMP_NODE_CORNER_PIN_INTERPOLATION_ANISOTROPIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BICUBIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BILINEAR, blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), ELEM, blender::compositor::Operation::get_input(), get_interpolation(), get_realization_shader_name(), blender::compositor::Operation::get_result(), blender::compositor::Context::get_shader(), GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_mat3_as_mat4(), GPU_texture_anisotropic_filter(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), GPU_texture_mipmap_mode(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::compositor::Domain::size, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_plane().
|
inline |
Definition at line 215 of file node_composite_cornerpin.cc.
References compute_plane_mask_cpu(), compute_plane_mask_gpu(), and blender::compositor::Operation::context().
Referenced by execute().
|
inline |
Definition at line 244 of file node_composite_cornerpin.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), blender::compositor::Context::create_result(), blender::compositor::Float, blender::compositor::parallel_for(), blender::compositor::Domain::size, size(), blender::compositor::Result::store_pixel(), and blender::VecBase< T, Size >::xy().
Referenced by compute_plane_mask().
|
inline |
Definition at line 224 of file node_composite_cornerpin.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::compute_dispatch_threads_at_least(), blender::compositor::Operation::compute_domain(), blender::compositor::Operation::context(), blender::compositor::Context::create_result(), blender::compositor::Float, blender::compositor::Context::get_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_mat3_as_mat4(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_image().
Referenced by compute_plane_mask().
|
inlineoverridevirtual |
Implements blender::compositor::Operation.
Definition at line 83 of file node_composite_cornerpin.cc.
References blender::compositor::Result::allocate_single_value(), compute_homography_matrix(), compute_plane(), compute_plane_mask(), blender::compositor::Operation::context(), blender::compositor::Context::create_result(), blender::compositor::Float, blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), blender::MatBase< float, 3, 3 >::identity(), blender::compositor::Result::is_single_value(), blender::compositor::Result::release(), blender::compositor::Result::set_single_value(), blender::compositor::Result::share_data(), blender::compositor::Result::should_compute(), blender::compositor::smaa(), and blender::compositor::Result::steal_data().
|
inline |
Definition at line 313 of file node_composite_cornerpin.cc.
References blender::compositor::NodeOperation::bnode(), and bNode::custom1.
Referenced by compute_plane_cpu(), compute_plane_gpu(), and get_realization_shader_name().
|
inline |
Definition at line 297 of file node_composite_cornerpin.cc.
References BLI_assert_unreachable, CMP_NODE_CORNER_PIN_INTERPOLATION_ANISOTROPIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BICUBIC, CMP_NODE_CORNER_PIN_INTERPOLATION_BILINEAR, CMP_NODE_CORNER_PIN_INTERPOLATION_NEAREST, and get_interpolation().
Referenced by compute_plane_gpu().
| blender::compositor::NodeOperation::NodeOperation | ( | Context & | context, |
| DNode | node ) |
Definition at line 39 of file node_operation.cc.