|
Blender V5.0
|
Classes | |
| struct | MotionRect |
| struct | MotionLine |
| struct | Accumulator |
| class | VectorBlurOperation |
Functions | |
| static void | cmp_node_vec_blur_declare (NodeDeclarationBuilder &b) |
| static float2 | max_velocity (const float2 &a, const float2 &b) |
| static uint32_t | velocity_atomic_max_value (const float2 &value, const int2 &texel) |
| static float2 | max_velocity_approximate (const float2 &a, const float2 &b, const int2 &a_texel, const int2 &b_texel) |
| static Result | compute_max_tile_velocity_cpu (Context &context, const Result &velocity_image) |
| static MotionRect | compute_motion_rect (const int2 &tile, const float2 &motion, const int2 &size) |
| static MotionLine | compute_motion_line (const int2 &tile, const float2 &motion) |
| static bool | is_inside_motion_line (const int2 &tile, const MotionLine &motion_line) |
| static Result | dilate_max_velocity_cpu (Context &context, const Result &max_tile_velocity, const float shutter_speed) |
| static float | interleaved_gradient_noise (const int2 &p) |
| static float2 | spread_compare (const float center_motion_length, const float sample_motion_length, const float offset_length) |
| static float2 | depth_compare (const float center_depth, const float sample_depth) |
| static float | dir_compare (const float2 &offset, const float2 &sample_motion, const float &sample_motion_length) |
| static float2 | sample_weights (const float center_depth, const float sample_depth, const float center_motion_length, const float sample_motion_length, const float offset_length) |
| static void | gather_sample (const Result &input_image, const Result &input_depth, const Result &input_velocity, const int2 &size, const float2 &screen_uv, const float center_depth, const float center_motion_len, const float2 &offset, const float offset_len, const bool next, const float shutter_speed, Accumulator &accum) |
| static void | gather_blur (const Result &input_image, const Result &input_depth, const Result &input_velocity, const int2 &size, const float2 &screen_uv, const float2 ¢er_motion, const float center_depth, const float2 &max_motion, const float ofs, const bool next, const int samples_count, const float shutter_speed, Accumulator &accum) |
| static void | motion_blur_cpu (const Result &input_image, const Result &input_depth, const Result &input_velocity, const Result &max_velocity, Result &output, const int samples_count, const float shutter_speed) |
| static NodeOperation * | get_compositor_operation (Context &context, DNode node) |
|
static |
Definition at line 34 of file node_composite_vec_blur.cc.
References b, blender::nodes::decl::Vector::default_value, blender::nodes::SocketDeclaration::description, min, PROP_VELOCITY, and blender::nodes::SocketDeclaration::structure_type.
|
static |
Definition at line 95 of file node_composite_vec_blur.cc.
References blender::math::divide_ceil(), blender::compositor::Result::domain(), blender::compositor::Float4, blender::compositor::Result::get_single_value(), i, blender::compositor::Result::is_single_value(), blender::compositor::Result::load_pixel_extended(), max_velocity(), MOTION_BLUR_TILE_SIZE, output, blender::compositor::parallel_for(), blender::compositor::Domain::size, blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::execute_cpu().
|
static |
Definition at line 161 of file node_composite_vec_blur.cc.
References blender::math::length(), blender::nodes::node_composite_vec_blur_cc::MotionLine::normal, blender::nodes::node_composite_vec_blur_cc::MotionLine::origin, and tile.
Referenced by dilate_max_velocity_cpu().
|
static |
Definition at line 135 of file node_composite_vec_blur.cc.
References blender::math::abs(), blender::nodes::node_composite_vec_blur_cc::MotionRect::bottom_left, blender::math::ceil(), blender::nodes::node_composite_vec_blur_cc::MotionRect::extent, blender::math::max(), blender::math::min(), MOTION_BLUR_TILE_SIZE, blender::math::sign(), size(), and tile.
Referenced by dilate_max_velocity_cpu().
|
static |
Definition at line 270 of file node_composite_vec_blur.cc.
References blender::math::clamp(), and DEPTH_SCALE.
Referenced by sample_weights().
|
static |
Definition at line 185 of file node_composite_vec_blur.cc.
References blender::nodes::node_composite_vec_blur_cc::MotionRect::bottom_left, compute_motion_line(), compute_motion_rect(), blender::compositor::Result::domain(), blender::nodes::node_composite_vec_blur_cc::MotionRect::extent, blender::compositor::Float4, blender::compositor::Result::get_single_value(), i, is_inside_motion_line(), blender::compositor::Result::is_single_value(), blender::compositor::Result::load_pixel(), max_velocity_approximate(), output, blender::compositor::parallel_for(), blender::compositor::Domain::size, size(), tile, x, blender::VecBase< T, Size >::xy(), y, and blender::VecBase< T, Size >::zw().
Referenced by blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::execute_cpu().
|
static |
Definition at line 277 of file node_composite_vec_blur.cc.
References blender::math::dot().
Referenced by gather_sample().
|
static |
Definition at line 344 of file node_composite_vec_blur.cc.
References float, gather_sample(), i, blender::math::length(), next, and size().
|
static |
Definition at line 308 of file node_composite_vec_blur.cc.
References blender::nodes::node_composite_vec_blur_cc::Accumulator::bg, dir_compare(), blender::nodes::node_composite_vec_blur_cc::Accumulator::fg, blender::math::length(), next, blender::compositor::Result::sample_bilinear_extended(), sample_weights(), size(), blender::nodes::node_composite_vec_blur_cc::Accumulator::weight, blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by gather_blur().
|
static |
Definition at line 671 of file node_composite_vec_blur.cc.
References get_compositor_operation().
Referenced by get_compositor_operation().
|
static |
Definition at line 257 of file node_composite_vec_blur.cc.
References blender::math::fract().
|
static |
Definition at line 173 of file node_composite_vec_blur.cc.
References blender::math::abs(), blender::math::dot(), blender::nodes::node_composite_vec_blur_cc::MotionLine::normal, blender::nodes::node_composite_vec_blur_cc::MotionLine::origin, blender::math::numbers::sqrt2_v, and tile.
Referenced by dilate_max_velocity_cpu().
|
static |
Definition at line 65 of file node_composite_vec_blur.cc.
References b, and blender::math::length_squared().
Referenced by compute_max_tile_velocity_cpu(), blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::execute_cpu(), and motion_blur_cpu().
|
static |
Definition at line 85 of file node_composite_vec_blur.cc.
References b, and velocity_atomic_max_value().
Referenced by dilate_max_velocity_cpu().
|
static |
Definition at line 413 of file node_composite_vec_blur.cc.
References blender::compositor::Result::domain(), max_velocity(), output, blender::threading::parallel_for(), blender::compositor::Domain::size, and size().
Referenced by blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::execute_cpu().
|
static |
Definition at line 288 of file node_composite_vec_blur.cc.
References depth_compare(), and spread_compare().
Referenced by gather_sample().
|
static |
Definition at line 262 of file node_composite_vec_blur.cc.
References blender::math::clamp().
Referenced by sample_weights().
|
static |
Definition at line 74 of file node_composite_vec_blur.cc.
References blender::math::ceil(), blender::math::length(), and blender::math::min().
Referenced by max_velocity_approximate().