|
Blender V4.3
|
Typedefs | |
| using | ProcessorsVector = Vector<std::unique_ptr<SimpleOperation>> |
| using | PixelCompileUnit = VectorSet<DNode> |
| using | Schedule = VectorSet<DNode> |
| using | NeededBuffers = Map<DNode, int> |
| using | TargetSocketPathInfo = DOutputSocket::TargetSocketPathInfo |
Enumerations | |
| enum class | MorphologicalBlurOperation : uint8_t { Dilate , Erode } |
| enum class | SummedAreaTableOperation : uint8_t { Identity , Square } |
| enum class | DistortionType : uint8_t { Distort , Undistort } |
| enum class | Interpolation : uint8_t { Nearest , Bilinear , Bicubic } |
| enum class | ResultType : uint8_t { Float , Vector , Color , Float2 , Float3 , Int2 } |
| enum class | ResultPrecision : uint8_t { Full , Half } |
| enum class | ResultStorageType : uint8_t { GPU , FloatCPU , IntegerCPU } |
Functions | |
| void | deriche_gaussian_blur (Context &context, Result &input, Result &output, float2 sigma) |
| void | extract_alpha (Context &context, Result &input, Result &output) |
| void | jump_flooding (Context &context, Result &input, Result &output) |
| void | morphological_blur (Context &context, Result &input, Result &output, float2 radius, MorphologicalBlurOperation operation=MorphologicalBlurOperation::Erode, int filter_type=R_FILTER_GAUSS) |
| void | morphological_distance (Context &context, Result &input, Result &output, int distance) |
| void | morphological_distance_feather (Context &context, Result &input, Result &output, int distance, int falloff_type=PROP_SMOOTH) |
| float | sum_red (Context &context, GPUTexture *texture) |
| float | sum_green (Context &context, GPUTexture *texture) |
| float | sum_blue (Context &context, GPUTexture *texture) |
| float | sum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients) |
| float | sum_log_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients) |
| float4 | sum_color (Context &context, GPUTexture *texture) |
| float | sum_red_squared_difference (Context &context, GPUTexture *texture, float subtrahend) |
| float | sum_green_squared_difference (Context &context, GPUTexture *texture, float subtrahend) |
| float | sum_blue_squared_difference (Context &context, GPUTexture *texture, float subtrahend) |
| float | sum_luminance_squared_difference (Context &context, GPUTexture *texture, float3 luminance_coefficients, float subtrahend) |
| float | maximum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients) |
| float | maximum_float (Context &context, GPUTexture *texture) |
| float | maximum_float_in_range (Context &context, GPUTexture *texture, float lower_bound, float upper_bound) |
| float | minimum_luminance (Context &context, GPUTexture *texture, float3 luminance_coefficients) |
| float | minimum_float (Context &context, GPUTexture *texture) |
| float | minimum_float_in_range (Context &context, GPUTexture *texture, float lower_bound, float upper_bound) |
| void | realize_on_domain (Context &context, Result &input, Result &output, const Domain &domain, const float3x3 &input_transformation, const RealizationOptions &realization_options) |
| void | recursive_gaussian_blur (Context &context, Result &input, Result &output, float2 radius) |
| void | smaa (Context &context, Result &input, Result &output, float threshold=0.1f, float local_contrast_adaptation_factor=2.0f, int corner_rounding=25) |
| void | summed_area_table (Context &context, Result &input, Result &output, SummedAreaTableOperation operation=SummedAreaTableOperation::Identity) |
| void | symmetric_separable_blur (Context &context, Result &input, Result &output, float2 radius, int filter_type=R_FILTER_GAUSS, bool extend_bounds=false, bool gamma_correct=false) |
| void | symmetric_separable_blur_variable_size (Context &context, Result &input, Result &output, Result &radius, int filter_type=R_FILTER_GAUSS, int weights_resolution=128) |
| void | transform (Context &context, Result &input, Result &output, const float3x3 &transformation, RealizationOptions realization_options) |
| void | van_vliet_gaussian_blur (Context &context, Result &input, Result &output, float2 sigma) |
| static void | sum_causal_and_non_causal_results (Context &context, Result &causal_input, Result &non_causal_input, Result &output) |
| static void | blur_pass (Context &context, Result &input, Result &output, float sigma) |
| static void | extract_alpha_gpu (Context &context, Result &input, Result &output) |
| static void | extract_alpha_cpu (Result &input, Result &output) |
| static void | jump_flooding_pass (Context &context, Result &input, Result &output, int step_size) |
| static const char * | get_shader (MorphologicalBlurOperation operation) |
| static void | apply_morphological_operator (Context &context, Result &input, Result &blurred_input, MorphologicalBlurOperation operation) |
| static const char * | get_shader_name (int distance) |
| static const char * | get_shader_name (int distance) |
| static Result | horizontal_pass (Context &context, Result &input, int distance, int falloff_type) |
| static void | vertical_pass (Context &context, Result &original_input, Result &horizontal_pass_result, Result &output, int distance, int falloff_type) |
| static float * | parallel_reduction_dispatch (Context &context, GPUTexture *texture, GPUShader *shader, eGPUTextureFormat format) |
| static const char * | get_realization_shader (Result &input, const RealizationOptions &realization_options) |
| static float2 | compute_sigma_from_radius (float2 radius) |
| static void | set_shader_luminance_coefficients (GPUShader *shader, ResultType type) |
| static Result | detect_edges (Context &context, Result &input, float threshold, float local_contrast_adaptation_factor) |
| static Result | calculate_blending_weights (Context &context, Result &edges, int corner_rounding) |
| static const char * | get_blend_shader_name (ResultType type) |
| static void | blend_neighborhood (Context &context, Result &input, Result &weights, Result &output) |
| static const char * | get_compute_incomplete_prologues_shader (SummedAreaTableOperation operation) |
| static void | compute_incomplete_prologues (Context &context, Result &input, SummedAreaTableOperation operation, Result &incomplete_x_prologues, Result &incomplete_y_prologues) |
| static void | compute_complete_x_prologues (Context &context, Result &input, Result &incomplete_x_prologues, Result &complete_x_prologues, Result &complete_x_prologues_sum) |
| static void | compute_complete_y_prologues (Context &context, Result &input, Result &incomplete_y_prologues, Result &complete_x_prologues_sum, Result &complete_y_prologues) |
| static const char * | get_compute_complete_blocks_shader (SummedAreaTableOperation operation) |
| static void | compute_complete_blocks (Context &context, Result &input, Result &complete_x_prologues, Result &complete_y_prologues, SummedAreaTableOperation operation, Result &output) |
| static const char * | get_blur_shader (ResultType type) |
| static Result | horizontal_pass (Context &context, Result &input, float radius, int filter_type, bool extend_bounds, bool gamma_correct) |
| static void | vertical_pass (Context &context, Result &original_input, Result &horizontal_pass_result, Result &output, float2 radius, int filter_type, bool extend_bounds, bool gamma_correct) |
| static const char * | get_blur_shader (ResultType type) |
| static Result | horizontal_pass (Context &context, Result &input, Result &radius, int filter_type, int weights_resolution) |
| static void | vertical_pass (Context &context, Result &original_input, Result &horizontal_pass_result, Result &output, Result &radius, int filter_type, int weights_resolution) |
| static Domain | compute_realized_transformation_domain (const Domain &domain) |
| static void | sum_causal_and_non_causal_results (Context &context, Result &first_causal_input, Result &first_non_causal_input, Result &second_causal_input, Result &second_non_causal_input, Result &output) |
| static void | blur_pass (Context &context, Result &input, Result &output, float sigma) |
| bool | operator== (const BokehKernelKey &a, const BokehKernelKey &b) |
| bool | operator== (const CachedImageKey &a, const CachedImageKey &b) |
| bool | operator== (const CachedMaskKey &a, const CachedMaskKey &b) |
| bool | operator== (const CachedShaderKey &a, const CachedShaderKey &b) |
| bool | operator== (const CachedTextureKey &a, const CachedTextureKey &b) |
| bool | operator== (const DericheGaussianCoefficientsKey &a, const DericheGaussianCoefficientsKey &b) |
| bool | operator== (const DistortionGridKey &a, const DistortionGridKey &b) |
| bool | operator== (const FogGlowKernelKey &a, const FogGlowKernelKey &b) |
| bool | operator== (const KeyingScreenKey &a, const KeyingScreenKey &b) |
| bool | operator== (const MorphologicalDistanceFeatherWeightsKey &a, const MorphologicalDistanceFeatherWeightsKey &b) |
| bool | operator== (const OCIOColorSpaceConversionShaderKey &a, const OCIOColorSpaceConversionShaderKey &b) |
| bool | operator== (const SymmetricBlurWeightsKey &a, const SymmetricBlurWeightsKey &b) |
| bool | operator== (const VanVlietGaussianCoefficientsKey &a, const VanVlietGaussianCoefficientsKey &b) |
| static float | compute_exterior_angle (int sides) |
| static float | compute_rotation (float angle, int sides) |
| static RenderLayer * | get_render_layer (Image *image, ImageUser &image_user) |
| static int | get_pass_index (Image *image, ImageUser &image_user, const char *name) |
| static int | get_view_index (Context &context, Image *image, ImageUser &image_user) |
| static ImageUser | compute_image_user_for_pass (Context &context, Image *image, const ImageUser *image_user, const char *pass_name) |
| static ImBuf * | compute_linear_buffer (ImBuf *image_buffer) |
| static Vector< MaskRasterHandle * > | get_mask_raster_handles (Mask *mask, int2 size, int current_frame, bool use_feather, int motion_blur_samples, float motion_blur_shutter) |
| static double | compute_numerator_0 () |
| static double | compute_numerator_1 (float sigma) |
| static double | compute_numerator_2 (float sigma) |
| static double | compute_numerator_3 (float sigma) |
| static double4 | compute_numerator (float sigma) |
| static double | compute_denominator_1 (float sigma) |
| static double | compute_denominator_2 (float sigma) |
| static double | compute_denominator_3 (float sigma) |
| static double | compute_denominator_4 (float sigma) |
| static double4 | compute_denominator (float sigma) |
| static float | compute_normalization_scale (const double4 &causal_feedforward_coefficients, const double4 &feedback_coefficients) |
| static double4 | compute_non_causal_feedforward_coefficients (const double4 &causal_feedforward_coefficients, const double4 &feedback_coefficients) |
| static double | compute_boundary_coefficient (const double4 &feedforward_coefficients, const double4 &feedback_coefficients) |
| static int2 | get_movie_clip_size (MovieClip *movie_clip, int frame_number) |
| static float | compute_fog_glow_kernel_value (int x, int y, int kernel_size) |
| static void | compute_marker_points (MovieClip *movie_clip, MovieClipUser &movie_clip_user, MovieTrackingObject *movie_tracking_object, Vector< float2 > &marker_positions, Vector< float4 > &marker_colors) |
| static MovieClipUser | get_movie_clip_user (Context &context, MovieClip *movie_clip) |
| static float | compute_distance_falloff (int type, float x) |
| static double | compute_scaled_poles_variance (const std::array< std::complex< double >, 4 > &poles, double scale_factor) |
| static double | compute_scaled_poles_variance_derivative (const std::array< std::complex< double >, 4 > &poles, double scale_factor) |
| static double | find_scale_factor (const std::array< std::complex< double >, 4 > &poles, float reference_sigma) |
| static std::array< std::complex< double >, 4 > | computed_scaled_poles (const std::array< std::complex< double >, 4 > &poles, float sigma) |
| static std::array< std::complex< double >, 4 > | compute_causal_poles (const std::array< std::complex< double >, 4 > &non_causal_poles) |
| static double4 | compute_feedback_coefficients (const std::array< std::complex< double >, 4 > &poles) |
| static double | compute_feedforward_coefficient (const double4 &feedback_coefficients) |
| static std::complex< double > | compute_partial_fraction_residue (const std::array< std::complex< double >, 4 > &poles, const std::complex< double > &target_pole, double gain) |
| static std::complex< double > | compute_causal_transfer_function_at_non_causal_pole (const std::array< std::complex< double >, 4 > &poles, const std::complex< double > &target_pole, double gain) |
| static void | compute_second_order_section (const std::complex< double > &pole, const std::complex< double > &residue, const std::complex< double > &transfer_value, double2 &r_feedback_coefficients, double2 &r_causal_feedforward_coefficients, double2 &r_non_causal_feedforward_coefficients) |
| static double | compute_boundary_coefficient (const double2 &feedback_coefficients, const double2 &feedforward_coefficients) |
| bool | operator== (const Domain &a, const Domain &b) |
| bool | operator!= (const Domain &a, const Domain &b) |
| Schedule | compute_schedule (const Context &context, const DerivedNodeTree &tree) |
| DSocket | get_input_origin_socket (DInputSocket input) |
| DOutputSocket | get_output_linked_to_input (DInputSocket input) |
| ResultType | get_node_socket_result_type (const bNodeSocket *socket) |
| bool | is_output_linked_to_node_conditioned (DOutputSocket output, FunctionRef< bool(DNode)> condition) |
| int | number_of_inputs_linked_to_output_conditioned (DOutputSocket output, FunctionRef< bool(DInputSocket)> condition) |
| bool | is_pixel_node (DNode node) |
| InputDescriptor | input_descriptor_from_input_socket (const bNodeSocket *socket) |
| void | compute_dispatch_threads_at_least (GPUShader *shader, int2 threads_range, int2 local_size=int2(16)) |
| bool | is_node_preview_needed (const DNode &node) |
| DOutputSocket | find_preview_output_socket (const DNode &node) |
| void | compute_preview_from_result (Context &context, const DNode &node, Result &input_result) |
| void | parallel_for (const int2 range, FunctionRef< void(int2)> function) |
| static bool | add_viewer_nodes_in_context (const DTreeContext *context, Stack< DNode > &node_stack) |
| static void | add_output_nodes (const Context &context, const DerivedNodeTree &tree, Stack< DNode > &node_stack) |
| static NeededBuffers | compute_number_of_needed_buffers (Stack< DNode > &output_nodes) |
| static eGPUType | gpu_type_from_socket_type (eNodeSocketDatatype type) |
| static void | gpu_stack_vector_from_socket (GPUNodeStack &stack, const bNodeSocket *socket) |
| static void | populate_gpu_node_stack (DSocket socket, GPUNodeStack &stack) |
| static const char * | get_set_function_name (ResultType type) |
| static const char * | get_store_function_name (ResultType type) |
| static const char * | glsl_store_expression_from_result_type (ResultType type) |
| static const char * | glsl_type_from_result_type (ResultType type) |
| static const char * | glsl_swizzle_from_result_type (ResultType type) |
| static int2 | compute_preview_size (int2 size) |
Symmetric Separable Blur Weights Key | |
| bool | operator== (const SymmetricSeparableBlurWeightsKey &a, const SymmetricSeparableBlurWeightsKey &b) |
Texture Pool Key | |
| bool | operator== (const TexturePoolKey &a, const TexturePoolKey &b) |
Variables | |
| static constexpr double | a0 = 1.6797292232361107 |
| static constexpr double | a1 = 3.7348298269103580 |
| static constexpr double | b0 = 1.7831906544515104 |
| static constexpr double | b1 = 1.7228297663338028 |
| static constexpr double | c0 = -0.6802783501806897 |
| static constexpr double | c1 = -0.2598300478959625 |
| static constexpr double | w0 = 0.6318113174569493 |
| static constexpr double | w1 = 1.9969276832487770 |
Definition at line 105 of file scheduler.cc.
Definition at line 23 of file COM_pixel_operation.hh.
| using blender::realtime_compositor::ProcessorsVector = Vector<std::unique_ptr<SimpleOperation>> |
Definition at line 26 of file COM_operation.hh.
Definition at line 18 of file COM_scheduler.hh.
Definition at line 32 of file utilities.cc.
|
strong |
| Enumerator | |
|---|---|
| Distort | |
| Undistort | |
Definition at line 24 of file COM_distortion_grid.hh.
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| Bilinear | |
| Bicubic | |
Definition at line 16 of file COM_domain.hh.
|
strong |
| Enumerator | |
|---|---|
| Dilate | |
| Erode | |
Definition at line 19 of file COM_algorithm_morphological_blur.hh.
|
strong |
| Enumerator | |
|---|---|
| Full | |
| Half | |
Definition at line 40 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| GPU | |
| FloatCPU | |
| IntegerCPU | |
Definition at line 46 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| Float | |
| Vector | |
| Color | |
| Float2 | |
| Float3 | |
| Int2 | |
Definition at line 21 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| Identity | |
| Square | |
Definition at line 14 of file COM_algorithm_summed_area_table.hh.
|
static |
Definition at line 58 of file scheduler.cc.
References add_viewer_nodes_in_context(), blender::nodes::DTreeContext::btree(), blender::nodes::DTreeContext::is_root(), NODE_DO_OUTPUT, NODE_MUTED, blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and tree.
Referenced by compute_schedule().
|
static |
Definition at line 26 of file scheduler.cc.
References CMP_NODE_COMPOSITE, blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), NODE_DO_OUTPUT, NODE_MUTED, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
Referenced by add_output_nodes().
|
static |
Definition at line 36 of file morphological_blur.cc.
References blender::realtime_compositor::Result::bind_as_image(), compute_dispatch_threads_at_least(), get_shader(), GPU_shader_bind(), GPU_shader_unbind(), and blender::realtime_compositor::Result::unbind_as_image().
Referenced by morphological_blur().
|
static |
Definition at line 138 of file smaa.cc.
References blender::realtime_compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), get_blend_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_filter_mode(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by smaa().
|
static |
Definition at line 56 of file deriche_gaussian_blur.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::DericheGaussianCoefficients::causal_boundary_coefficient(), blender::realtime_compositor::DericheGaussianCoefficients::causal_feedforward_coefficients(), Color, compute_dispatch_threads_at_least(), blender::realtime_compositor::DericheGaussianCoefficients::feedback_coefficients(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_4fv(), blender::realtime_compositor::DericheGaussianCoefficients::non_causal_boundary_coefficient(), blender::realtime_compositor::DericheGaussianCoefficients::non_causal_feedforward_coefficients(), blender::realtime_compositor::Result::release(), sum_causal_and_non_causal_results(), and blender::realtime_compositor::Result::unbind_as_image().
Referenced by deriche_gaussian_blur(), and van_vliet_gaussian_blur().
|
static |
Definition at line 62 of file van_vliet_gaussian_blur.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), Color, compute_dispatch_threads_at_least(), blender::realtime_compositor::VanVlietGaussianCoefficients::first_causal_boundary_coefficient(), blender::realtime_compositor::VanVlietGaussianCoefficients::first_causal_feedforward_coefficients(), blender::realtime_compositor::VanVlietGaussianCoefficients::first_feedback_coefficients(), blender::realtime_compositor::VanVlietGaussianCoefficients::first_non_causal_boundary_coefficient(), blender::realtime_compositor::VanVlietGaussianCoefficients::first_non_causal_feedforward_coefficients(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_2fv(), blender::realtime_compositor::Result::release(), blender::realtime_compositor::VanVlietGaussianCoefficients::second_causal_boundary_coefficient(), blender::realtime_compositor::VanVlietGaussianCoefficients::second_causal_feedforward_coefficients(), blender::realtime_compositor::VanVlietGaussianCoefficients::second_feedback_coefficients(), blender::realtime_compositor::VanVlietGaussianCoefficients::second_non_causal_boundary_coefficient(), blender::realtime_compositor::VanVlietGaussianCoefficients::second_non_causal_feedforward_coefficients(), sum_causal_and_non_causal_results(), and blender::realtime_compositor::Result::unbind_as_image().
|
static |
Definition at line 86 of file smaa.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::SMAAPrecomputedTextures::bind_area_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::SMAAPrecomputedTextures::bind_search_texture(), Color, compute_dispatch_threads_at_least(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), GPU_texture_filter_mode(), blender::realtime_compositor::SMAAPrecomputedTextures::unbind_area_texture(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::SMAAPrecomputedTextures::unbind_search_texture().
Referenced by smaa().
|
static |
Definition at line 374 of file van_vliet_gaussian_coefficients.cc.
References blender::math::reduce_add().
|
static |
Definition at line 232 of file deriche_gaussian_coefficients.cc.
References blender::math::reduce_add().
Referenced by blender::realtime_compositor::DericheGaussianCoefficients::DericheGaussianCoefficients(), and blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 182 of file van_vliet_gaussian_coefficients.cc.
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 304 of file van_vliet_gaussian_coefficients.cc.
References result.
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 171 of file summed_area_table.cc.
References blender::realtime_compositor::Result::bind_as_texture(), blender::math::divide_ceil(), Full, get_compute_complete_blocks_shader(), GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by summed_area_table().
|
static |
Definition at line 91 of file summed_area_table.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), blender::math::divide_ceil(), blender::realtime_compositor::Result::domain(), Full, GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by summed_area_table().
|
static |
Definition at line 126 of file summed_area_table.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), blender::math::divide_ceil(), blender::realtime_compositor::Result::domain(), Full, GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by summed_area_table().
Definition at line 164 of file deriche_gaussian_coefficients.cc.
References compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), and compute_denominator_4().
Referenced by blender::realtime_compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
Definition at line 125 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
Definition at line 134 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
Definition at line 146 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
Definition at line 158 of file deriche_gaussian_coefficients.cc.
References b0, b1, and blender::math::exp().
Referenced by compute_denominator().
| void blender::realtime_compositor::compute_dispatch_threads_at_least | ( | GPUShader * | shader, |
| int2 | threads_range, | ||
| int2 | local_size = int2(16) ) |
Dispatch the given compute shader in a 2D compute space such that the number of threads in both dimensions is as small as possible but at least covers the entirety of threads_range assuming the shader has a local group size given by local_size. That means that the number of threads might be a bit larger than threads_range, so shaders has to put that into consideration. A default local size of 16x16 is assumed, which is the optimal local size for many image processing shaders.
Definition at line 131 of file utilities.cc.
References blender::math::divide_ceil(), and GPU_compute_dispatch().
Referenced by apply_morphological_operator(), blender::nodes::node_composite_glare_cc::GlareOperation::apply_streak_filter(), blend_neighborhood(), blur_pass(), blender::realtime_compositor::BokehKernel::BokehKernel(), calculate_blending_weights(), blender::nodes::node_composite_movieclip_cc::MovieClipOperation::compute_alpha(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_base_ghost(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_downsample_chain(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_boundary(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_gradient(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_image(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_image(), blender::nodes::node_composite_movieclip_cc::MovieClipOperation::compute_image(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_boundary(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_region(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::compute_mask(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_matte(), blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::compute_motion_blur(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_pick(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane_mask(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane_mask(), compute_preview_from_result(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_tweaked_matte(), detect_edges(), blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::dilate_max_velocity(), blender::nodes::node_composite_bilateralblur_cc::BilateralBlurOperation::execute(), blender::nodes::node_composite_boxmask_cc::BoxMaskOperation::execute(), blender::nodes::node_composite_convert_color_space_cc::ConvertColorSpaceOperation::execute(), blender::nodes::node_composite_defocus_cc::DefocusOperation::execute(), blender::nodes::node_composite_despeckle_cc::DespeckleOperation::execute(), blender::nodes::node_composite_directionalblur_cc::DirectionalBlurOperation::execute(), blender::nodes::node_composite_displace_cc::DisplaceOperation::execute(), blender::nodes::node_composite_ellipsemask_cc::EllipseMaskOperation::execute(), blender::nodes::node_composite_filter_cc::FilterOperation::execute(), blender::nodes::node_composite_flip_cc::FlipOperation::execute(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute(), blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute(), blender::nodes::node_composite_moviedistortion_cc::MovieDistortionOperation::execute(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), blender::nodes::node_composite_pixelate_cc::PixelateOperation::execute(), blender::nodes::node_composite_split_cc::SplitOperation::execute(), blender::nodes::node_composite_sunbeams_cc::SunBeamsOperation::execute(), blender::realtime_compositor::ConversionOperation::execute(), blender::realtime_compositor::ShaderOperation::execute(), blender::nodes::node_composite_crop_cc::CropOperation::execute_alpha_crop(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::execute_anti_aliased(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_bloom(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_summed_area_table(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size(), blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::execute_constant_size(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_copy_gpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_copy_gpu(), blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_threshold(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_ghost(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_highlights(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_ignore_alpha_gpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_ignore_alpha_gpu(), blender::nodes::node_composite_crop_cc::CropOperation::execute_image_crop(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_mix(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute_pass(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_photoreceptor(), blender::nodes::node_composite_lensdist_cc::LensDistortionOperation::execute_projector_distortion(), blender::nodes::node_composite_lensdist_cc::LensDistortionOperation::execute_screen_distortion(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_set_alpha_gpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_set_alpha_gpu(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_simple(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::execute_simple(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_axis_aligned(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_horizontal_pass(), blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_step_horizontal_pass(), blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_step_vertical_pass(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_streaks(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size(), blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::execute_variable_size(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size(), extract_alpha_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::extract_input_chroma(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::fill_inpainting_region(), horizontal_pass(), horizontal_pass(), horizontal_pass(), jump_flooding_pass(), blender::realtime_compositor::KeyingScreen::KeyingScreen(), morphological_distance(), realize_on_domain(), blender::nodes::node_composite_keying_cc::KeyingOperation::replace_input_chroma(), sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results(), vertical_pass(), vertical_pass(), and vertical_pass().
Definition at line 106 of file morphological_distance_feather_weights.cc.
References BLI_assert_unreachable, PROP_INVSQUARE, PROP_LIN, PROP_ROOT, PROP_SHARP, PROP_SMOOTH, PROP_SPHERE, and x.
Referenced by blender::realtime_compositor::MorphologicalDistanceFeatherWeights::compute_distance_falloffs().
Definition at line 55 of file bokeh_kernel.cc.
References M_PI.
Referenced by blender::realtime_compositor::BokehKernel::BokehKernel(), and compute_rotation().
|
static |
Definition at line 195 of file van_vliet_gaussian_coefficients.cc.
References b1.
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 245 of file van_vliet_gaussian_coefficients.cc.
References blender::math::reduce_add().
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 54 of file fog_glow_kernel.cc.
References blender::math::cos(), blender::math::exp(), blender::math::numbers::pi, blender::math::sqrt(), blender::math::square(), and v.
|
static |
Definition at line 119 of file cached_image.cc.
References BKE_image_is_multilayer(), BKE_image_multilayer_index(), BKE_image_multiview_index(), get_pass_index(), get_view_index(), ImageUser::pass, and ImageUser::view.
Referenced by blender::realtime_compositor::CachedImage::CachedImage().
|
static |
Definition at line 54 of file summed_area_table.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::math::divide_ceil(), Full, get_compute_incomplete_prologues_shader(), GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), and blender::realtime_compositor::Result::unbind_as_image().
Referenced by summed_area_table().
Definition at line 155 of file cached_image.cc.
References ImBuf::byte_buffer, ImBuf::channels, ImBufByteBuffer::colorspace, ImBufFloatBuffer::data, ImBuf::dds_data, ImBuf::flags, ImBuf::float_buffer, ImBuf::ftype, IB_DO_NOT_TAKE_OWNERSHIP, IMB_allocImBuf(), IMB_assign_byte_buffer(), IMB_assign_dds_data(), IMB_assign_float_buffer(), IMB_colormanagement_space_is_data(), IMB_colormanagement_space_is_scene_linear(), IMB_float_from_rect(), IMB_FTYPE_DDS, ImBuf::planes, ImBuf::x, and ImBuf::y.
Referenced by blender::realtime_compositor::CachedImage::CachedImage().
|
static |
Definition at line 61 of file keying_screen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_movieclip_get_ibuf(), BKE_tracking_get_pattern_imbuf(), BKE_tracking_marker_get(), BLI_assert, ImBuf::byte_buffer, blender::math::clamp(), ImBufByteBuffer::data, ImBufFloatBuffer::data, MovieTrackingMarker::flag, ImBuf::float_buffer, MovieClipUser::framenr, IMB_freeImBuf(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), LISTBASE_FOREACH, MARKER_DISABLED, MovieTrackingMarker::pos, srgb_to_linearrgb_uchar4(), MovieTrackingObject::tracks, ImBuf::x, and ImBuf::y.
Referenced by blender::realtime_compositor::KeyingScreen::KeyingScreen().
|
static |
Definition at line 190 of file deriche_gaussian_coefficients.cc.
Referenced by blender::realtime_compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 178 of file deriche_gaussian_coefficients.cc.
References blender::math::reduce_add().
Referenced by blender::realtime_compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 156 of file scheduler.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::nodes::DSocket::context(), get_output_linked_to_input(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), is_output_linked_to_node_conditioned(), is_pixel_node(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::nodes::DSocket::node(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
Referenced by compute_schedule().
Definition at line 114 of file deriche_gaussian_coefficients.cc.
References compute_numerator_0(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
Referenced by blender::realtime_compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 69 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator().
Definition at line 75 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
Definition at line 87 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
Definition at line 102 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
|
static |
Definition at line 278 of file van_vliet_gaussian_coefficients.cc.
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
| void blender::realtime_compositor::compute_preview_from_result | ( | Context & | context, |
| const DNode & | node, | ||
| Result & | input_result ) |
Definition at line 190 of file utilities.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::Result::bind_as_image(), blender::realtime_compositor::Result::bind_as_texture(), Color, compute_dispatch_threads_at_least(), compute_preview_size(), blender::realtime_compositor::Result::domain(), Float, GPU_BARRIER_TEXTURE_FETCH, GPU_DATA_FLOAT, GPU_memory_barrier(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_read(), GPU_texture_swizzle_set(), IMB_colormanagement_display_processor_new(), blender::bke::node_instance_hash_new(), blender::bke::node_preview_verify(), blender::threading::parallel_for(), bNodeTree::previews, blender::realtime_compositor::Result::release(), blender::realtime_compositor::Domain::size, blender::realtime_compositor::Result::type(), blender::realtime_compositor::Result::unbind_as_image(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by blender::realtime_compositor::NodeOperation::compute_preview(), and blender::realtime_compositor::PixelOperation::compute_preview().
Definition at line 179 of file utilities.cc.
Referenced by compute_preview_from_result().
|
static |
Definition at line 29 of file compositor/realtime_compositor/algorithms/intern/transform.cc.
References blender::math::abs(), blender::math::clamp(), blender::math::cos(), blender::math::from_loc_rot_scale(), GPU_max_texture_size(), blender::math::round(), blender::math::sin(), and blender::math::to_loc_rot_scale().
Referenced by transform().
Definition at line 60 of file bokeh_kernel.cc.
References compute_exterior_angle(), and M_PI_2.
Referenced by blender::realtime_compositor::BokehKernel::BokehKernel().
|
static |
Definition at line 65 of file van_vliet_gaussian_coefficients.cc.
Referenced by find_scale_factor().
|
static |
Definition at line 97 of file van_vliet_gaussian_coefficients.cc.
References blender::math::square().
Referenced by find_scale_factor().
| Schedule blender::realtime_compositor::compute_schedule | ( | const Context & | context, |
| const DerivedNodeTree & | tree ) |
Definition at line 279 of file scheduler.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), add_output_nodes(), compute_number_of_needed_buffers(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::nodes::DSocket::context(), get_output_linked_to_input(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::nodes::DSocket::node(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and tree.
|
static |
Definition at line 322 of file van_vliet_gaussian_coefficients.cc.
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
Definition at line 22 of file recursive_gaussian_blur.cc.
References blender::math::max().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 163 of file van_vliet_gaussian_coefficients.cc.
References find_scale_factor().
Referenced by blender::realtime_compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
| void blender::realtime_compositor::deriche_gaussian_blur | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float2 | sigma ) |
Definition at line 104 of file deriche_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), Color, blender::math::reduce_max(), and blender::realtime_compositor::Result::release().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 57 of file smaa.cc.
References blender::realtime_compositor::Result::allocate_texture(), Color, compute_dispatch_threads_at_least(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_texture_filter_mode(), and set_shader_luminance_coefficients().
Referenced by smaa().
| void blender::realtime_compositor::extract_alpha | ( | Context & | context, |
| Result & | input, | ||
| Result & | output ) |
Definition at line 43 of file extract_alpha.cc.
References extract_alpha_cpu(), and extract_alpha_gpu().
Referenced by blender::nodes::node_composite_image_cc::ImageOperation::compute_output().
|
static |
Definition at line 35 of file extract_alpha.cc.
References parallel_for().
Referenced by extract_alpha().
|
static |
Definition at line 18 of file extract_alpha.cc.
References compute_dispatch_threads_at_least(), GPU_shader_bind(), and GPU_shader_unbind().
Referenced by extract_alpha().
| DOutputSocket blender::realtime_compositor::find_preview_output_socket | ( | const DNode & | node | ) |
Definition at line 161 of file utilities.cc.
References is_node_preview_needed().
Referenced by blender::realtime_compositor::CompileState::compute_pixel_node_operation_outputs_count().
|
static |
Definition at line 126 of file van_vliet_gaussian_coefficients.cc.
References blender::math::abs(), BLI_assert_unreachable, compute_scaled_poles_variance(), compute_scaled_poles_variance_derivative(), and blender::math::square().
Referenced by computed_scaled_poles().
|
static |
Definition at line 116 of file smaa.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, Int2, and Vector.
Referenced by blend_neighborhood().
|
static |
Definition at line 23 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, Int2, and Vector.
Referenced by horizontal_pass(), horizontal_pass(), vertical_pass(), and vertical_pass().
|
static |
Definition at line 23 of file symmetric_separable_blur_variable_size.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, Int2, and Vector.
|
static |
Definition at line 154 of file summed_area_table.cc.
References BLI_assert_unreachable, Identity, and Square.
Referenced by compute_complete_blocks().
|
static |
Definition at line 34 of file summed_area_table.cc.
References BLI_assert_unreachable, Identity, and Square.
Referenced by compute_incomplete_prologues().
| DSocket blender::realtime_compositor::get_input_origin_socket | ( | DInputSocket | input | ) |
Get the origin socket of the given node input. If the input is not linked, the socket itself is returned. If the input is linked, the socket that is linked to it is returned, which could either be an input or an output. An input socket is returned when the given input is connected to an unlinked input of a group input node.
Definition at line 34 of file utilities.cc.
Referenced by get_output_linked_to_input(), and populate_gpu_node_stack().
|
static |
Definition at line 62 of file cached_mask.cc.
References BKE_id_copy_ex(), BKE_id_free(), BKE_mask_evaluate(), BKE_maskrasterize_handle_init(), BKE_maskrasterize_handle_new(), handles, Mask::id, LIB_ID_COPY_LOCALIZE, and LIB_ID_COPY_NO_ANIMDATA.
Referenced by blender::realtime_compositor::CachedMask::CachedMask().
|
static |
Definition at line 133 of file distortion_grid.cc.
References BKE_movieclip_get_size(), BKE_movieclip_user_set_frame(), DNA_struct_default_get, get_movie_clip_size(), and size().
Referenced by blender::realtime_compositor::DistortionGridContainer::get(), and get_movie_clip_size().
|
static |
Definition at line 118 of file keying_screen.cc.
References BKE_movieclip_remap_scene_to_clip_frame(), BKE_movieclip_user_set_frame(), and DNA_struct_default_get.
Referenced by blender::realtime_compositor::KeyingScreen::KeyingScreen().
| ResultType blender::realtime_compositor::get_node_socket_result_type | ( | const bNodeSocket * | socket | ) |
Get the result type that corresponds to the type of the given socket.
Definition at line 63 of file utilities.cc.
References BLI_assert_unreachable, Color, Float, SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, bNodeSocket::type, and Vector.
Referenced by input_descriptor_from_input_socket(), blender::realtime_compositor::InputSingleValueOperation::InputSingleValueOperation(), and blender::nodes::node_composite_antialiasing_cc::AntiAliasingOperation::NodeOperation().
| DOutputSocket blender::realtime_compositor::get_output_linked_to_input | ( | DInputSocket | input | ) |
Get the output socket linked to the given node input. If the input is not linked to an output, a null output is returned.
Definition at line 47 of file utilities.cc.
References get_input_origin_socket().
Referenced by compute_number_of_needed_buffers(), and compute_schedule().
|
static |
Definition at line 69 of file cached_image.cc.
References BLI_findstringindex(), get_render_layer(), offsetof, and RenderLayer::passes.
Referenced by compute_image_user_for_pass().
|
static |
Definition at line 26 of file realize_on_domain.cc.
References Bicubic, BLI_assert_unreachable, Color, Float, Float2, Float3, Int2, blender::realtime_compositor::RealizationOptions::interpolation, and Vector.
Referenced by realize_on_domain().
|
static |
Definition at line 61 of file cached_image.cc.
References BLI_findlink(), and ImageUser::layer.
Referenced by get_pass_index().
|
static |
Definition at line 200 of file shader_operation.cc.
References BLI_assert_unreachable, Color, Float, and Vector.
|
static |
Definition at line 19 of file morphological_blur.cc.
References BLI_assert_unreachable, Dilate, and Erode.
Referenced by apply_morphological_operator().
|
static |
Definition at line 18 of file morphological_distance.cc.
Referenced by horizontal_pass(), morphological_distance(), and vertical_pass().
|
static |
Definition at line 19 of file morphological_distance_feather.cc.
|
static |
Definition at line 276 of file shader_operation.cc.
References BLI_assert_unreachable, Color, Float, and Vector.
|
static |
Definition at line 83 of file cached_image.cc.
References BKE_image_is_multiview(), BLI_findstringindex(), BLI_listbase_count_at_most(), offsetof, and ImageUser::view.
Referenced by compute_image_user_for_pass().
|
static |
Definition at line 371 of file shader_operation.cc.
References BLI_assert_unreachable, Color, Float, and Vector.
|
static |
Definition at line 484 of file shader_operation.cc.
References BLI_assert_unreachable, Color, Float, and Vector.
|
static |
Definition at line 464 of file shader_operation.cc.
References BLI_assert_unreachable, Color, Float, and Vector.
|
static |
Definition at line 85 of file shader_node.cc.
References BLI_assert_unreachable, copy_v3_fl(), copy_v3_v3(), copy_v4_fl(), copy_v4_v4(), SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, GPUNodeStack::sockettype, bNodeSocket::type, and GPUNodeStack::vec.
Referenced by populate_gpu_node_stack().
|
static |
Definition at line 67 of file shader_node.cc.
References BLI_assert_unreachable, GPU_FLOAT, GPU_NONE, GPU_VEC3, GPU_VEC4, SOCK_FLOAT, SOCK_RGBA, and SOCK_VECTOR.
Referenced by populate_gpu_node_stack().
|
static |
Definition at line 45 of file symmetric_separable_blur.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::SymmetricSeparableBlurWeights::bind_as_texture(), blender::math::ceil(), compute_dispatch_threads_at_least(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), int, output, blender::realtime_compositor::Domain::size, and blender::realtime_compositor::SymmetricSeparableBlurWeights::unbind_as_texture().
|
static |
Definition at line 27 of file morphological_distance_feather.cc.
References blender::math::abs(), blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_distance_falloffs_as_texture(), blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_weights_as_texture(), compute_dispatch_threads_at_least(), Float, get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), output, blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_distance_falloffs_as_texture(), and blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_weights_as_texture().
Referenced by morphological_distance_feather(), symmetric_separable_blur(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 45 of file symmetric_separable_blur_variable_size.cc.
References blender::realtime_compositor::Result::allocate_texture(), blender::realtime_compositor::SymmetricSeparableBlurWeights::bind_as_texture(), compute_dispatch_threads_at_least(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), output, and blender::realtime_compositor::SymmetricSeparableBlurWeights::unbind_as_texture().
| InputDescriptor blender::realtime_compositor::input_descriptor_from_input_socket | ( | const bNodeSocket * | socket | ) |
Get the input descriptor of the given input socket.
Definition at line 109 of file utilities.cc.
References blender::realtime_compositor::InputDescriptor::domain_priority, blender::realtime_compositor::InputDescriptor::expects_single_value, get_node_socket_result_type(), blender::realtime_compositor::InputDescriptor::realization_options, blender::realtime_compositor::InputRealizationOptions::realize_on_operation_domain, and blender::realtime_compositor::InputDescriptor::type.
Referenced by blender::nodes::node_composite_antialiasing_cc::AntiAliasingOperation::NodeOperation().
| bool blender::realtime_compositor::is_node_preview_needed | ( | const DNode & | node | ) |
Definition at line 141 of file utilities.cc.
References NODE_HIDDEN, and NODE_PREVIEW.
Referenced by blender::realtime_compositor::NodeOperation::compute_preview(), and find_preview_output_socket().
| bool blender::realtime_compositor::is_output_linked_to_node_conditioned | ( | DOutputSocket | output, |
| FunctionRef< bool(DNode)> | condition ) |
Returns true if any of the nodes linked to the given output satisfies the given condition, and false otherwise.
Definition at line 78 of file utilities.cc.
Referenced by compute_number_of_needed_buffers(), and blender::realtime_compositor::CompileState::compute_pixel_node_operation_outputs_count().
| bool blender::realtime_compositor::is_pixel_node | ( | DNode | node | ) |
A node is a pixel node if it defines a method to get a shader node operation.
Definition at line 104 of file utilities.cc.
Referenced by compute_number_of_needed_buffers(), and blender::realtime_compositor::CompileState::should_compile_pixel_compile_unit().
| void blender::realtime_compositor::jump_flooding | ( | Context & | context, |
| Result & | input, | ||
| Result & | output ) |
Definition at line 38 of file jump_flooding.cc.
References blender::realtime_compositor::Result::allocate_texture(), BLI_assert, Half, Int2, jump_flooding_pass(), blender::math::max(), power_of_2_max_i(), and blender::realtime_compositor::Result::release().
Referenced by blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::execute(), and blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute().
|
static |
Definition at line 21 of file jump_flooding.cc.
References compute_dispatch_threads_at_least(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), and Half.
Referenced by jump_flooding().
Definition at line 301 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
Referenced by blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::compute_variable_size_search_radius().
| float blender::realtime_compositor::maximum_float_in_range | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float | lower_bound, | ||
| float | upper_bound ) |
Definition at line 318 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute().
| float blender::realtime_compositor::maximum_luminance | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float3 | luminance_coefficients ) |
Definition at line 282 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_log_maximum_luminance().
Definition at line 365 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
| float blender::realtime_compositor::minimum_float_in_range | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float | lower_bound, | ||
| float | upper_bound ) |
Definition at line 382 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute().
| float blender::realtime_compositor::minimum_luminance | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float3 | luminance_coefficients ) |
Definition at line 346 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), and parallel_reduction_dispatch().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_log_minimum_luminance().
| void blender::realtime_compositor::morphological_blur | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float2 | radius, | ||
| MorphologicalBlurOperation | operation = MorphologicalBlurOperation::Erode, | ||
| int | filter_type = R_FILTER_GAUSS ) |
Definition at line 56 of file morphological_blur.cc.
References apply_morphological_operator(), BLI_assert, Float, and symmetric_separable_blur().
Referenced by blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth().
| void blender::realtime_compositor::morphological_distance | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| int | distance ) |
Definition at line 26 of file morphological_distance.cc.
References blender::math::abs(), compute_dispatch_threads_at_least(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), and GPU_shader_uniform_1i().
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_morphed_matte(), and blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance().
| void blender::realtime_compositor::morphological_distance_feather | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| int | distance, | ||
| int | falloff_type = PROP_SMOOTH ) |
Definition at line 99 of file morphological_distance_feather.cc.
References horizontal_pass(), blender::realtime_compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_feathered_matte(), and blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_feather().
| int blender::realtime_compositor::number_of_inputs_linked_to_output_conditioned | ( | DOutputSocket | output, |
| FunctionRef< bool(DInputSocket)> | condition ) |
Returns the number of inputs linked to the given output that satisfy the given condition.
Definition at line 91 of file utilities.cc.
References count.
Referenced by blender::realtime_compositor::NodeOperation::compute_results_reference_counts(), and blender::realtime_compositor::PixelOperation::compute_results_reference_counts().
| bool blender::realtime_compositor::operator== | ( | const BokehKernelKey & | a, |
| const BokehKernelKey & | b ) |
Definition at line 42 of file bokeh_kernel.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const CachedImageKey & | a, |
| const CachedImageKey & | b ) |
Definition at line 49 of file cached_image.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const CachedMaskKey & | a, |
| const CachedMaskKey & | b ) |
Definition at line 51 of file cached_mask.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const CachedShaderKey & | a, |
| const CachedShaderKey & | b ) |
Definition at line 35 of file cached_shader.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const CachedTextureKey & | a, |
| const CachedTextureKey & | b ) |
Definition at line 46 of file cached_texture.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const DericheGaussianCoefficientsKey & | a, |
| const DericheGaussianCoefficientsKey & | b ) |
Definition at line 48 of file deriche_gaussian_coefficients.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const DistortionGridKey & | a, |
| const DistortionGridKey & | b ) |
Definition at line 47 of file distortion_grid.cc.
References b, and BKE_tracking_camera_distortion_equal().
| bool blender::realtime_compositor::operator== | ( | const FogGlowKernelKey & | a, |
| const FogGlowKernelKey & | b ) |
Definition at line 42 of file fog_glow_kernel.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const KeyingScreenKey & | a, |
| const KeyingScreenKey & | b ) |
Definition at line 50 of file keying_screen.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const MorphologicalDistanceFeatherWeightsKey & | a, |
| const MorphologicalDistanceFeatherWeightsKey & | b ) |
Definition at line 41 of file morphological_distance_feather_weights.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const OCIOColorSpaceConversionShaderKey & | a, |
| const OCIOColorSpaceConversionShaderKey & | b ) |
Definition at line 48 of file ocio_color_space_conversion_shader.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const SymmetricBlurWeightsKey & | a, |
| const SymmetricBlurWeightsKey & | b ) |
Definition at line 39 of file symmetric_blur_weights.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const SymmetricSeparableBlurWeightsKey & | a, |
| const SymmetricSeparableBlurWeightsKey & | b ) |
Definition at line 38 of file symmetric_separable_blur_weights.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const TexturePoolKey & | a, |
| const TexturePoolKey & | b ) |
Definition at line 35 of file texture_pool.cc.
References b.
| bool blender::realtime_compositor::operator== | ( | const VanVlietGaussianCoefficientsKey & | a, |
| const VanVlietGaussianCoefficientsKey & | b ) |
Definition at line 54 of file van_vliet_gaussian_coefficients.cc.
References b.
| void blender::realtime_compositor::parallel_for | ( | const int2 | range, |
| FunctionRef< void(int2)> | function ) |
Definition at line 252 of file utilities.cc.
Referenced by blender::realtime_compositor::CachedImage::CachedImage(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_clear(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_clear(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_copy_cpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_copy_cpu(), blender::realtime_compositor::ConvertColorToFloatOperation::execute_cpu(), blender::realtime_compositor::ConvertColorToVectorOperation::execute_cpu(), blender::realtime_compositor::ConvertFloatToColorOperation::execute_cpu(), blender::realtime_compositor::ConvertFloatToVectorOperation::execute_cpu(), blender::realtime_compositor::ConvertVectorToColorOperation::execute_cpu(), blender::realtime_compositor::ConvertVectorToFloatOperation::execute_cpu(), blender::nodes::node_composite_composite_cc::CompositeOperation::execute_ignore_alpha_cpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_ignore_alpha_cpu(), and extract_alpha_cpu().
|
static |
Definition at line 29 of file parallel_reduction.cc.
References blender::math::divide_ceil(), GPU_BARRIER_TEXTURE_FETCH, GPU_BARRIER_TEXTURE_UPDATE, GPU_compute_dispatch(), GPU_DATA_FLOAT, GPU_memory_barrier(), GPU_shader_get_sampler_binding(), GPU_shader_uniform_1b(), GPU_texture_bind(), GPU_texture_height(), GPU_texture_image_bind(), GPU_texture_image_unbind(), GPU_texture_read(), GPU_texture_unbind(), GPU_texture_width(), and texture.
Referenced by maximum_float(), maximum_float_in_range(), maximum_luminance(), minimum_float(), minimum_float_in_range(), minimum_luminance(), sum_blue(), sum_blue_squared_difference(), sum_color(), sum_green(), sum_green_squared_difference(), sum_log_luminance(), sum_luminance(), sum_luminance_squared_difference(), sum_red(), and sum_red_squared_difference().
|
static |
Definition at line 146 of file shader_node.cc.
References blender::nodes::DSocket::bsocket(), GPUNodeStack::end, get_input_origin_socket(), gpu_stack_vector_from_socket(), gpu_type_from_socket_type(), GPUNodeStack::hasinput, GPUNodeStack::hasoutput, GPUNodeStack::link, GPUNodeStack::sockettype, bNodeSocket::type, and GPUNodeStack::type.
| void blender::realtime_compositor::realize_on_domain | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| const Domain & | domain, | ||
| const float3x3 & | input_transformation, | ||
| const RealizationOptions & | realization_options ) |
Definition at line 64 of file realize_on_domain.cc.
References Bicubic, Bilinear, compute_dispatch_threads_at_least(), ELEM, get_realization_shader(), GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, GPU_SAMPLER_EXTEND_MODE_REPEAT, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_mat3_as_mat4(), GPU_texture_extend_mode_x(), GPU_texture_extend_mode_y(), GPU_texture_filter_mode(), blender::realtime_compositor::RealizationOptions::interpolation, blender::math::invert(), Nearest, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::realtime_compositor::Domain::size, blender::math::translate(), blender::realtime_compositor::RealizationOptions::wrap_x, and blender::realtime_compositor::RealizationOptions::wrap_y.
Referenced by blender::realtime_compositor::Operation::add_and_evaluate_input_processors(), blender::realtime_compositor::RealizeOnDomainOperation::execute(), and transform().
| void blender::realtime_compositor::recursive_gaussian_blur | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float2 | radius ) |
Definition at line 50 of file recursive_gaussian_blur.cc.
References compute_sigma_from_radius(), deriche_gaussian_blur(), blender::math::reduce_max(), symmetric_separable_blur(), and van_vliet_gaussian_blur().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::execute().
|
static |
Definition at line 22 of file smaa.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, GPU_shader_uniform_3fv(), IMB_colormanagement_get_luminance_coefficients(), Int2, and Vector.
Referenced by detect_edges().
| void blender::realtime_compositor::smaa | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float | threshold = 0.1f, | ||
| float | local_contrast_adaptation_factor = 2.0f, | ||
| int | corner_rounding = 25 ) |
Definition at line 160 of file smaa.cc.
References blend_neighborhood(), calculate_blending_weights(), detect_edges(), and blender::realtime_compositor::Result::release().
Referenced by blender::nodes::node_composite_zcombine_cc::ZCombineOperation::compute_mask(), blender::nodes::node_composite_antialiasing_cc::AntiAliasingOperation::execute(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::execute(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::execute(), and blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_threshold().
Definition at line 118 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum().
| float blender::realtime_compositor::sum_blue_squared_difference | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float | subtrahend ) |
Definition at line 234 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference().
|
static |
Definition at line 32 of file deriche_gaussian_blur.cc.
References blender::realtime_compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::realtime_compositor::Result::domain(), GPU_shader_bind(), GPU_shader_unbind(), and blender::realtime_compositor::Result::unbind_as_texture().
Referenced by blur_pass().
|
static |
Definition at line 32 of file van_vliet_gaussian_blur.cc.
References blender::realtime_compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::realtime_compositor::Result::domain(), GPU_shader_bind(), GPU_shader_unbind(), and blender::realtime_compositor::Result::unbind_as_texture().
Definition at line 173 of file parallel_reduction.cc.
References Color, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_color().
Definition at line 101 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum().
| float blender::realtime_compositor::sum_green_squared_difference | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float | subtrahend ) |
Definition at line 214 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference().
| float blender::realtime_compositor::sum_log_luminance | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float3 | luminance_coefficients ) |
Definition at line 154 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_log_luminance().
| float blender::realtime_compositor::sum_luminance | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float3 | luminance_coefficients ) |
Definition at line 135 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_luminance(), and blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum().
| float blender::realtime_compositor::sum_luminance_squared_difference | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float3 | luminance_coefficients, | ||
| float | subtrahend ) |
Definition at line 254 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_3fv(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference().
Definition at line 84 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum().
| float blender::realtime_compositor::sum_red_squared_difference | ( | Context & | context, |
| GPUTexture * | texture, | ||
| float | subtrahend ) |
Definition at line 194 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::realtime_compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), and sum().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference().
| void blender::realtime_compositor::summed_area_table | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| SummedAreaTableOperation | operation = SummedAreaTableOperation::Identity ) |
Definition at line 202 of file summed_area_table.cc.
References Color, compute_complete_blocks(), compute_complete_x_prologues(), compute_complete_y_prologues(), compute_incomplete_prologues(), Full, and blender::realtime_compositor::Result::release().
Referenced by blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_summed_area_table().
| void blender::realtime_compositor::symmetric_separable_blur | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float2 | radius, | ||
| int | filter_type = R_FILTER_GAUSS, | ||
| bool | extend_bounds = false, | ||
| bool | gamma_correct = false ) |
Definition at line 135 of file symmetric_separable_blur.cc.
References horizontal_pass(), blender::realtime_compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::compute_base_ghost(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_blurred_input(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_blurred_matte(), blender::nodes::node_composite_blur_cc::BlurOperation::execute(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic(), morphological_blur(), and recursive_gaussian_blur().
| void blender::realtime_compositor::symmetric_separable_blur_variable_size | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| Result & | radius, | ||
| int | filter_type = R_FILTER_GAUSS, | ||
| int | weights_resolution = 128 ) |
Definition at line 125 of file symmetric_separable_blur_variable_size.cc.
References horizontal_pass(), blender::realtime_compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute().
| void blender::realtime_compositor::transform | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| const float3x3 & | transformation, | ||
| RealizationOptions | realization_options ) |
Definition at line 55 of file compositor/realtime_compositor/algorithms/intern/transform.cc.
References compute_realized_transformation_domain(), blender::realtime_compositor::RealizationOptions::interpolation, blender::MatBase< T, NumCol, NumRow, Alignment >::location(), realize_on_domain(), blender::realtime_compositor::Domain::transformation, blender::realtime_compositor::RealizationOptions::wrap_x, and blender::realtime_compositor::RealizationOptions::wrap_y.
Referenced by blender::nodes::node_composite_rotate_cc::RotateOperation::execute(), blender::nodes::node_composite_stabilize2d_cc::Stabilize2DOperation::execute(), blender::nodes::node_composite_transform_cc::TransformOperation::execute(), blender::nodes::node_composite_translate_cc::TranslateOperation::execute(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_constant_size(), and blender::nodes::node_geo_collection_info_cc::node_geo_exec().
| void blender::realtime_compositor::van_vliet_gaussian_blur | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| float2 | sigma ) |
Definition at line 143 of file van_vliet_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), Color, blender::math::reduce_max(), and blender::realtime_compositor::Result::release().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 94 of file symmetric_separable_blur.cc.
References blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::SymmetricSeparableBlurWeights::bind_as_texture(), blender::math::ceil(), compute_dispatch_threads_at_least(), blender::realtime_compositor::Result::domain(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), blender::realtime_compositor::Domain::size, blender::realtime_compositor::Result::type(), blender::realtime_compositor::Result::unbind_as_texture(), and blender::realtime_compositor::SymmetricSeparableBlurWeights::unbind_as_texture().
|
static |
Definition at line 66 of file morphological_distance_feather.cc.
References blender::math::abs(), blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_distance_falloffs_as_texture(), blender::realtime_compositor::MorphologicalDistanceFeatherWeights::bind_weights_as_texture(), compute_dispatch_threads_at_least(), blender::realtime_compositor::Result::domain(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), blender::realtime_compositor::Result::unbind_as_texture(), blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_distance_falloffs_as_texture(), and blender::realtime_compositor::MorphologicalDistanceFeatherWeights::unbind_weights_as_texture().
Referenced by morphological_distance_feather(), symmetric_separable_blur(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 88 of file symmetric_separable_blur_variable_size.cc.
References blender::realtime_compositor::Result::bind_as_texture(), blender::realtime_compositor::SymmetricSeparableBlurWeights::bind_as_texture(), compute_dispatch_threads_at_least(), blender::realtime_compositor::Result::domain(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), blender::realtime_compositor::Result::type(), blender::realtime_compositor::Result::unbind_as_texture(), and blender::realtime_compositor::SymmetricSeparableBlurWeights::unbind_as_texture().
|
inlinestaticconstexpr |
Definition at line 59 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator_0(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 60 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 61 of file deriche_gaussian_coefficients.cc.
Referenced by compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), compute_denominator_4(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 62 of file deriche_gaussian_coefficients.cc.
Referenced by compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), compute_denominator_4(), compute_feedback_coefficients(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 63 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator_0(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 64 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 65 of file deriche_gaussian_coefficients.cc.
Referenced by compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
|
inlinestaticconstexpr |
Definition at line 66 of file deriche_gaussian_coefficients.cc.
Referenced by compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().