|
Blender V5.3
|
Typedefs | |
| using | BundleItemPtr = ImplicitSharingPtr<BundleItem> |
| using | ClosurePtr = ImplicitSharingPtr<Closure> |
| using | ProcessorsVector = Vector<std::unique_ptr<SimpleOperation>> |
| using | PixelCompileUnit = VectorSet<const bNode *> |
| using | Color = ColorSceneLinear4f<eAlpha::Premultiplied> |
| using | SocketResultFn = FunctionRef<Result *(const bNodeSocket &)> |
| using | NeededBuffers = Map<const bNode *, int> |
Functions | |
| ImBuf * | compute_preview (Context &context, const Result &input) |
| void | convolve (Context &context, const Result &input, const Result &kernel, Result &output, const bool normalize_kernel) |
| void | deriche_gaussian_blur (Context &context, const Result &input, Result &output, const float2 &sigma, const bool extend_bounds) |
| void | extract_alpha (Context &context, const Result &input, Result &output) |
| void | jump_flooding (Context &context, Result &input, Result &output) |
| int2 | encode_jump_flooding_value (const int2 &closest_seed_texel, const bool is_flooded) |
| int2 | initialize_jump_flooding_value (const int2 &texel, const bool is_seed) |
| void | morphological_blur (Context &context, const Result &input, Result &output, const float2 &radius, const MorphologicalBlurOperation operation=MorphologicalBlurOperation::Erode, const math::FilterKernel filter_type=math::FilterKernel::Gauss) |
| void | morphological_distance (Context &context, const Result &input, Result &output, const int distance) |
| void | morphological_distance_feather (Context &context, const Result &input, Result &output, const int distance, const int falloff_type=PROP_SMOOTH) |
| void | pad (Context &context, const Result &input, Result &output, const int2 size, const PaddingMethod padding_method) |
| float4 | sum_color (Context &context, const Result &input) |
| float | sum_log_luminance (Context &context, const Result &input, const float3 &luminance_coefficients) |
| float4 | sum_squared_difference_color (Context &context, const Result &input, const float4 subtrahend) |
| float | minimum_float (Context &context, const Result &input) |
| Color | minimum_color (Context &context, const Result &input) |
| float | minimum_luminance (Context &context, const Result &input, const float3 &luminance_coefficients) |
| float | minimum_float_in_range (Context &context, const Result &input, const float lower_bound, const float upper_bound) |
| float | maximum_float (Context &context, const Result &input) |
| float2 | maximum_float2 (Context &context, const Result &input) |
| Color | maximum_color (Context &context, const Result &input) |
| float | maximum_luminance (Context &context, const Result &input, const float3 &luminance_coefficients) |
| float | maximum_float_in_range (Context &context, const Result &input, const float lower_bound, const float upper_bound) |
| void | recursive_gaussian_blur (Context &context, const Result &input, Result &output, const float2 &radius, const bool extend_bounds=false) |
| Color | sample_pixel (Context &context, const Result &input, const Interpolation &interpolation, const Extension &extension_mode_x, const Extension &extension_mode_y, const float2 coordinates) |
| void | smaa (Context &context, const Result &input, Result &output, const float threshold=0.1f, const float local_contrast_adaptation_factor=2.0f, const int corner_rounding=25) |
| void | summed_area_table (Context &context, Result &input, Result &output, SummedAreaTableOperation operation=SummedAreaTableOperation::Identity) |
| float4 | summed_area_table_sum (const Result &table, const int2 &lower_bound, const int2 &upper_bound) |
| void | symmetric_separable_blur (Context &context, const Result &input, Result &output, const float2 &radius, const math::FilterKernel filter_type=math::FilterKernel::Gauss, const bool extend_bounds=false) |
| void | symmetric_separable_blur_variable_size (Context &context, const Result &input, const Result &radius, Result &output, const int weights_resolution=128, const math::FilterKernel filter_type=math::FilterKernel::Gauss) |
| void | van_vliet_gaussian_blur (Context &context, const Result &input, Result &output, const float2 &sigma, const bool extend_bounds) |
| static void | compute_preview_cpu (Context &context, const Result &input, ImBuf *output) |
| static void | compute_preview_gpu (Context &context, const Result &input_result, ImBuf *output) |
| static int2 | compute_preview_size (int2 size) |
| static void | sum_causal_and_non_causal_results_gpu (Context &context, const Result &causal_input, const Result &non_causal_input, Result &output) |
| static void | sum_causal_and_non_causal_results_cpu (const Result &causal_input, const Result &non_causal_input, Result &output) |
| static void | sum_causal_and_non_causal_results (Context &context, const Result &causal_input, const Result &non_causal_input, Result &output) |
| static void | blur_pass_gpu (Context &context, const Result &input, Result &causal_result, Result &non_causal_result, const float sigma) |
| static void | blur_pass_cpu (Context &context, const Result &input, Result &causal_output, Result &non_causal_output, const float sigma) |
| static void | blur_pass (Context &context, const Result &input, Result &output, const float sigma) |
| static float2 | compute_radius_from_sigma (const float2 sigma) |
| static void | extract_alpha_gpu (Context &context, const Result &input, Result &output) |
| static void | extract_alpha_cpu (const Result &input, Result &output) |
| static void | jump_flooding_pass_gpu (Context &context, Result &input, Result &output, int step_size) |
| static void | jump_flooding_pass_cpu (Result &input, Result &output, int step_size) |
| 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_gpu (Context &context, const Result &input, Result &blurred_input, const MorphologicalBlurOperation operation) |
| static void | apply_morphological_operator_cpu (const Result &input, Result &blurred_input, const MorphologicalBlurOperation operation) |
| static void | apply_morphological_operator (Context &context, const Result &input, Result &blurred_input, const MorphologicalBlurOperation operation) |
| static const char * | get_shader_name (const int distance) |
| static void | morphological_distance_gpu (Context &context, const Result &input, Result &output, const int distance) |
| template<bool IsDilate> | |
| static void | morphological_distance_cpu (const Result &input, Result &output, const int structuring_element_radius) |
| template<bool IsErode> | |
| static void | morphological_distance_feather_pass (const Result &input, const MorphologicalDistanceFeatherWeights &weights, Result &output) |
| static const char * | get_shader_name (const int distance) |
| static Result | horizontal_pass_gpu (Context &context, const Result &input, const int distance, const int falloff_type) |
| static Result | horizontal_pass_cpu (Context &context, const Result &input, const int distance, const int falloff_type) |
| static Result | horizontal_pass (Context &context, const Result &input, const int distance, const int falloff_type) |
| static void | vertical_pass_gpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const int distance, const int falloff_type) |
| static void | vertical_pass_cpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const int distance, const int falloff_type) |
| static void | vertical_pass (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const int distance, const int falloff_type) |
| static const char * | get_shader_name (const ResultType type, const PaddingMethod padding_method) |
| static void | zero_pad_gpu (Context &context, const Result &input, Result &output, const int2 size, const PaddingMethod padding_method) |
| static void | zero_pad_cpu (const Result &input, Result &output, const int2 size, const PaddingMethod padding_method) |
| static float * | parallel_reduction_dispatch (gpu::Texture *texture, gpu::Shader *shader, gpu::TextureFormat format) |
| template<typename Value, typename Function, typename Reduction> | |
| static Value | parallel_reduce (const int2 range, const Value &identity, const Function &function, const Reduction &reduction) |
| static float4 | sum_color_gpu (Context &context, const Result &input) |
| static float4 | sum_color_cpu (const Result &input) |
| static float | sum_log_luminance_gpu (Context &context, const Result &input, const float3 &luminance_coefficients) |
| static float | sum_log_luminance_cpu (const Result &input, const float3 &luminance_coefficients) |
| static float4 | sum_squared_difference_color_gpu (Context &context, const Result &input, const float4 subtrahend) |
| static float4 | sum_squared_difference_color_cpu (const Result &input, const float4 subtrahend) |
| static float | minimum_float_gpu (Context &context, const Result &input) |
| static float | minimum_float_cpu (const Result &input) |
| static Color | minimum_color_cpu (const Result &input) |
| static Color | minimum_color_gpu (Context &context, const Result &input) |
| static float | minimum_luminance_gpu (Context &context, const Result &input, const float3 &luminance_coefficients) |
| static float | minimum_luminance_cpu (const Result &input, const float3 &luminance_coefficients) |
| static float | minimum_float_in_range_gpu (Context &context, const Result &input, const float lower_bound, const float upper_bound) |
| static float | minimum_float_in_range_cpu (const Result &input, const float lower_bound, const float upper_bound) |
| static float | maximum_float_gpu (Context &context, const Result &input) |
| static float | maximum_float_cpu (const Result &input) |
| static float2 | maximum_float2_gpu (Context &context, const Result &input) |
| static float2 | maximum_float2_cpu (const Result &input) |
| static Color | maximum_color_gpu (Context &context, const Result &input) |
| static Color | maximum_color_cpu (const Result &input) |
| static float | maximum_luminance_gpu (Context &context, const Result &input, const float3 &luminance_coefficients) |
| static float | maximum_luminance_cpu (const Result &input, const float3 &luminance_coefficients) |
| static float | maximum_float_in_range_gpu (Context &context, const Result &input, const float lower_bound, const float upper_bound) |
| static float | maximum_float_in_range_cpu (const Result &input, const float lower_bound, const float upper_bound) |
| static float2 | compute_sigma_from_radius (float2 radius) |
| static char const * | get_pixel_sampler_shader_name (const Interpolation &interpolation) |
| static Color | sample_pixel_gpu (Context &context, const Result &input, const Interpolation &interpolation, const Extension &extension_mode_x, const Extension &extension_mode_y, const float2 coordinates) |
| static Color | sample_pixel_cpu (const Result &input, const Interpolation &interpolation, const Extension &extension_mode_x, const Extension &extension_mode_y, const float2 coordinates) |
| static void | SMAAMovc (float2 cond, float2 &variable, float2 value) |
| static void | SMAAMovc (float4 cond, float4 &variable, float4 value) |
| static void | SMAAEdgeDetectionVS (float2 texcoord, int2 size, float4 offset[3]) |
| static void | SMAABlendingWeightCalculationVS (float2 texcoord, int2 size, float2 &pixcoord, float4 offset[3]) |
| static void | SMAANeighborhoodBlendingVS (float2 texcoord, int2 size, float4 &offset) |
| template<typename T> | |
| static float2 | SMAALumaEdgeDetectionPS (float2 texcoord, float4 offset[3], SMAATexture2D(colorTex), float edge_threshold, float3 luminance_coefficients, float local_contrast_adaptation_factor) |
| static float2 | SMAADecodeDiagBilinearAccess (float2 e) |
| static float4 | SMAADecodeDiagBilinearAccess (float4 e) |
| static float2 | SMAASearchDiag1 (SMAATexture2D(edgesTex), float2 texcoord, float2 dir, int2 size, float2 &e) |
| static float2 | SMAASearchDiag2 (SMAATexture2D(edgesTex), float2 texcoord, float2 dir, int2 size, float2 &e) |
| static float2 | SMAAAreaDiag (SMAATexture2D(areaTex), float2 dist, float2 e, float offset) |
| static float2 | SMAACalculateDiagWeights (SMAATexture2D(edgesTex), SMAATexture2D(areaTex), float2 texcoord, float2 e, float4 subsampleIndices, int2 size) |
| static float | SMAASearchLength (SMAATexture2D(searchTex), float2 e, float offset) |
| static float | SMAASearchXLeft (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchXRight (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchYUp (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float | SMAASearchYDown (SMAATexture2D(edgesTex), SMAATexture2D(searchTex), float2 texcoord, float end, int2 size) |
| static float2 | SMAAArea (SMAATexture2D(areaTex), float2 dist, float e1, float e2, float offset) |
| static void | SMAADetectHorizontalCornerPattern (SMAATexture2D(edgesTex), float2 &weights, float4 texcoord, float2 d, int2 size, int corner_rounding) |
| static void | SMAADetectVerticalCornerPattern (SMAATexture2D(edgesTex), float2 &weights, float4 texcoord, float2 d, int2 size, int corner_rounding) |
| static float4 | SMAABlendingWeightCalculationPS (float2 texcoord, float2 pixcoord, float4 offset[3], SMAATexture2D(edgesTex), SMAATexture2D(areaTex), SMAATexture2D(searchTex), float4 subsampleIndices, int2 size, int corner_rounding) |
| template<typename T> | |
| static float4 | SMAANeighborhoodBlendingPS (float2 texcoord, float4 offset, SMAATexture2D(colorTex), SMAATexture2D(blendTex), int2 size) |
| static float3 | get_luminance_coefficients (ResultType type) |
| static Result | detect_edges_gpu (Context &context, const Result &input, const float threshold, const float local_contrast_adaptation_factor) |
| static Result | detect_edges_cpu (Context &context, const Result &input, const float threshold, const float local_contrast_adaptation_factor) |
| static Result | detect_edges (Context &context, const Result &input, const float threshold, const float local_contrast_adaptation_factor) |
| static Result | calculate_blending_weights_gpu (Context &context, const Result &edges, const int corner_rounding) |
| static Result | calculate_blending_weights_cpu (Context &context, const Result &edges, const int corner_rounding) |
| static Result | calculate_blending_weights (Context &context, const Result &edges, const int corner_rounding) |
| static const char * | get_blend_shader_name (ResultType type) |
| static void | blend_neighborhood_gpu (Context &context, const Result &input, const Result &weights, Result &output) |
| static void | blend_neighborhood_cpu (const Result &input, const Result &weights, Result &output) |
| static void | blend_neighborhood (Context &context, const Result &input, const 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 void | summed_area_table_gpu (Context &context, Result &input, Result &output, SummedAreaTableOperation operation) |
| static void | summed_area_table_cpu (Result &input, Result &output, SummedAreaTableOperation operation) |
| template<typename T> | |
| static void | blur_pass (const Result &input, const Result &weights, Result &output) |
| static const char * | get_blur_shader (const ResultType type) |
| static void | blur_pass_gpu (Context &context, const Result &input, Result &output, const float radius, const math::FilterKernel filter_type) |
| static void | blur_pass_cpu (Context &context, const Result &input, Result &output, const float radius, const math::FilterKernel filter_type) |
| static void | blur_pass (Context &context, const Result &input, Result &output, const float radius, const math::FilterKernel filter_type) |
| static void | blur_pass (const Result &input, const Result &radius_input, const Result &weights, Result &output, const bool is_vertical_pass) |
| static Result | horizontal_pass_gpu (Context &context, const Result &input, const Result &radius, const int weights_resolution, const math::FilterKernel filter_type) |
| static Result | horizontal_pass_cpu (Context &context, const Result &input, const Result &radius, const int weights_resolution, const math::FilterKernel filter_type) |
| static Result | horizontal_pass (Context &context, const Result &input, const Result &radius, const int weights_resolution, const math::FilterKernel filter_type) |
| static void | vertical_pass_gpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, const Result &radius, Result &output, const int weights_resolution, const math::FilterKernel filter_type) |
| static void | vertical_pass_cpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, const Result &radius, Result &output, const int weights_resolution, const math::FilterKernel filter_type) |
| static void | vertical_pass (Context &context, const Result &original_input, const Result &horizontal_pass_result, const Result &radius, Result &output, const int weights_resolution, const math::FilterKernel filter_type) |
| static void | sum_causal_and_non_causal_results_gpu (Context &context, const Result &first_causal_input, const Result &first_non_causal_input, const Result &second_causal_input, const Result &second_non_causal_input, Result &output) |
| static void | sum_causal_and_non_causal_results_cpu (const Result &first_causal_input, const Result &first_non_causal_input, const Result &second_causal_input, const Result &second_non_causal_input, Result &output) |
| static void | sum_causal_and_non_causal_results (Context &context, const Result &first_causal_input, const Result &first_non_causal_input, const Result &second_causal_input, const Result &second_non_causal_input, Result &output) |
| static void | blur_pass_gpu (Context &context, const Result &input, Result &first_causal_result, Result &first_non_causal_result, Result &second_causal_result, Result &second_non_causal_result, const float sigma) |
| static void | blur_pass_cpu (Context &context, const Result &input, Result &first_causal_output, Result &first_non_causal_output, Result &second_causal_output, Result &second_non_causal_output, const float sigma) |
| static void | blur_pass (Context &context, const Result &input, Result &output, const float sigma) |
| static float2 | compute_radius_from_sigma (const float2 sigma) |
| bool | operator== (const BokehKernelKey &a, const BokehKernelKey &b) |
| bool | operator== (const CachedImageKey &a, const CachedImageKey &b) |
| bool | operator== (const CachedShaderKey &a, const CachedShaderKey &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 ImageCoordinatesKey &a, const ImageCoordinatesKey &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 OCIOToDisplayShaderKey &a, const OCIOToDisplayShaderKey &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 float2 | get_regular_polygon_vertex_position (const int vertex_index, const float exterior_angle, const float rotation) |
| static float2 | closest_point_on_line (const float2 point, const float2 line_start, const float2 line_end) |
| static float | bokeh (const float2 point, const float circumradius, const float exterior_angle, const float rotation, const float roundness, const float catadioptric) |
| static float4 | spectral_bokeh (const int2 texel, const int2 size, const float exterior_angle, const float rotation, const float roundness, const float catadioptric, const float lens_shift) |
| static RenderLayer * | get_render_layer (const RenderResult *render_result, const ImageUser &image_user) |
| static int | get_pass_index (const RenderResult *render_result, const ImageUser &image_user, const char *name) |
| static RenderPass * | get_render_pass (const RenderLayer *render_layer, const ImageUser &image_user) |
| static RenderPass * | get_render_pass (const RenderResult *render_result, const ImageUser &image_user) |
| static int | get_view_index (const Context &context, const RenderResult *render_result, const ImageUser &image_user) |
| static ImageUser | compute_image_user_for_pass (const Context &context, const Image &image, const RenderResult *render_result, const ImageUser &image_user, const char *pass_name) |
| static ImBuf * | compute_linear_buffer (ImBuf *image_buffer) |
| static ResultType | float_type (const int channels_count) |
| static ResultType | get_pass_type (const RenderPass *render_pass) |
| static Vector< MaskRasterHandle * > | get_mask_raster_handles (Mask *mask, int2 size, int frame, bool frame_is_current, 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) |
| template<typename Value, typename Function, typename Reduction> | |
| static Value | parallel_reduce (const int range, const Value &identity, const Function &function, const Reduction &reduction) |
| static Domain | compute_output_domain (MovieDistortion *distortion, const int2 &calibration_size, const DistortionType &type, const Domain &domain) |
| static int2 | get_movie_clip_size (MovieClip *movie_clip, int frame_number) |
| static float | compute_fog_glow_kernel_value (int2 texel, math::AngleRadian field_of_view_per_pixel) |
| static const char * | get_shader_name (const CoordinatesType type) |
| 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 int | load_font (const VFont *font) |
| static float | compute_draw_horizontal_position (const int start_offset, const int line_width, const int total_width, const HorizontalAlignment alignment) |
| static float | compute_draw_vertical_position (const int lines_count, const int line_index, const int line_height, const int descender) |
| static float | compute_horizontal_offset (const int start_offset, const int total_width, const HorizontalAlignment alignment) |
| static float | compute_vertical_offset (const int total_height, const int line_height, const int descender, const VerticalAlignment alignment) |
| 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, double 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) |
| StringRefNull | to_string (const Interpolation &interpolation) |
| StringRefNull | to_string (const Extension &extension) |
| GPUSamplerExtendMode | map_extension_mode_to_extend_mode (const Extension &mode) |
| NodeOperation * | get_group_node_operation (Context &context, const bNode &node) |
| void | init () |
| NodeOperation * | get_node_tree_input_node_operation (Context &context, const bNode &node, Operation &operation) |
| NodeOperation * | get_node_tree_output_node_operation (Context &context, const bNode &node, Operation &operation) |
| StringRefNull | to_string (const ResultPrecision &precision) |
| BLI_INLINE math::InterpWrapMode | map_extension_mode_to_wrap_mode (const Extension &mode) |
| static void | sample_ewa_read_callback (void *userdata, int x, int y, float result[4]) |
| Schedule | compute_schedule (const Context &context, const bNodeTree &node_group, const ComputeContext &compute_context, SocketResultFn socket_result_fn, const bke::bNodeTreeZone *zone=nullptr) |
| int | compute_output_reference_count (const bNodeSocket &output, const Schedule &schedule, const VectorSet< const bNode * > *ignored_nodes=nullptr) |
| NodeOperation * | get_undefined_node_operation (Context &context, const bNode &node) |
| bool | is_socket_available (const bNodeSocket *socket) |
| const bNodeSocket * | get_output_linked_to_input (const bNodeSocket &input) |
| ResultType | socket_data_type_to_result_type (const eNodeSocketDatatype data_type, const std::optional< int > dimensions=std::nullopt) |
| ResultType | get_node_socket_result_type (const bNodeSocket *socket) |
| ResultType | get_node_interface_socket_result_type (const bNodeTreeInterfaceSocket &socket) |
| bool | is_output_linked_to_input_conditioned (const bNodeSocket &output, FunctionRef< bool(const bNodeSocket &)> condition) |
| bool | is_pixel_node (const bNode &node) |
| InputDescriptor | input_descriptor_from_input_socket (const bNodeSocket *socket) |
| InputDescriptor | input_descriptor_from_interface_input (const bNodeTree &node_group, const bNodeTreeInterfaceSocket &socket) |
| void | compute_dispatch_threads_at_least (gpu::Shader *shader, int2 threads_range, int2 local_size=int2(16)) |
| bool | is_node_preview_needed (const bNode &node) |
| const bNodeSocket * | find_preview_output_socket (const bNode &node) |
| template<typename Function> | |
| void | parallel_for (const int2 range, const Function &function) |
| static ResultType | get_implicit_input_result_type (const ImplicitInputType implicit_input) |
| static void | register_cpp_types () |
| static Result * | get_node_group_result_for_socket (NodeGroupOperation &operation, const bNodeSocket &socket) |
| static bool | is_node_tree_input_node (const bNode &node) |
| static destruct_ptr< nodes::eval_log::ImageInfoLog > | get_image_info_log (LinearAllocator<> *allocator, const Domain &domain, const ResultPrecision &precision) |
| template<typename T> | |
| static void | realize_on_domain (const Result &input, Result &output, const float3x3 &transformation, const std::optional< float2x2 > &jacobian) |
| static Domain | sanitize_domain_data_size (const Domain domain, const Context &context, const std::optional< ResultStorageType > storage_type) |
| static void | bind_texture (gpu::Shader *shader, gpu::Texture *texture, const StringRef texture_name) |
| static bool | is_compatible_texture (const gpu::Texture *texture, const Result &result) |
| static bke::compositor::ExecutionMode | get_execution_mode (const Context &context) |
| static Result * | get_effect_input (Context &context, PointerRNA &effect_inputs_ptr, const bNodeTreeInterfaceSocket &input_socket) |
| static bool | has_viewer_node (const bNodeTree &node_group, const ComputeContext &compute_context, const ComputeContext &viewer_compute_context, bke::ComputeContextCache &compute_context_cache) |
| static bool | has_file_output_recursive (const bNodeTree &node_group) |
| template<typename T, typename SocketT> | |
| static std::optional< T > | get_input_socket_value (const Context &context, const bNodeSocket &input, SocketResultFn socket_result_fn) |
| static bool | is_switch_node_input_needed (const Context &context, const bNode &node, const bNodeSocket &input, SocketResultFn socket_result_fn) |
| static bool | is_menu_switch_node_input_needed (const Context &context, const bNode &node, const bNodeSocket &input, SocketResultFn socket_result_fn) |
| static bool | is_index_switch_node_input_needed (const Context &context, const bNode &node, const bNodeSocket &input, SocketResultFn socket_result_fn) |
| static bool | is_input_needed (const Context &context, const bNode &node, const bNodeSocket &input, SocketResultFn socket_result_fn) |
| static Stack< const bNode * > | get_output_nodes (const Context &context, const bNodeTree &node_group, const ComputeContext &compute_context, const bke::bNodeTreeZone *zone, SocketResultFn socket_result_fn) |
| static NeededBuffers | compute_number_of_needed_buffers (const Context &context, Stack< const bNode * > &output_nodes, SocketResultFn socket_result_fn) |
| static Vector< const bNode * > | find_node_dependency_nodes (const Context &context, Schedule &schedule, const bNode &node, const bke::bNodeTreeZone *zone, SocketResultFn socket_result_fn) |
| static Vector< const bNode * > | find_zone_dependency_nodes (const Context &context, Schedule &schedule, const bke::bNodeTreeZone &zone, SocketResultFn socket_result_fn) |
| static Vector< const bNode * > | find_dependency_nodes (const Context &context, Schedule &schedule, const bNode &node, const bke::bNodeTreeZone *zone, SocketResultFn socket_result_fn) |
| static GPUType | gpu_type_from_socket (const bNodeSocket &socket) |
| static void | populate_gpu_node_stack (const bNodeSocket &socket, GPUNodeStack &stack) |
| static const char * | get_set_function_name (const ResultType type) |
| static GPUNodeLink * | get_input_value_link (const bNodeSocket &input, GPUNodeStack &stack) |
| static GPUNodeLink * | get_result_single_value_link (const Result &result) |
| static const char * | get_store_function_name (ResultType type) |
| static GPUNodeLink * | get_default_input_value_link (const ResultType type) |
| static const char * | glsl_store_expression_from_result_type (ResultType type) |
| static ImageType | gpu_image_type_from_result_type (const ResultType type) |
| static const char * | glsl_type_from_result_type (ResultType type) |
| static const char * | glsl_swizzle_from_result_type (ResultType type) |
| static std::optional< ImplicitInputType > | get_implicit_input (const NodeDefaultInputType node_default_input_type) |
| static int | get_domain_priority (const bNodeSocket *input, const nodes::SocketDeclaration *socket_declaration) |
| static Result * | get_zone_result_for_socket (ZoneTreeOperation &operation, const bke::bNodeTreeZone &zone, const bNodeSocket &socket) |
| int | compute_number_of_diagonals (const int2 &size) |
| int | compute_diagonal_length (const int2 &size, const int diagonal_index) |
| int2 | compute_diagonal_start (const int2 &size, const int index) |
| int2 | get_diagonal_direction () |
| int | compute_anti_diagonal_length (const int2 &size, const int diagonal_index) |
| int2 | compute_anti_diagonal_start (const int2 &size, const int index) |
| int2 | get_anti_diagonal_direction () |
| void | log_result (Context &context, nodes::eval_log::NodeTreeLogger &logger, const bNodeSocket &socket, const Result &result) |
| static destruct_ptr< nodes::eval_log::ImageInfoLog > | get_image_info_log (LinearAllocator<> *allocator, const Result &result) |
| static destruct_ptr< nodes::eval_log::BundleValueLog > | get_bundle_info_log (Context &context, LinearAllocator<> *allocator, const Result &result) |
| static destruct_ptr< nodes::eval_log::ClosureValueLog > | get_closure_info_log (LinearAllocator<> *allocator, const Result &result) |
Symmetric Separable Blur Weights Key | |
| bool | operator== (const SymmetricSeparableBlurWeightsKey &a, const SymmetricSeparableBlurWeightsKey &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 |
| static CLG_LogRef | LOG = {"compositor.gpu"} |
Definition at line 42 of file COM_bundle_item.hh.
Definition at line 26 of file COM_closure.hh.
Definition at line 96 of file COM_result.hh.
| using blender::compositor::NeededBuffers = Map<const bNode *, int> |
Definition at line 426 of file scheduler.cc.
| using blender::compositor::PixelCompileUnit = VectorSet<const bNode *> |
Definition at line 27 of file COM_pixel_operation.hh.
| using blender::compositor::ProcessorsVector = Vector<std::unique_ptr<SimpleOperation>> |
Definition at line 25 of file COM_operation.hh.
| using blender::compositor::SocketResultFn = FunctionRef<Result *(const bNodeSocket &)> |
Definition at line 45 of file COM_scheduler.hh.
|
strong |
| Enumerator | |
|---|---|
| Uniform | |
| Normalized | |
| Pixel | |
Definition at line 20 of file COM_image_coordinates.hh.
|
strong |
| Enumerator | |
|---|---|
| Undistort | |
| Distort | |
Definition at line 22 of file COM_distortion_grid.hh.
|
strong |
| Enumerator | |
|---|---|
| Extend | |
| Repeat | |
| Clip | |
Definition at line 27 of file COM_domain.hh.
|
strong |
| Enumerator | |
|---|---|
| Left | |
| Center | |
| Right | |
Definition at line 24 of file COM_string_image.hh.
|
strong |
| Enumerator | |
|---|---|
| UniformImageCoordinates | |
| SceneFrame | |
Definition at line 34 of file COM_input_descriptor.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Transforms | |
| OperationDomain | |
Definition at line 19 of file COM_input_descriptor.hh.
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| Bilinear | |
| Bicubic | |
| Anisotropic | |
Definition at line 19 of file COM_domain.hh.
|
strong |
| Enumerator | |
|---|---|
| Dilate | |
| Erode | |
Definition at line 18 of file COM_algorithm_morphological_blur.hh.
|
strong |
| Enumerator | |
|---|---|
| Zero | |
| Extend | |
Definition at line 15 of file COM_algorithm_pad.hh.
|
strong |
| Enumerator | |
|---|---|
| Full | |
| Half | |
Definition at line 81 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| SingleValue | |
| GPUImage | |
| CPUImage | |
Definition at line 87 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| Float | |
| Float2 | |
| Float3 | |
| Float4 | |
| Color | |
| Int | |
| Int2 | |
| Int3 | |
| Int4 | |
| Bool | |
| Float4x4 | |
| Menu | |
| Quaternion | |
| String | |
| Object | |
| Image | |
| Font | |
| Scene | |
| Text | |
| Mask | |
| Bundle | |
| Closure | |
Definition at line 53 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| ViewerNode | |
| FileOutputNode | |
| NodePreviews | |
Definition at line 37 of file COM_context.hh.
|
strong |
| Enumerator | |
|---|---|
| Identity | |
| Square | |
Definition at line 17 of file COM_algorithm_summed_area_table.hh.
|
strong |
| Enumerator | |
|---|---|
| Top | |
| TopBaseline | |
| Middle | |
| BottomBaseline | |
| Bottom | |
Definition at line 30 of file COM_string_image.hh.
|
static |
Definition at line 78 of file morphological_blur.cc.
References apply_morphological_operator(), apply_morphological_operator_cpu(), and apply_morphological_operator_gpu().
Referenced by apply_morphological_operator(), and morphological_blur().
|
static |
Definition at line 53 of file morphological_blur.cc.
References apply_morphological_operator_cpu(), blender::compositor::Domain::data_size, Dilate, blender::compositor::Result::domain(), Erode, blender::gpu::shader::metadata::int2, and parallel_for().
Referenced by apply_morphological_operator(), and apply_morphological_operator_cpu().
|
static |
Definition at line 33 of file morphological_blur.cc.
References apply_morphological_operator_gpu(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), get_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by apply_morphological_operator(), and apply_morphological_operator_gpu().
|
static |
Definition at line 845 of file result.cc.
References bind_texture(), blender::blender::StringRefBase::data(), blender::GPU_BARRIER_TEXTURE_FETCH, blender::GPU_memory_barrier(), blender::GPU_shader_get_sampler_binding(), blender::GPU_texture_bind(), and texture().
Referenced by blender::compositor::Result::bind_as_texture(), blender::compositor::Result::bind_as_texture_or_single_value(), and bind_texture().
|
static |
Definition at line 1680 of file smaa.cc.
References blend_neighborhood(), blend_neighborhood_cpu(), blend_neighborhood_gpu(), and output.
Referenced by blend_neighborhood(), and smaa().
|
static |
Definition at line 1655 of file smaa.cc.
References blend_neighborhood_cpu(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, output, parallel_for(), blender::result, SMAANeighborhoodBlendingPS(), SMAANeighborhoodBlendingVS(), and T.
Referenced by blend_neighborhood(), and blend_neighborhood_cpu().
|
static |
Definition at line 1630 of file smaa.cc.
References blender::compositor::Result::bind_as_texture(), blend_neighborhood_gpu(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), get_blend_shader_name(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_texture_filter_mode(), output, blender::compositor::Result::type(), and blender::compositor::Result::unbind_as_texture().
Referenced by blend_neighborhood(), and blend_neighborhood_gpu().
|
static |
Definition at line 21 of file symmetric_separable_blur_variable_size.cc.
References blur_pass(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::compositor::Result::load_pixel_extended(), output, parallel_for(), and blender::compositor::Result::sample_bilinear_extended().
|
static |
Definition at line 24 of file symmetric_separable_blur.cc.
References blur_pass(), blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::compositor::Result::load_pixel_extended(), output, parallel_for(), and T.
Referenced by blur_pass_cpu().
|
static |
Definition at line 139 of file symmetric_separable_blur.cc.
References blur_pass(), blur_pass_cpu(), blur_pass_gpu(), and output.
|
static |
Definition at line 244 of file deriche_gaussian_blur.cc.
References blur_pass(), blur_pass_cpu(), blur_pass_gpu(), Color, output, blender::compositor::Result::release(), and sum_causal_and_non_causal_results().
Referenced by blur_pass(), blur_pass(), blur_pass(), blur_pass(), deriche_gaussian_blur(), horizontal_pass_cpu(), symmetric_separable_blur(), van_vliet_gaussian_blur(), and vertical_pass_cpu().
|
static |
Definition at line 342 of file van_vliet_gaussian_blur.cc.
References blur_pass(), blur_pass_cpu(), blur_pass_gpu(), Color, output, blender::compositor::Result::release(), and sum_causal_and_non_causal_results().
|
static |
Definition at line 138 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blur_pass_cpu(), blender::compositor::DericheGaussianCoefficients::causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::causal_feedforward_coefficients(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::DericheGaussianCoefficients::feedback_coefficients(), FILTER_ORDER, float, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::compositor::DericheGaussianCoefficients::non_causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::non_causal_feedforward_coefficients(), parallel_for(), blender::compositor::Result::store_pixel(), blender::x, and y.
Referenced by blur_pass(), blur_pass(), blur_pass_cpu(), blur_pass_cpu(), and blur_pass_cpu().
|
static |
Definition at line 184 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blur_pass_cpu(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), FILTER_ORDER, blender::compositor::VanVlietGaussianCoefficients::first_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::first_causal_feedforward_coefficients(), blender::compositor::VanVlietGaussianCoefficients::first_feedback_coefficients(), blender::compositor::VanVlietGaussianCoefficients::first_non_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::first_non_causal_feedforward_coefficients(), float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), parallel_for(), blender::compositor::VanVlietGaussianCoefficients::second_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::second_causal_feedforward_coefficients(), blender::compositor::VanVlietGaussianCoefficients::second_feedback_coefficients(), blender::compositor::VanVlietGaussianCoefficients::second_non_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::second_non_causal_feedforward_coefficients(), blender::compositor::Result::store_pixel(), blender::x, and y.
|
static |
Definition at line 105 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, blur_pass(), blur_pass_cpu(), Color, blender::compositor::Result::domain(), Float, Float4, output, blender::compositor::Domain::transposed(), and blender::compositor::Result::type().
|
static |
Definition at line 94 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), blur_pass_gpu(), blender::compositor::DericheGaussianCoefficients::causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::causal_feedforward_coefficients(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::DericheGaussianCoefficients::feedback_coefficients(), blender::gpu::shader::metadata::float4, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::GPU_shader_uniform_4fv(), blender::gpu::shader::metadata::int2, blender::compositor::DericheGaussianCoefficients::non_causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::non_causal_feedforward_coefficients(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by blur_pass(), blur_pass(), blur_pass_gpu(), blur_pass_gpu(), and blur_pass_gpu().
|
static |
Definition at line 112 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), blur_pass_gpu(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::VanVlietGaussianCoefficients::first_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::first_causal_feedforward_coefficients(), blender::compositor::VanVlietGaussianCoefficients::first_feedback_coefficients(), blender::compositor::VanVlietGaussianCoefficients::first_non_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::first_non_causal_feedforward_coefficients(), blender::gpu::shader::metadata::float2, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::GPU_shader_uniform_2fv(), blender::gpu::shader::metadata::int2, blender::compositor::VanVlietGaussianCoefficients::second_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::second_causal_feedforward_coefficients(), blender::compositor::VanVlietGaussianCoefficients::second_feedback_coefficients(), blender::compositor::VanVlietGaussianCoefficients::second_non_causal_boundary_coefficient(), blender::compositor::VanVlietGaussianCoefficients::second_non_causal_feedforward_coefficients(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
|
static |
Definition at line 71 of file symmetric_separable_blur.cc.
References blender::compositor::Result::bind_as_texture(), blur_pass_gpu(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), get_blur_shader(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), output, blender::compositor::Domain::transposed(), blender::compositor::Result::type(), and blender::compositor::Result::unbind_as_texture().
|
static |
Definition at line 157 of file bokeh_kernel.cc.
References angle(), blender::math::atan2(), bokeh(), closest_point_on_line(), distance(), blender::gpu::shader::metadata::float2, get_regular_polygon_vertex_position(), blender::math::interpolate(), blender::math::length(), and blender::math::mod_periodic().
Referenced by bokeh(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::compute_blur_kernel(), and spectral_bokeh().
|
static |
Definition at line 1604 of file smaa.cc.
References calculate_blending_weights(), calculate_blending_weights_cpu(), and calculate_blending_weights_gpu().
Referenced by calculate_blending_weights(), and smaa().
|
static |
Definition at line 1570 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::SMAAPrecomputedTextures::area_texture, calculate_blending_weights_cpu(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, Float4, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, parallel_for(), blender::compositor::SMAAPrecomputedTextures::search_texture, SMAABlendingWeightCalculationPS(), SMAABlendingWeightCalculationVS(), and blender::compositor::Result::store_pixel().
Referenced by calculate_blending_weights(), and calculate_blending_weights_cpu().
|
static |
Definition at line 1538 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::SMAAPrecomputedTextures::bind_area_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), blender::compositor::SMAAPrecomputedTextures::bind_search_texture(), calculate_blending_weights_gpu(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), Float4, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1i(), blender::GPU_texture_filter_mode(), blender::compositor::SMAAPrecomputedTextures::unbind_area_texture(), blender::compositor::Result::unbind_as_image(), blender::compositor::Result::unbind_as_texture(), and blender::compositor::SMAAPrecomputedTextures::unbind_search_texture().
Referenced by calculate_blending_weights(), and calculate_blending_weights_gpu().
|
static |
Definition at line 132 of file bokeh_kernel.cc.
References closest_point_on_line(), blender::math::dot(), and blender::gpu::shader::metadata::float2.
Referenced by bokeh(), and closest_point_on_line().
|
inline |
Definition at line 135 of file COM_utilities_diagonals.hh.
References compute_anti_diagonal_length(), compute_diagonal_length(), and blender::gpu::shader::metadata::int2.
Referenced by compute_anti_diagonal_length(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu().
Definition at line 167 of file COM_utilities_diagonals.hh.
References compute_anti_diagonal_start(), blender::gpu::shader::metadata::int2, blender::math::max(), and blender::math::min().
Referenced by compute_anti_diagonal_start(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu().
|
static |
The IIR filter difference equation relies on previous outputs to compute new outputs, those previous outputs are not really defined at the start of the filter. To do Neumann boundary condition, we initialize the previous output with a special value that is a function of the boundary value. This special value is computed by multiply the boundary value with a coefficient to simulate an infinite stream of the boundary value.
The function for the coefficient can be derived by substituting the boundary value for previous inputs, equating all current and previous outputs to the same value, and finally rearranging to compute that same output value.
Start by the difference equation where b_i are the feedforward coefficients and a_i are the feedback coefficients:
Assume all outputs are y and all inputs are x, which is the boundary value:
Now rearrange to compute y:
So our coefficient is the value that is multiplied by the boundary value x. Had x been zero, that is, we are doing Dirichlet boundary condition, the equations still hold.
Definition at line 394 of file van_vliet_gaussian_coefficients.cc.
References compute_boundary_coefficient(), and blender::math::reduce_add().
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
The IIR filter difference equation relies on previous outputs to compute new outputs, those previous outputs are not really defined at the start of the filter. To do Neumann boundary condition, we initialize the previous output with a special value that is a function of the boundary value. This special value is computed by multiply the boundary value with a coefficient to simulate an infinite stream of the boundary value.
The function for the coefficient can be derived by substituting the boundary value for previous inputs, equating all current and previous outputs to the same value, and finally rearranging to compute that same output value.
Start by the difference equation where b_i are the feedforward coefficients and a_i are the feedback coefficients:
Assume all outputs are y and all inputs are x, which is the boundary value:
Now rearrange to compute y:
So our coefficient is the value that is multiplied by the boundary value x. Had x been zero, that is, we are doing Dirichlet boundary condition, the equations still hold.
Definition at line 240 of file deriche_gaussian_coefficients.cc.
References compute_boundary_coefficient(), and blender::math::reduce_add().
Referenced by compute_boundary_coefficient(), compute_boundary_coefficient(), and blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 186 of file van_vliet_gaussian_coefficients.cc.
References compute_causal_poles().
Referenced by compute_causal_poles(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 316 of file van_vliet_gaussian_coefficients.cc.
References compute_causal_transfer_function_at_non_causal_pole(), and blender::result.
Referenced by compute_causal_transfer_function_at_non_causal_pole(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 170 of file summed_area_table.cc.
References blender::compositor::Result::bind_as_texture(), compute_complete_blocks(), blender::compositor::Domain::data_size, blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, get_compute_complete_blocks_shader(), blender::GPU_compute_dispatch(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::gpu::shader::metadata::int2, output, and blender::compositor::Result::unbind_as_texture().
Referenced by compute_complete_blocks(), and summed_area_table_gpu().
|
static |
Definition at line 90 of file summed_area_table.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), compute_complete_x_prologues(), blender::compositor::Domain::data_size, blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, blender::GPU_compute_dispatch(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::gpu::shader::metadata::int2, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_complete_x_prologues(), and summed_area_table_gpu().
|
static |
Definition at line 125 of file summed_area_table.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), compute_complete_y_prologues(), blender::compositor::Domain::data_size, blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, blender::GPU_compute_dispatch(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::gpu::shader::metadata::int2, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_complete_y_prologues(), and summed_area_table_gpu().
Definition at line 164 of file deriche_gaussian_coefficients.cc.
References compute_denominator(), compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), and compute_denominator_4().
Referenced by compute_denominator(), and blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 125 of file deriche_gaussian_coefficients.cc.
References b0, b1, compute_denominator_1(), blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator(), and compute_denominator_1().
|
static |
Definition at line 134 of file deriche_gaussian_coefficients.cc.
References b0, b1, compute_denominator_2(), blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator(), and compute_denominator_2().
|
static |
Definition at line 146 of file deriche_gaussian_coefficients.cc.
References b0, b1, compute_denominator_3(), blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator(), and compute_denominator_3().
|
static |
Definition at line 158 of file deriche_gaussian_coefficients.cc.
References b0, b1, compute_denominator_4(), and blender::math::exp().
Referenced by compute_denominator(), and compute_denominator_4().
|
inline |
Definition at line 69 of file COM_utilities_diagonals.hh.
References compute_diagonal_length(), compute_number_of_diagonals(), blender::gpu::shader::metadata::int2, and blender::math::min().
Referenced by compute_anti_diagonal_length(), compute_diagonal_length(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu().
Definition at line 104 of file COM_utilities_diagonals.hh.
References compute_diagonal_start(), blender::gpu::shader::metadata::int2, and blender::math::max().
Referenced by compute_diagonal_start(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu().
| void blender::compositor::compute_dispatch_threads_at_least | ( | gpu::Shader * | shader, |
| int2 | threads_range, | ||
| int2 | local_size = int2(16) ) |
Definition at line 235 of file utilities.cc.
References compute_dispatch_threads_at_least(), blender::math::divide_ceil(), blender::GPU_compute_dispatch(), blender::gpu::shader::metadata::int2, and local_size.
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::accumulate_ghosts_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::accumulate_streak_gpu(), apply_morphological_operator_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::apply_streak_filter_gpu(), blend_neighborhood_gpu(), blur_pass_gpu(), blur_pass_gpu(), blur_pass_gpu(), calculate_blending_weights_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_base_ghost_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_downsample_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_upsample_gpu(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_boundary_gpu(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::compute_boundary_gpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth_gpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale_gpu(), compute_dispatch_threads_at_least(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::compute_distance_threshold_gpu(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::compute_distance_threshold_seeds_gpu(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_gradient_gpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_image_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_image_gpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_boundary_gpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_region_gpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::compute_mask_gpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_matte_gpu(), blender::nodes::node_composite_vector_blur_cc::VectorBlurOperation::compute_motion_blur(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_pick_gpu(), blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::compute_plane_gpu(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::compute_plane_gpu(), blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::compute_plane_mask_gpu(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::compute_plane_mask_gpu(), compute_preview_gpu(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::compute_signed_distance_gpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_tweaked_matte_gpu(), blender::seq::CompositorContext::create_result_from_input(), blender::draw::compositor_engine::Context::crop_pass(), detect_edges_gpu(), blender::nodes::node_composite_vector_blur_cc::VectorBlurOperation::dilate_max_velocity_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::downsample_kernel_gpu(), blender::compositor::ConversionOperation::execute(), blender::compositor::ShaderOperation::execute(), blender::nodes::node_composite_crop_cc::CropOperation::execute_alpha_crop_gpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic_gpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_anti_aliased_depth_gpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_anti_aliased_image_gpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_convolution_gpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_summed_area_table_gpu(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size_gpu(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::execute_constant_size_gpu(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_float_gpu(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_float_per_dimension_gpu(), blender::nodes::node_composite_bilateral_blur_cc::BilateralBlurOperation::execute_gpu(), blender::nodes::node_composite_box_mask_cc::BoxMaskOperation::execute_gpu(), blender::nodes::node_composite_convert_color_space_cc::ConvertColorSpaceOperation::execute_gpu(), blender::nodes::node_composite_convert_to_display_cc::ConvertToDisplayOperation::execute_gpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::execute_gpu(), blender::nodes::node_composite_despeckle_cc::DespeckleOperation::execute_gpu(), blender::nodes::node_composite_directional_blur_cc::DirectionalBlurOperation::execute_gpu(), blender::nodes::node_composite_displace_cc::DisplaceOperation::execute_gpu(), blender::nodes::node_composite_ellipse_mask_cc::EllipseMaskOperation::execute_gpu(), blender::nodes::node_composite_filter_cc::FilterOperation::execute_gpu(), blender::nodes::node_composite_flip_cc::FlipOperation::execute_gpu(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute_gpu(), blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_gpu(), blender::nodes::node_composite_movie_distortion_cc::MovieDistortionOperation::execute_gpu(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute_gpu(), blender::nodes::node_composite_pixelate_cc::PixelateOperation::execute_gpu(), blender::nodes::node_composite_split_cc::SplitOperation::execute_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_highlights_gpu(), blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_horizontal_distortion_gpu(), blender::nodes::node_composite_crop_cc::CropOperation::execute_image_crop_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_mix_gpu(), blender::nodes::node_composite_tone_map_cc::ToneMapOperation::execute_photoreceptor_gpu(), blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_radial_distortion_gpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_simple_depth_gpu(), blender::nodes::node_composite_tone_map_cc::ToneMapOperation::execute_simple_gpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_simple_image_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_horizontal_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_vertical_pass_gpu(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::execute_step_horizontal_pass_gpu(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::execute_step_vertical_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_sun_beams_gpu(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size_gpu(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::execute_variable_size_gpu(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_gpu(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_vector_gpu(), extract_alpha_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::extract_input_chroma_gpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::fill_inpainting_region_gpu(), horizontal_pass_gpu(), horizontal_pass_gpu(), jump_flooding_pass_gpu(), morphological_distance_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::replace_input_chroma_gpu(), sum_causal_and_non_causal_results_gpu(), sum_causal_and_non_causal_results_gpu(), vertical_pass_gpu(), vertical_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::write_glare_output_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::write_highlights_output_gpu(), blender::draw::compositor_engine::Context::write_output(), and zero_pad_gpu().
Definition at line 115 of file morphological_distance_feather_weights.cc.
References BLI_assert_unreachable, compute_distance_falloff(), blender::PROP_INVSQUARE, blender::PROP_LIN, blender::PROP_ROOT, blender::PROP_SHARP, blender::PROP_SMOOTH, blender::PROP_SPHERE, and blender::x.
Referenced by compute_distance_falloff().
|
static |
Definition at line 88 of file string_image.cc.
References BLI_assert_unreachable, Center, compute_draw_horizontal_position(), float, Left, and Right.
Referenced by compute_draw_horizontal_position(), and blender::compositor::StringImage::StringImage().
|
static |
Definition at line 111 of file string_image.cc.
References compute_draw_vertical_position(), and float.
Referenced by compute_draw_vertical_position(), and blender::compositor::StringImage::StringImage().
|
static |
Definition at line 80 of file bokeh_kernel.cc.
References compute_exterior_angle().
Referenced by compute_exterior_angle(), and compute_rotation().
|
static |
Definition at line 199 of file van_vliet_gaussian_coefficients.cc.
References b1, and compute_feedback_coefficients().
Referenced by compute_feedback_coefficients(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 249 of file van_vliet_gaussian_coefficients.cc.
References compute_feedforward_coefficient(), and blender::math::reduce_add().
Referenced by compute_feedforward_coefficient(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 62 of file fog_glow_kernel.cc.
References compute_fog_glow_kernel_value(), blender::math::cube(), blender::math::AngleRadianBase< T >::degree(), blender::math::exp(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, blender::math::length(), and blender::math::square().
Referenced by compute_fog_glow_kernel_value().
|
static |
Definition at line 121 of file string_image.cc.
References BLI_assert_unreachable, Center, compute_horizontal_offset(), float, Left, and Right.
Referenced by compute_horizontal_offset(), and blender::compositor::StringImage::StringImage().
|
static |
Definition at line 157 of file cached_image.cc.
References blender::BKE_image_is_multilayer(), blender::BKE_image_multilayer_index(), blender::BKE_image_multiview_index(), compute_image_user_for_pass(), get_pass_index(), get_view_index(), blender::ImageUser::pass, and blender::ImageUser::view.
Referenced by blender::compositor::CachedImage::CachedImage(), and compute_image_user_for_pass().
|
static |
Definition at line 53 of file summed_area_table.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), compute_incomplete_prologues(), blender::compositor::Domain::data_size, blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, get_compute_incomplete_prologues_shader(), blender::GPU_compute_dispatch(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::gpu::shader::metadata::int2, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_incomplete_prologues(), and summed_area_table_gpu().
Definition at line 194 of file cached_image.cc.
References blender::ImBuf::byte_buffer, blender::ImBuf::channels, blender::ImBuf::color_mode, blender::ImBufByteBuffer::colorspace, compute_linear_buffer(), blender::ImBuf::filepath, blender::ImBuf::flags, blender::ImBuf::float_buffer, blender::ImBuf::float_data(), blender::ImBuf::ftype, blender::IMB_allocImBuf(), blender::IMB_colormanagement_space_is_data(), blender::IMB_colormanagement_space_is_scene_linear(), blender::IMB_float_from_byte(), blender::IMB_FTYPE_DDS, blender::ImBuf::x, blender::ImBuf::y, and blender::Zero.
Referenced by blender::compositor::CachedImage::CachedImage(), and compute_linear_buffer().
|
static |
Definition at line 60 of file keying_screen.cc.
References blender::BKE_movieclip_get_ibuf(), blender::BKE_tracking_get_pattern_imbuf(), blender::BKE_tracking_marker_get(), blender::BLI_assert(), blender::ImBuf::byte_data(), blender::math::clamp(), compute_marker_points(), blender::MovieTrackingMarker::flag, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::ImBuf::float_data(), blender::MovieClipUser::framenr, blender::IMB_freeImBuf(), blender::MARKER_DISABLED, blender::MovieTrackingTrack::offset, blender::MovieTrackingMarker::pos, position, blender::srgb_to_linearrgb_uchar4(), blender::MovieTrackingObject::tracks, blender::ImBuf::x, and blender::ImBuf::y.
Referenced by compute_marker_points(), and blender::compositor::KeyingScreen::KeyingScreen().
|
static |
Definition at line 190 of file deriche_gaussian_coefficients.cc.
References compute_non_causal_feedforward_coefficients().
Referenced by compute_non_causal_feedforward_coefficients(), and blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 178 of file deriche_gaussian_coefficients.cc.
References compute_normalization_scale(), and blender::math::reduce_add().
Referenced by compute_normalization_scale(), and blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
inline |
Definition at line 31 of file COM_utilities_diagonals.hh.
References compute_number_of_diagonals(), and blender::gpu::shader::metadata::int2.
Referenced by compute_diagonal_length(), compute_number_of_diagonals(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_gpu().
|
static |
Definition at line 477 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(), compute_number_of_needed_buffers(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), get_output_linked_to_input(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), is_input_needed(), is_output_linked_to_input_conditioned(), is_pixel_node(), is_socket_available(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), node, output, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
Referenced by compute_number_of_needed_buffers(), and compute_schedule().
Definition at line 114 of file deriche_gaussian_coefficients.cc.
References compute_numerator(), compute_numerator_0(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
Referenced by compute_numerator(), and blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 69 of file deriche_gaussian_coefficients.cc.
References a0, c0, and compute_numerator_0().
Referenced by compute_numerator(), and compute_numerator_0().
|
static |
Definition at line 75 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, compute_numerator_1(), blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator(), and compute_numerator_1().
|
static |
Definition at line 87 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, compute_numerator_2(), blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator(), and compute_numerator_2().
|
static |
Definition at line 102 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, compute_numerator_3(), blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator(), and compute_numerator_3().
|
static |
Definition at line 86 of file distortion_grid.cc.
References blender::BKE_tracking_distortion_distort_v2(), blender::BKE_tracking_distortion_undistort_v2(), blender::math::ceil(), compute_output_domain(), blender::compositor::Domain::data_offset, blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, blender::math::max(), blender::math::min(), parallel_reduce(), and Undistort.
Referenced by compute_output_domain(), and blender::compositor::DistortionGrid::DistortionGrid().
| int blender::compositor::compute_output_reference_count | ( | const bNodeSocket & | output, |
| const Schedule & | schedule, | ||
| const VectorSet< const bNode * > * | ignored_nodes = nullptr ) |
Definition at line 780 of file scheduler.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), compute_output_reference_count(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::bNodeTreeZone::contains_zone_recursively(), blender::bke::bNodeTreeZones::get_zone_by_node(), blender::bke::bNodeTreeZones::get_zone_by_socket(), blender::bke::bNodeTreeZones::get_zones_to_enter(), blender::compositor::Schedule::node_group, blender::compositor::Schedule::nodes, output, blender::bke::bNodeTreeZone::output_node(), blender::compositor::Schedule::unneeded_inputs, and blender::compositor::Schedule::zone.
Referenced by compute_output_reference_count(), blender::compositor::NodeOperation::compute_results_reference_counts(), blender::compositor::PixelOperation::compute_results_reference_counts(), and blender::compositor::ZoneOperation::compute_results_reference_counts().
|
static |
Computes the residue of the partial fraction of the transfer function of the given causal poles and gain for the given target pole. This essentially evaluates Equation (3.41) in Oppenheim's book, where d_k is the target pole and assuming the transfer function is in the form given in Equation (3.39), where d_k are the poles. See the following derivation for the gain value.
For the particular case of the Van Vliet's system, there are no zeros, so the numerator in Equation (3.39) is one. Further note that Van Vliet's formulation is different from the expected form, so we need to rearrange Equation (3) in to match the form in Equation (3.39), which is shown below.
Start from the causal term of Equation (3):
Divide by d_i:
Move the numerator to its own product:
And we reach the same form as Equation (3.39). Where the first product term is b0 / a0 and is also the given gain value, which is also the same as the feedforward coefficient denoted by the alpha in Equation (12). Further d_i^{-1} in our derivation is the same as d_k in Equation (3.39), the discrepancy in the inverse operator is the fact that Van Vliet's derivation assume non causal poles, while Oppenheim's assume causal poles, which are inverse of each other as can be seen in the compute_causal_poles function.
Definition at line 290 of file van_vliet_gaussian_coefficients.cc.
References compute_partial_fraction_residue().
Referenced by compute_partial_fraction_residue(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
Definition at line 129 of file compute_preview.cc.
References blender::ByteData, compute_preview(), compute_preview_cpu(), compute_preview_gpu(), compute_preview_size(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::IMB_allocImBuf(), blender::gpu::shader::metadata::int2, and UNPACK2.
Referenced by compute_preview(), blender::compositor::NodeOperation::log_data(), and blender::compositor::PixelOperation::log_data().
|
static |
Definition at line 31 of file compute_preview.cc.
References blender::compositor::Result::allocate_texture(), Color, compute_preview_cpu(), blender::bke::DataTypeConversions::convert_to_initialized_n(), blender::compositor::Result::cpu_data(), blender::compositor::Result::cpu_data_for_write(), blender::compositor::Domain::data_size, blender::ColormanageProcessor::display_processor_new(), blender::compositor::Result::domain(), blender::bke::get_implicit_type_conversions(), blender::IndexRange::IndexRange(), blender::gpu::shader::metadata::int2, output, blender::threading::parallel_for(), blender::compositor::Result::share_data(), and blender::compositor::Result::type().
Referenced by compute_preview(), and compute_preview_cpu().
|
static |
Definition at line 67 of file compute_preview.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), Color, compute_dispatch_threads_at_least(), compute_preview_gpu(), blender::ColormanageProcessor::display_processor_new(), Float, blender::GPU_BARRIER_TEXTURE_FETCH, blender::GPU_DATA_FLOAT, blender::GPU_memory_barrier(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_texture_read(), blender::GPU_texture_swizzle_set(), blender::gpu::shader::metadata::int2, output, blender::threading::parallel_for(), blender::compositor::Result::release(), blender::compositor::Result::type(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by compute_preview(), and compute_preview_gpu().
Definition at line 120 of file compute_preview.cc.
References compute_preview_size(), and blender::gpu::shader::metadata::int2.
Referenced by compute_preview(), and compute_preview_size().
Definition at line 263 of file deriche_gaussian_blur.cc.
References compute_radius_from_sigma(), and blender::gpu::shader::metadata::float2.
Referenced by compute_radius_from_sigma(), deriche_gaussian_blur(), and van_vliet_gaussian_blur().
Definition at line 382 of file van_vliet_gaussian_blur.cc.
References compute_radius_from_sigma(), and blender::gpu::shader::metadata::float2.
Definition at line 85 of file bokeh_kernel.cc.
References angle(), compute_exterior_angle(), and compute_rotation().
Referenced by compute_rotation().
|
static |
Definition at line 65 of file van_vliet_gaussian_coefficients.cc.
References compute_scaled_poles_variance().
Referenced by compute_scaled_poles_variance(), and find_scale_factor().
|
static |
Computes the partial derivative with respect to the scale factor at the given scale factor of the variance of the Gaussian filter represented by the given poles scaled by the given scale factor. This is based on the partial derivative with respect to the scale factor of Equation (20) in Van Vliet's paper.
The derivative is not listed in the paper, but was computed manually as the sum of the following for each of the poles:
Where "x" is the scale factor, "a" is the magnitude of the pole, and "b" is its phase.
Definition at line 101 of file van_vliet_gaussian_coefficients.cc.
References compute_scaled_poles_variance_derivative(), and blender::math::square().
Referenced by compute_scaled_poles_variance_derivative(), and find_scale_factor().
| Schedule blender::compositor::compute_schedule | ( | const Context & | context, |
| const bNodeTree & | node_group, | ||
| const ComputeContext & | compute_context, | ||
| SocketResultFn | socket_result_fn, | ||
| const bke::bNodeTreeZone * | zone = nullptr ) |
Definition at line 720 of file scheduler.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), b, compute_number_of_needed_buffers(), compute_schedule(), find_dependency_nodes(), get_output_nodes(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), node, blender::compositor::Schedule::node_group, blender::compositor::Schedule::nodes, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push_multiple().
Referenced by compute_schedule(), blender::compositor::NodeGroupOperation::execute(), and blender::compositor::ZoneTreeOperation::execute().
|
static |
Definition at line 334 of file van_vliet_gaussian_coefficients.cc.
References compute_second_order_section().
Referenced by compute_second_order_section(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
Definition at line 21 of file recursive_gaussian_blur.cc.
References compute_sigma_from_radius(), blender::gpu::shader::metadata::float2, and blender::math::max().
Referenced by compute_sigma_from_radius(), and recursive_gaussian_blur().
|
static |
Definition at line 140 of file string_image.cc.
References BLI_assert_unreachable, Bottom, BottomBaseline, compute_vertical_offset(), float, Middle, Top, and TopBaseline.
Referenced by compute_vertical_offset(), and blender::compositor::StringImage::StringImage().
|
static |
Definition at line 167 of file van_vliet_gaussian_coefficients.cc.
References computed_scaled_poles(), and find_scale_factor().
Referenced by computed_scaled_poles(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
| void blender::compositor::convolve | ( | Context & | context, |
| const Result & | input, | ||
| const Result & | kernel, | ||
| Result & | output, | ||
| const bool | normalize_kernel ) |
Definition at line 28 of file source/blender/compositor/algorithms/intern/convolve.cc.
References blender::BLI_assert(), BLI_SCOPED_DEFER, blender::compositor::Result::channels_count(), Color, convolve(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::compositor::Result::download_to_cpu(), Float, blender::gpu::shader::metadata::float4, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::IndexRange::IndexRange(), blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel_zero(), blender::math::max(), blender::threading::memory_bandwidth_bound_task(), blender::mod_i(), blender::fftw::optimal_size_for_real_transform(), output, parallel_for(), blender::threading::parallel_for(), blender::compositor::Result::release(), blender::compositor::Result::share_data(), and blender::compositor::Result::type().
Referenced by convolve(), blender::nodes::node_composite_convolve_cc::ConvolveOperation::execute(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_kernel().
| void blender::compositor::deriche_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | sigma, | ||
| const bool | extend_bounds ) |
Definition at line 268 of file deriche_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), blender::math::ceil(), compute_radius_from_sigma(), deriche_gaussian_blur(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, output, pad(), blender::math::reduce_max(), blender::compositor::Result::release(), blender::compositor::Result::type(), and Zero.
Referenced by deriche_gaussian_blur(), and recursive_gaussian_blur().
|
static |
Definition at line 1526 of file smaa.cc.
References detect_edges(), detect_edges_cpu(), and detect_edges_gpu().
Referenced by detect_edges(), and smaa().
|
static |
Definition at line 1479 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), Color, blender::compositor::Domain::data_size, detect_edges_cpu(), blender::compositor::Result::domain(), Float2, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_luminance_coefficients(), blender::gpu::shader::metadata::int2, parallel_for(), SMAAEdgeDetectionVS(), SMAALumaEdgeDetectionPS(), blender::compositor::Result::store_pixel(), and blender::compositor::Result::type().
Referenced by detect_edges(), and detect_edges_cpu().
|
static |
Definition at line 1449 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::Result::bind_as_texture(), Color, compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, detect_edges_gpu(), blender::compositor::Result::domain(), blender::gpu::shader::metadata::float3, get_luminance_coefficients(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::GPU_shader_uniform_3fv(), blender::GPU_texture_filter_mode(), blender::compositor::Result::type(), blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by detect_edges(), and detect_edges_gpu().
|
inline |
Definition at line 53 of file COM_algorithm_jump_flooding.hh.
References encode_jump_flooding_value(), blender::gpu::shader::metadata::int2, and JUMP_FLOODING_NON_FLOODED_VALUE.
Referenced by encode_jump_flooding_value(), initialize_jump_flooding_value(), and jump_flooding_pass_cpu().
| void blender::compositor::extract_alpha | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output ) |
Definition at line 40 of file extract_alpha.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, extract_alpha(), extract_alpha_cpu(), extract_alpha_gpu(), blender::compositor::Result::get_single_value(), blender::compositor::Result::is_single_value(), and output.
Referenced by blender::nodes::node_composite_image_cc::ImageOperation::compute_alpha(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute(), and extract_alpha().
Definition at line 32 of file extract_alpha.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), extract_alpha_cpu(), blender::gpu::shader::metadata::int2, output, and parallel_for().
Referenced by extract_alpha(), and extract_alpha_cpu().
|
static |
Definition at line 15 of file extract_alpha.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), extract_alpha_gpu(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by extract_alpha(), and extract_alpha_gpu().
|
static |
Definition at line 687 of file scheduler.cc.
References find_dependency_nodes(), find_node_dependency_nodes(), find_zone_dependency_nodes(), blender::bke::bNodeTreeZones::get_zone_by_node(), node, blender::bke::bNodeTreeZone::output_node(), and blender::bke::bNodeTreeZone::parent_zone.
Referenced by compute_schedule(), and find_dependency_nodes().
|
static |
Definition at line 609 of file scheduler.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), find_node_dependency_nodes(), get_output_linked_to_input(), blender::bke::bNodeTreeZones::get_zone_by_socket(), is_input_needed(), is_socket_available(), node, blender::compositor::Schedule::nodes, output, and blender::compositor::Schedule::unneeded_inputs.
Referenced by find_dependency_nodes(), find_node_dependency_nodes(), and find_zone_dependency_nodes().
| const bNodeSocket * blender::compositor::find_preview_output_socket | ( | const bNode & | node | ) |
Definition at line 258 of file utilities.cc.
References find_preview_output_socket(), is_node_preview_needed(), is_socket_available(), node, and output.
Referenced by find_preview_output_socket().
|
static |
Definition at line 130 of file van_vliet_gaussian_coefficients.cc.
References blender::math::abs(), BLI_assert_unreachable, compute_scaled_poles_variance(), compute_scaled_poles_variance_derivative(), find_scale_factor(), and blender::math::square().
Referenced by computed_scaled_poles(), and find_scale_factor().
|
static |
Definition at line 653 of file scheduler.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::bke::bNodeTreeZone::border_links, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), find_node_dependency_nodes(), find_zone_dependency_nodes(), get_output_linked_to_input(), blender::bke::bNodeTreeZones::get_zone_by_socket(), blender::bke::bNodeTreeZone::input_node(), blender::compositor::Schedule::nodes, output, blender::bke::bNodeTreeZone::owner, blender::bke::bNodeTreeZone::parent_zone, and blender::bNodeLink::tosock.
Referenced by find_dependency_nodes(), and find_zone_dependency_nodes().
|
static |
Definition at line 229 of file cached_image.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, and float_type().
Referenced by blender::compositor::CachedImage::CachedImage(), and float_type().
|
inline |
Definition at line 175 of file COM_utilities_diagonals.hh.
References get_anti_diagonal_direction(), and blender::gpu::shader::metadata::int2.
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu(), and get_anti_diagonal_direction().
|
static |
Definition at line 1615 of file smaa.cc.
References BLI_assert_unreachable, Color, Float, and get_blend_shader_name().
Referenced by blend_neighborhood_gpu(), and get_blend_shader_name().
|
static |
Definition at line 55 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, Color, Float, Float4, and get_blur_shader().
Referenced by blur_pass_gpu(), and get_blur_shader().
|
static |
Definition at line 34 of file node_tree_logging.cc.
References BLI_SCOPED_DEFER, blender::LinearAllocator< Allocator >::construct(), get_bundle_info_log(), blender::compositor::BundleItem::get_result(), blender::compositor::Result::release(), blender::result, blender::compositor::Result::type(), and blender::compositor::Result::type_name().
Referenced by get_bundle_info_log().
|
static |
Definition at line 46 of file node_tree_logging.cc.
References blender::compositor::Closure::compute_context, blender::LinearAllocator< Allocator >::construct(), get_closure_info_log(), blender::ComputeContext::hash(), blender::bNode::identifier, blender::bke::bNodeTreeZone::input_node(), is_socket_available(), output, blender::bke::bNodeTreeZone::output_node(), blender::result, and blender::compositor::Closure::zone.
Referenced by get_closure_info_log().
|
static |
Definition at line 153 of file summed_area_table.cc.
References BLI_assert_unreachable, get_compute_complete_blocks_shader(), Identity, and Square.
Referenced by compute_complete_blocks(), and get_compute_complete_blocks_shader().
|
static |
Definition at line 33 of file summed_area_table.cc.
References BLI_assert_unreachable, get_compute_incomplete_prologues_shader(), Identity, and Square.
Referenced by compute_incomplete_prologues(), and get_compute_incomplete_prologues_shader().
|
static |
Definition at line 688 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, blender::compositor::Result::cpp_type(), Float, Float2, Float3, Float4, Float4x4, Font, get_default_input_value_link(), blender::GPU_constant(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by get_default_input_value_link().
|
inline |
Definition at line 112 of file COM_utilities_diagonals.hh.
References get_diagonal_direction(), and blender::gpu::shader::metadata::int2.
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu(), and get_diagonal_direction().
|
static |
Definition at line 184 of file utilities.cc.
References blender::nodes::SocketDeclaration::compositor_domain_priority(), and get_domain_priority().
Referenced by get_domain_priority(), and input_descriptor_from_input_socket().
|
static |
Definition at line 43 of file scene_compositor_effects_operation.cc.
References BLI_assert_unreachable, blender::PointerRNA::data_as(), blender::bNodeSocketValueIntVector::dimensions, blender::bNodeSocketValueVector::dimensions, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_effect_input(), get_node_interface_socket_result_type(), blender::bNodeTreeInterfaceSocket::identifier, blender::gpu::shader::metadata::int2, blender::gpu::shader::metadata::int3, blender::result, blender::RNA_boolean_get(), blender::RNA_enum_get(), blender::RNA_float_get(), blender::RNA_float_get_array(), blender::RNA_int_get(), blender::RNA_int_get_array(), blender::RNA_pointer_get(), blender::RNA_string_get(), blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_COLLECTION, blender::SOCK_CUSTOM, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_GEOMETRY, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATERIAL, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_SHADER, blender::SOCK_SOUND, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_TEXTURE, blender::SOCK_VECTOR, blender::bNodeTreeInterfaceSocket::socket_data, and blender::math::to_quaternion().
Referenced by blender::compositor::SceneCompositorEffectsOperation::execute(), and get_effect_input().
|
static |
Definition at line 35 of file scene_compositor_effects_operation.cc.
References get_execution_mode(), blender::bke::compositor::Preview, and blender::bke::compositor::Render.
Referenced by blender::compositor::SceneCompositorEffectsOperation::execute(), and get_execution_mode().
| NodeOperation * blender::compositor::get_group_node_operation | ( | Context & | context, |
| const bNode & | node ) |
Definition at line 133 of file group_node_operation.cc.
References get_group_node_operation(), and node.
Referenced by get_group_node_operation().
|
static |
Definition at line 42 of file pixel_operation.cc.
References blender::LinearAllocator< Allocator >::construct(), blender::compositor::Domain::data_offset, blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, blender::compositor::RealizationOptions::extension_x, blender::compositor::RealizationOptions::extension_y, get_image_info_log(), blender::compositor::RealizationOptions::interpolation, blender::compositor::Domain::realization_options, to_string(), and blender::compositor::Domain::transformation.
Referenced by get_image_info_log(), and get_image_info_log().
|
static |
Definition at line 19 of file node_tree_logging.cc.
References blender::LinearAllocator< Allocator >::construct(), blender::compositor::Domain::data_offset, blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, blender::compositor::RealizationOptions::extension_x, blender::compositor::RealizationOptions::extension_y, get_image_info_log(), blender::compositor::RealizationOptions::interpolation, blender::compositor::Domain::realization_options, blender::result, to_string(), and blender::compositor::Domain::transformation.
|
static |
Definition at line 159 of file utilities.cc.
References BLI_assert_unreachable, get_implicit_input(), blender::NODE_DEFAULT_INPUT_HANDLE_LEFT_FIELD, blender::NODE_DEFAULT_INPUT_HANDLE_RIGHT_FIELD, blender::NODE_DEFAULT_INPUT_ID_INDEX_FIELD, blender::NODE_DEFAULT_INPUT_INDEX_FIELD, blender::NODE_DEFAULT_INPUT_INSTANCE_TRANSFORM_FIELD, blender::NODE_DEFAULT_INPUT_NORMAL_FIELD, blender::NODE_DEFAULT_INPUT_POSITION_FIELD, blender::NODE_DEFAULT_INPUT_SCENE_FRAME, blender::NODE_DEFAULT_INPUT_SELF_OBJECT, blender::NODE_DEFAULT_INPUT_UNIFORM_IMAGE_COORDINATES, blender::NODE_DEFAULT_INPUT_VALUE, SceneFrame, and UniformImageCoordinates.
Referenced by get_implicit_input(), input_descriptor_from_input_socket(), and input_descriptor_from_interface_input().
|
static |
Definition at line 19 of file implicit_input_operation.cc.
References BLI_assert_unreachable, Float2, get_implicit_input_result_type(), Int, SceneFrame, and UniformImageCoordinates.
Referenced by get_implicit_input_result_type(), and blender::compositor::ImplicitInputOperation::ImplicitInputOperation().
|
static |
Definition at line 113 of file scheduler.cc.
References blender::bke::DataTypeConversions::convert_to_uninitialized(), blender::CPPType::get(), blender::bke::get_implicit_type_conversions(), get_input_socket_value(), blender::bke::DataTypeConversions::is_convertible(), blender::result, T, to_type(), and blender::bNodeSocket::type.
Referenced by get_input_socket_value(), is_index_switch_node_input_needed(), is_menu_switch_node_input_needed(), and is_switch_node_input_needed().
|
static |
Definition at line 250 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, get_input_value_link(), get_node_socket_result_type(), blender::GPU_constant(), blender::GPU_uniform(), blender::gpu::shader::metadata::int2, blender::gpu::shader::metadata::int3, blender::compositor::Result::is_single_value_only_type(), blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_VECTOR, storage, blender::math::to_quaternion(), blender::bNodeSocket::type, blender::bNodeSocketValueBoolean::value, blender::bNodeSocketValueRGBA::value, and blender::GPUNodeStack::value.
Referenced by get_input_value_link().
|
static |
Definition at line 1431 of file smaa.cc.
References BLI_assert_unreachable, Color, Float, blender::gpu::shader::metadata::float3, get_luminance_coefficients(), and blender::IMB_colormanagement_get_luminance_coefficients().
Referenced by detect_edges_cpu(), detect_edges_gpu(), and get_luminance_coefficients().
|
static |
Definition at line 57 of file cached_mask.cc.
References blender::BKE_id_copy_ex(), blender::BKE_id_free(), blender::BKE_mask_evaluate(), blender::BKE_maskrasterize_handle_init(), blender::BKE_maskrasterize_handle_new(), get_mask_raster_handles(), blender::Mask::id, blender::gpu::shader::metadata::int2, blender::LIB_ID_COPY_LOCALIZE, and blender::LIB_ID_COPY_NO_ANIMDATA.
Referenced by blender::compositor::CachedMask::CachedMask(), and get_mask_raster_handles().
Definition at line 257 of file distortion_grid.cc.
References blender::BKE_movieclip_get_size(), blender::BKE_movieclip_user_set_frame(), get_movie_clip_size(), and blender::gpu::shader::metadata::int2.
Referenced by blender::compositor::DistortionGridContainer::get(), and get_movie_clip_size().
|
static |
Definition at line 119 of file keying_screen.cc.
References blender::BKE_movieclip_remap_scene_to_clip_frame(), blender::BKE_movieclip_user_set_frame(), and get_movie_clip_user().
Referenced by get_movie_clip_user(), and blender::compositor::KeyingScreen::KeyingScreen().
|
static |
Definition at line 68 of file node_group_operation.cc.
References blender::compositor::Operation::get_input(), get_node_group_result_for_socket(), blender::compositor::Operation::get_result(), and blender::bNodeSocket::identifier.
Referenced by blender::compositor::NodeGroupOperation::execute(), and get_node_group_result_for_socket().
| ResultType blender::compositor::get_node_interface_socket_result_type | ( | const bNodeTreeInterfaceSocket & | socket | ) |
Definition at line 123 of file utilities.cc.
References blender::bNodeSocketValueIntVector::dimensions, blender::bNodeSocketValueVector::dimensions, Float, get_node_interface_socket_result_type(), blender::bke::NodeSocketTypeUndefined, blender::SOCK_INT_VECTOR, blender::SOCK_VECTOR, blender::bNodeTreeInterfaceSocket::socket_data, and socket_data_type_to_result_type().
Referenced by blender::seq::CompositorEffectContext::evaluate(), blender::seq::CompositorModifierContext::evaluate(), get_effect_input(), get_node_interface_socket_result_type(), and input_descriptor_from_interface_input().
| ResultType blender::compositor::get_node_socket_result_type | ( | const bNodeSocket * | socket | ) |
Definition at line 103 of file utilities.cc.
References blender::bNodeSocketValueIntVector::dimensions, blender::bNodeSocketValueVector::dimensions, Float, get_node_socket_result_type(), blender::bke::NodeSocketTypeUndefined, blender::SOCK_INT_VECTOR, blender::SOCK_VECTOR, socket_data_type_to_result_type(), blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
Referenced by get_input_value_link(), get_node_socket_result_type(), gpu_type_from_socket(), input_descriptor_from_input_socket(), blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::map_inputs(), blender::compositor::NodeOperation::NodeOperation(), blender::compositor::SingleValueNodeInputOperation::SingleValueNodeInputOperation(), and blender::compositor::ZoneOperation::ZoneOperation().
| NodeOperation * blender::compositor::get_node_tree_input_node_operation | ( | Context & | context, |
| const bNode & | node, | ||
| Operation & | operation ) |
Definition at line 47 of file node_tree_input_node_operation.cc.
References get_node_tree_input_node_operation(), and node.
Referenced by get_node_tree_input_node_operation().
| NodeOperation * blender::compositor::get_node_tree_output_node_operation | ( | Context & | context, |
| const bNode & | node, | ||
| Operation & | operation ) |
Definition at line 59 of file node_tree_output_node_operation.cc.
References get_node_tree_output_node_operation(), and node.
Referenced by get_node_tree_output_node_operation().
| const bNodeSocket * blender::compositor::get_output_linked_to_input | ( | const bNodeSocket & | input | ) |
Definition at line 31 of file utilities.cc.
References get_output_linked_to_input().
Referenced by compute_number_of_needed_buffers(), find_node_dependency_nodes(), find_zone_dependency_nodes(), get_output_linked_to_input(), and is_input_needed().
|
static |
Definition at line 271 of file scheduler.cc.
References blender::bke::bNodeTreeZone::contains_node_recursively(), FileOutputNode, get_output_nodes(), blender::bke::bNodeTreeZones::get_zone_by_node(), blender::bke::compositor::get_zone_viewer_compute_context(), blender::bke::bNodeTreeZones::get_zones_to_enter(), has_file_output_recursive(), has_viewer_node(), is_input_needed(), is_socket_available(), node, blender::NODE_DO_OUTPUT, blender::bke::bNodeTreeZone::output_node(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and ViewerNode.
Referenced by compute_schedule(), and get_output_nodes().
|
static |
Definition at line 77 of file cached_image.cc.
References blender::BLI_findstringindex(), get_pass_index(), get_render_layer(), offsetof, and blender::RenderLayer::passes.
Referenced by compute_image_user_for_pass(), and get_pass_index().
|
static |
Definition at line 252 of file cached_image.cc.
References BLI_assert_unreachable, blender::RenderPass::chan_id, blender::RenderPass::channels, Color, Float, Float2, Float3, Float4, get_pass_type(), and STR_ELEM.
Referenced by blender::compositor::CachedImage::CachedImage(), and get_pass_type().
|
static |
Definition at line 19 of file sample_pixel.cc.
References Anisotropic, Bicubic, Bilinear, BLI_assert_unreachable, get_pixel_sampler_shader_name(), and Nearest.
Referenced by get_pixel_sampler_shader_name(), and sample_pixel_gpu().
|
static |
Definition at line 122 of file bokeh_kernel.cc.
References angle(), blender::math::cos(), blender::gpu::shader::metadata::float2, get_regular_polygon_vertex_position(), and blender::math::sin().
Referenced by bokeh(), and get_regular_polygon_vertex_position().
|
static |
Definition at line 68 of file cached_image.cc.
References blender::BLI_findlink(), get_render_layer(), blender::ImageUser::layer, and blender::RenderResult::layers.
Referenced by get_pass_index(), get_render_layer(), and get_render_pass().
|
static |
Definition at line 89 of file cached_image.cc.
References blender::BLI_findlink(), get_render_pass(), blender::ImageUser::pass, and blender::RenderLayer::passes.
Referenced by blender::compositor::CachedImage::CachedImage(), get_render_pass(), and get_render_pass().
|
static |
Definition at line 95 of file cached_image.cc.
References get_render_layer(), and get_render_pass().
|
static |
Definition at line 419 of file shader_operation.cc.
References blender::MatBase< T, NumCol, NumRow, Alignment >::base_ptr(), blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, blender::gpu::shader::metadata::float2, Float3, blender::gpu::shader::metadata::float3, Float4, blender::gpu::shader::metadata::float4, Float4x4, blender::gpu::shader::metadata::float4x4, Font, get_result_single_value_link(), blender::GPU_constant(), blender::GPU_uniform(), Image, Int, Int2, blender::gpu::shader::metadata::int2, Int3, blender::gpu::shader::metadata::int3, Int4, blender::gpu::shader::metadata::int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, blender::result, Scene, String, Text, and blender::nodes::MenuValue::value.
Referenced by get_result_single_value_link().
|
static |
Definition at line 186 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, get_set_function_name(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by get_set_function_name().
|
static |
Definition at line 20 of file morphological_blur.cc.
References BLI_assert_unreachable, Dilate, Erode, and get_shader().
Referenced by apply_morphological_operator_gpu(), and get_shader().
|
static |
Definition at line 73 of file image_coordinates.cc.
References BLI_assert_unreachable, get_shader_name(), Normalized, Pixel, and Uniform.
|
static |
Definition at line 20 of file morphological_distance.cc.
References distance(), and get_shader_name().
Referenced by get_shader_name(), get_shader_name(), get_shader_name(), horizontal_pass_gpu(), morphological_distance_gpu(), vertical_pass_gpu(), and zero_pad_gpu().
|
static |
Definition at line 132 of file morphological_distance_feather.cc.
References distance(), and get_shader_name().
|
static |
Definition at line 15 of file pad.cc.
References BLI_assert_unreachable, Color, Extend, Float, Float2, Float4, get_shader_name(), and Zero.
|
static |
Definition at line 610 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, get_store_function_name(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by get_store_function_name().
| NodeOperation * blender::compositor::get_undefined_node_operation | ( | Context & | context, |
| const bNode & | node ) |
Definition at line 28 of file undefined_node_operation.cc.
References get_undefined_node_operation(), and node.
Referenced by get_undefined_node_operation().
|
static |
Definition at line 117 of file cached_image.cc.
References blender::BLI_findstringindex(), blender::BLI_listbase_count_at_most(), get_view_index(), offsetof, blender::ImageUser::view, and blender::RenderResult::views.
Referenced by compute_image_user_for_pass(), and get_view_index().
|
static |
Definition at line 67 of file zone_tree_operation.cc.
References blender::compositor::Operation::get_input(), blender::compositor::Operation::get_result(), get_zone_result_for_socket(), blender::bNodeSocket::identifier, blender::bke::bNodeTreeZone::input_node(), and blender::bke::bNodeTreeZone::output_node().
Referenced by blender::compositor::ZoneTreeOperation::execute(), and get_zone_result_for_socket().
|
static |
Definition at line 840 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, glsl_store_expression_from_result_type(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by glsl_store_expression_from_result_type().
|
static |
Definition at line 1139 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, glsl_swizzle_from_result_type(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by glsl_swizzle_from_result_type().
|
static |
Definition at line 1089 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, glsl_type_from_result_type(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by glsl_type_from_result_type().
|
static |
Definition at line 888 of file shader_operation.cc.
References blender::BLI_assert(), BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, gpu_image_type_from_result_type(), Image, Int, Int2, Int3, Int4, blender::compositor::Result::is_single_value_only_type(), Mask, Menu, Object, Quaternion, Scene, String, and Text.
Referenced by gpu_image_type_from_result_type().
|
static |
Definition at line 42 of file shader_node.cc.
References blender::BLI_assert(), BLI_assert_unreachable, blender::bNodeSocketValueIntVector::dimensions, blender::bNodeSocketValueVector::dimensions, get_node_socket_result_type(), blender::GPU_BOOL, blender::GPU_FLOAT, blender::GPU_INT, blender::GPU_INT2, blender::GPU_INT3, blender::GPU_MAT4, blender::GPU_NONE, gpu_type_from_socket(), blender::GPU_VEC2, blender::GPU_VEC3, blender::GPU_VEC4, blender::compositor::Result::is_single_value_only_type(), blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_VECTOR, and blender::bNodeSocket::type.
Referenced by gpu_type_from_socket(), and populate_gpu_node_stack().
|
static |
Definition at line 89 of file scheduler.cc.
References has_file_output_recursive(), and node.
Referenced by get_output_nodes(), and has_file_output_recursive().
|
static |
Definition at line 36 of file scheduler.cc.
References blender::bke::ComputeContextCache::for_group_node(), blender::bke::compositor::get_zone_viewer_compute_context(), has_viewer_node(), node, and blender::NODE_DO_OUTPUT.
Referenced by get_output_nodes(), and has_viewer_node().
|
static |
Definition at line 215 of file morphological_distance_feather.cc.
References distance(), horizontal_pass(), horizontal_pass_cpu(), and horizontal_pass_gpu().
Referenced by horizontal_pass(), horizontal_pass(), morphological_distance_feather(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 140 of file symmetric_separable_blur_variable_size.cc.
References horizontal_pass(), horizontal_pass_cpu(), and horizontal_pass_gpu().
|
static |
Definition at line 182 of file morphological_distance_feather.cc.
References blender::math::abs(), blender::compositor::Domain::data_size, distance(), blender::compositor::Result::domain(), Float, horizontal_pass_cpu(), blender::gpu::shader::metadata::int2, morphological_distance_feather_pass(), and output.
Referenced by horizontal_pass(), horizontal_pass(), horizontal_pass_cpu(), and horizontal_pass_cpu().
|
static |
Definition at line 112 of file symmetric_separable_blur_variable_size.cc.
References blur_pass(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), horizontal_pass_cpu(), blender::gpu::shader::metadata::int2, output, and blender::compositor::Result::type().
|
static |
Definition at line 140 of file morphological_distance_feather.cc.
References blender::math::abs(), blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, distance(), blender::compositor::Result::domain(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs, Float, get_shader_name(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), horizontal_pass_gpu(), blender::gpu::shader::metadata::int2, output, blender::compositor::Result::unbind_as_texture(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights.
Referenced by horizontal_pass(), horizontal_pass(), horizontal_pass_gpu(), and horizontal_pass_gpu().
|
static |
Definition at line 65 of file symmetric_separable_blur_variable_size.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::GPU_SAMPLER_EXTEND_MODE_EXTEND, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1b(), blender::GPU_texture_extend_mode(), blender::GPU_texture_filter_mode(), horizontal_pass_gpu(), blender::gpu::shader::metadata::int2, output, blender::compositor::Result::type(), and blender::compositor::Result::unbind_as_texture().
| void blender::compositor::init | ( | ) |
|
inline |
Definition at line 61 of file COM_algorithm_jump_flooding.hh.
References encode_jump_flooding_value(), initialize_jump_flooding_value(), and blender::gpu::shader::metadata::int2.
Referenced by blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_boundary_cpu(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::compute_boundary_cpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_boundary_cpu(), and initialize_jump_flooding_value().
| InputDescriptor blender::compositor::input_descriptor_from_input_socket | ( | const bNodeSocket * | socket | ) |
Definition at line 195 of file utilities.cc.
References blender::nodes::SocketDeclaration::compositor_realization_mode(), blender::nodes::SocketDeclaration::default_input_type, blender::compositor::InputDescriptor::domain_priority, blender::compositor::InputDescriptor::expects_single_value, get_domain_priority(), get_implicit_input(), get_node_socket_result_type(), blender::compositor::InputDescriptor::implicit_input, input_descriptor_from_input_socket(), blender::nodes::NodeDeclaration::inputs, blender::compositor::InputDescriptor::realization_mode, blender::nodes::NodeDeclaration::skip_updating_sockets, blender::nodes::SocketDeclaration::structure_type, and blender::compositor::InputDescriptor::type.
Referenced by input_descriptor_from_input_socket(), and blender::compositor::PixelOperation::log_data().
| InputDescriptor blender::compositor::input_descriptor_from_interface_input | ( | const bNodeTree & | node_group, |
| const bNodeTreeInterfaceSocket & | socket ) |
Definition at line 221 of file utilities.cc.
References blender::bNodeTreeInterfaceSocket::default_input, blender::compositor::InputDescriptor::domain_priority, blender::compositor::InputDescriptor::expects_single_value, get_implicit_input(), get_node_interface_socket_result_type(), blender::compositor::InputDescriptor::implicit_input, input_descriptor_from_interface_input(), None, blender::compositor::InputDescriptor::realization_mode, blender::Single, blender::bNodeTreeInterfaceSocket::structure_type, and blender::compositor::InputDescriptor::type.
Referenced by input_descriptor_from_interface_input().
|
static |
Definition at line 1011 of file result.cc.
References ELEM, Float3, blender::GPU_texture_format(), blender::compositor::Result::gpu_texture_format(), Int3, is_compatible_texture(), blender::result, and texture().
Referenced by is_compatible_texture(), and blender::compositor::Result::share_data().
|
static |
Definition at line 202 of file scheduler.cc.
References get_input_socket_value(), blender::bNodeSocket::identifier, blender::IndexRange::IndexRange(), is_index_switch_node_input_needed(), node, blender::nodes::IndexSwitchItemsAccessor::socket_identifier_for_item(), and storage.
Referenced by is_index_switch_node_input_needed(), and is_input_needed().
|
static |
Definition at line 230 of file scheduler.cc.
References get_output_linked_to_input(), blender::bke::bNodeTreeZones::get_zone_by_socket(), is_index_switch_node_input_needed(), is_input_needed(), is_menu_switch_node_input_needed(), is_switch_node_input_needed(), node, output, and blender::result.
Referenced by compute_number_of_needed_buffers(), find_node_dependency_nodes(), get_output_nodes(), and is_input_needed().
|
static |
Definition at line 177 of file scheduler.cc.
References get_input_socket_value(), blender::bNodeSocket::identifier, is_menu_switch_node_input_needed(), node, and blender::nodes::MenuSwitchItemsAccessor::socket_identifier_for_item().
Referenced by is_input_needed(), and is_menu_switch_node_input_needed().
| bool blender::compositor::is_node_preview_needed | ( | const bNode & | node | ) |
Definition at line 245 of file utilities.cc.
References is_node_preview_needed(), node, blender::NODE_COLLAPSED, and blender::NODE_PREVIEW.
Referenced by find_preview_output_socket(), is_node_preview_needed(), and blender::compositor::NodeOperation::log_data().
|
static |
Definition at line 157 of file node_tree_evaluator.cc.
References blender::bke::all_zone_input_node_types(), is_node_tree_input_node(), and node.
Referenced by is_node_tree_input_node().
| bool blender::compositor::is_output_linked_to_input_conditioned | ( | const bNodeSocket & | output, |
| FunctionRef< bool(const bNodeSocket &)> | condition ) |
Definition at line 143 of file utilities.cc.
References condition, is_output_linked_to_input_conditioned(), and output.
Referenced by compute_number_of_needed_buffers(), and is_output_linked_to_input_conditioned().
| bool blender::compositor::is_pixel_node | ( | const bNode & | node | ) |
Definition at line 154 of file utilities.cc.
References is_pixel_node(), and node.
Referenced by compute_number_of_needed_buffers(), blender::compositor::NodeTreeEvaluator::evaluate(), and is_pixel_node().
| bool blender::compositor::is_socket_available | ( | const bNodeSocket * | socket | ) |
Definition at line 26 of file utilities.cc.
References blender::bNodeSocket::idname, is_socket_available(), and blender::StringRef::StringRef().
Referenced by blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::add_missing_inputs_outputs_warnings(), compute_number_of_needed_buffers(), blender::compositor::NodeOperation::compute_results_reference_counts(), blender::compositor::ZoneOperation::compute_results_reference_counts(), blender::compositor::NodeTreeInputNodeOperation::execute(), blender::compositor::NodeTreeOutputNodeOperation::execute(), blender::compositor::RepeatZoneOperation::execute(), blender::nodes::node_composite_image_cc::ImageOperation::execute(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute(), find_node_dependency_nodes(), find_preview_output_socket(), get_closure_info_log(), blender::nodes::node_composite_legacy_cryptomatte_cc::LegacyCryptoMatteOperation::get_layers(), get_output_nodes(), is_socket_available(), blender::compositor::NodeOperation::log_data(), blender::compositor::PixelOperation::log_data(), blender::compositor::ZoneOperation::log_data(), blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::map_inputs(), blender::compositor::NodeOperation::NodeOperation(), blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::set_reference_counts(), blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::write_default_outputs(), blender::nodes::node_geo_evaluate_closure_cc::EvaluateClosureOperation::write_outputs(), and blender::compositor::ZoneOperation::ZoneOperation().
|
static |
Definition at line 156 of file scheduler.cc.
References condition, get_input_socket_value(), is_switch_node_input_needed(), and node.
Referenced by is_input_needed(), and is_switch_node_input_needed().
Definition at line 110 of file jump_flooding.cc.
References blender::compositor::Result::allocate_texture(), blender::BLI_assert(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), Half, Int2, jump_flooding(), jump_flooding_pass(), blender::math::max(), output, blender::power_of_2_max_i(), blender::compositor::Result::release(), and blender::compositor::Result::type().
Referenced by blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::execute(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::execute(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::execute_distance_threshold(), and jump_flooding().
|
static |
Definition at line 100 of file jump_flooding.cc.
References jump_flooding_pass(), jump_flooding_pass_cpu(), jump_flooding_pass_gpu(), and output.
Referenced by jump_flooding(), and jump_flooding_pass().
|
static |
Definition at line 53 of file jump_flooding.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), encode_jump_flooding_value(), blender::gpu::shader::metadata::int2, jump_flooding_pass_cpu(), output, and parallel_for().
Referenced by jump_flooding_pass(), and jump_flooding_pass_cpu().
|
static |
Definition at line 24 of file jump_flooding.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1i(), Half, jump_flooding_pass_gpu(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by jump_flooding_pass(), and jump_flooding_pass_gpu().
|
static |
Definition at line 64 of file string_image.cc.
References blender::BKE_id_full_name_get(), blender::BKE_vfont_is_builtin(), blender::BLF_load_default(), blender::BLF_load_mem_unique(), blender::BLF_load_unique(), blender::BLI_path_abs(), blender::PackedFile::data, FILE_MAX, blender::VFont::filepath, blender::VFont::id, ID_BLEND_PATH_FROM_GLOBAL, load_font(), MAX_ID_FULL_NAME, blender::VFont::packedfile, blender::PackedFile::size, and blender::STRNCPY().
Referenced by load_font(), and blender::compositor::StringImage::StringImage().
| void blender::compositor::log_result | ( | Context & | context, |
| nodes::eval_log::NodeTreeLogger & | logger, | ||
| const bNodeSocket & | socket, | ||
| const Result & | result ) |
Definition at line 79 of file node_tree_logging.cc.
References blender::nodes::eval_log::NodeTreeLogger::allocator, Bundle, Closure, blender::bNodeSocket::in_out, blender::nodes::eval_log::NodeTreeLogger::input_socket_values, log_result(), blender::nodes::eval_log::NodeTreeLogger::log_value(), blender::nodes::eval_log::NodeTreeLogger::output_socket_values, blender::result, and blender::SOCK_IN.
Referenced by blender::compositor::NodeOperation::log_data(), blender::compositor::ZoneOperation::log_data(), and log_result().
| GPUSamplerExtendMode blender::compositor::map_extension_mode_to_extend_mode | ( | const Extension & | mode | ) |
Definition at line 144 of file domain.cc.
References BLI_assert_unreachable, Clip, Extend, blender::GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, blender::GPU_SAMPLER_EXTEND_MODE_EXTEND, blender::GPU_SAMPLER_EXTEND_MODE_REPEAT, map_extension_mode_to_extend_mode(), and Repeat.
Referenced by blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::compute_plane_gpu(), blender::nodes::node_composite_displace_cc::DisplaceOperation::execute_gpu(), blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_gpu(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_gpu(), map_extension_mode_to_extend_mode(), and sample_pixel_gpu().
| BLI_INLINE math::InterpWrapMode blender::compositor::map_extension_mode_to_wrap_mode | ( | const Extension & | mode | ) |
Definition at line 569 of file COM_result.hh.
References BLI_assert_unreachable, BLI_INLINE, blender::math::Border, Clip, Extend, blender::math::Extend, map_extension_mode_to_wrap_mode(), Repeat, and blender::math::Repeat.
Referenced by blender::compositor::Result::load_pixel(), map_extension_mode_to_wrap_mode(), and blender::compositor::Result::sample().
Definition at line 500 of file parallel_reduction.cc.
References maximum_color(), maximum_color_cpu(), and maximum_color_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::execute(), and maximum_color().
Definition at line 489 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::math::max(), maximum_color_cpu(), and parallel_reduce().
Referenced by maximum_color(), and maximum_color_cpu().
Definition at line 475 of file parallel_reduction.cc.
References Color, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), maximum_color_gpu(), and parallel_reduction_dispatch().
Referenced by maximum_color(), and maximum_color_gpu().
Definition at line 432 of file parallel_reduction.cc.
References maximum_float(), maximum_float_cpu(), and maximum_float_gpu().
Referenced by blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::compute_variable_size_search_radius(), and maximum_float().
Definition at line 466 of file parallel_reduction.cc.
References blender::gpu::shader::metadata::float2, maximum_float2(), maximum_float2_cpu(), and maximum_float2_gpu().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::compute_maximum_blur_size(), and maximum_float2().
Definition at line 455 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::math::max(), maximum_float2_cpu(), and parallel_reduce().
Referenced by maximum_float2(), and maximum_float2_cpu().
Definition at line 441 of file parallel_reduction.cc.
References Float2, blender::gpu::shader::metadata::float2, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), maximum_float2_gpu(), and parallel_reduction_dispatch().
Referenced by maximum_float2(), and maximum_float2_gpu().
Definition at line 421 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::int2, maximum_float_cpu(), and parallel_reduce().
Referenced by maximum_float(), and maximum_float_cpu().
Definition at line 407 of file parallel_reduction.cc.
References Float, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), maximum_float_gpu(), and parallel_reduction_dispatch().
Referenced by maximum_float(), and maximum_float_gpu().
| float blender::compositor::maximum_float_in_range | ( | Context & | context, |
| const Result & | input, | ||
| const float | lower_bound, | ||
| const float | upper_bound ) |
Definition at line 588 of file parallel_reduction.cc.
References maximum_float_in_range(), maximum_float_in_range_cpu(), and maximum_float_in_range_gpu().
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), and maximum_float_in_range().
|
static |
Definition at line 572 of file parallel_reduction.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::int2, maximum_float_in_range_cpu(), and parallel_reduce().
Referenced by maximum_float_in_range(), and maximum_float_in_range_cpu().
|
static |
Definition at line 551 of file parallel_reduction.cc.
References Float, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), maximum_float_in_range_gpu(), and parallel_reduction_dispatch().
Referenced by maximum_float_in_range(), and maximum_float_in_range_gpu().
| float blender::compositor::maximum_luminance | ( | Context & | context, |
| const Result & | input, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 540 of file parallel_reduction.cc.
References blender::gpu::shader::metadata::float3, maximum_luminance(), maximum_luminance_cpu(), and maximum_luminance_gpu().
Referenced by blender::nodes::node_composite_tone_map_cc::ToneMapOperation::compute_log_maximum_luminance(), and maximum_luminance().
|
static |
Definition at line 527 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::int2, maximum_luminance_cpu(), and parallel_reduce().
Referenced by maximum_luminance(), and maximum_luminance_cpu().
|
static |
Definition at line 509 of file parallel_reduction.cc.
References Float, blender::gpu::shader::metadata::float3, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), maximum_luminance_gpu(), and parallel_reduction_dispatch().
Referenced by maximum_luminance(), and maximum_luminance_gpu().
Definition at line 303 of file parallel_reduction.cc.
References minimum_color(), minimum_color_cpu(), and minimum_color_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::execute(), minimum_color(), and blender::seq::CompositorContext::write_output().
Definition at line 278 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::math::min(), minimum_color_cpu(), and parallel_reduce().
Referenced by minimum_color(), and minimum_color_cpu().
Definition at line 289 of file parallel_reduction.cc.
References Color, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), minimum_color_gpu(), and parallel_reduction_dispatch().
Referenced by minimum_color(), and minimum_color_gpu().
Definition at line 269 of file parallel_reduction.cc.
References minimum_float(), minimum_float_cpu(), and minimum_float_gpu().
Referenced by minimum_float().
Definition at line 258 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::int2, minimum_float_cpu(), and parallel_reduce().
Referenced by minimum_float(), and minimum_float_cpu().
Definition at line 244 of file parallel_reduction.cc.
References Float, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), minimum_float_gpu(), and parallel_reduction_dispatch().
Referenced by minimum_float(), and minimum_float_gpu().
| float blender::compositor::minimum_float_in_range | ( | Context & | context, |
| const Result & | input, | ||
| const float | lower_bound, | ||
| const float | upper_bound ) |
Definition at line 391 of file parallel_reduction.cc.
References minimum_float_in_range(), minimum_float_in_range_cpu(), and minimum_float_in_range_gpu().
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), and minimum_float_in_range().
|
static |
Definition at line 375 of file parallel_reduction.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::int2, minimum_float_in_range_cpu(), and parallel_reduce().
Referenced by minimum_float_in_range(), and minimum_float_in_range_cpu().
|
static |
Definition at line 354 of file parallel_reduction.cc.
References Float, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), minimum_float_in_range_gpu(), and parallel_reduction_dispatch().
Referenced by minimum_float_in_range(), and minimum_float_in_range_gpu().
| float blender::compositor::minimum_luminance | ( | Context & | context, |
| const Result & | input, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 343 of file parallel_reduction.cc.
References blender::gpu::shader::metadata::float3, minimum_luminance(), minimum_luminance_cpu(), and minimum_luminance_gpu().
Referenced by blender::nodes::node_composite_tone_map_cc::ToneMapOperation::compute_log_minimum_luminance(), and minimum_luminance().
|
static |
Definition at line 330 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::int2, minimum_luminance_cpu(), and parallel_reduce().
Referenced by minimum_luminance(), and minimum_luminance_cpu().
|
static |
Definition at line 312 of file parallel_reduction.cc.
References Float, blender::gpu::shader::metadata::float3, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), minimum_luminance_gpu(), and parallel_reduction_dispatch().
Referenced by minimum_luminance(), and minimum_luminance_gpu().
| void blender::compositor::morphological_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | radius, | ||
| const MorphologicalBlurOperation | operation = MorphologicalBlurOperation::Erode, | ||
| const math::FilterKernel | filter_type = math::FilterKernel::Gauss ) |
Definition at line 91 of file morphological_blur.cc.
References apply_morphological_operator(), blender::BLI_assert(), Float, blender::gpu::shader::metadata::float2, morphological_blur(), output, symmetric_separable_blur(), and blender::compositor::Result::type().
Referenced by blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth(), and morphological_blur().
| void blender::compositor::morphological_distance | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const int | distance ) |
Definition at line 99 of file morphological_distance.cc.
References blender::math::abs(), distance(), morphological_distance(), morphological_distance_cpu(), morphological_distance_gpu(), and output.
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_morphed_matte(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::execute_distance(), and morphological_distance().
|
static |
Definition at line 52 of file morphological_distance.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::math::max(), blender::math::min(), morphological_distance_cpu(), output, parallel_for(), blender::math::square(), blender::x, and y.
Referenced by morphological_distance(), and morphological_distance_cpu().
| void blender::compositor::morphological_distance_feather | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const int | distance, | ||
| const int | falloff_type = PROP_SMOOTH ) |
Definition at line 298 of file morphological_distance_feather.cc.
References distance(), horizontal_pass(), morphological_distance_feather(), output, blender::compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_feathered_matte(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::execute_distance_feather(), and morphological_distance_feather().
|
static |
Definition at line 64 of file morphological_distance_feather.cc.
References blender::compositor::Result::domain(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs, blender::gpu::shader::metadata::int2, blender::math::interpolate(), blender::compositor::Result::load_pixel(), blender::compositor::Result::load_pixel_extended(), morphological_distance_feather_pass(), output, parallel_for(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights.
Referenced by horizontal_pass_cpu(), morphological_distance_feather_pass(), and vertical_pass_cpu().
|
static |
Definition at line 28 of file morphological_distance.cc.
References blender::math::abs(), blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, distance(), blender::compositor::Result::domain(), get_shader_name(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1i(), morphological_distance_gpu(), output, and blender::compositor::Result::unbind_as_texture().
Referenced by morphological_distance(), and morphological_distance_gpu().
Definition at line 107 of file domain.cc.
References b, and operator!=().
Referenced by operator!=().
| bool blender::compositor::operator== | ( | const BokehKernelKey & | a, |
| const BokehKernelKey & | b ) |
Definition at line 43 of file bokeh_kernel.cc.
References b, blender::compositor::BokehKernelKey::catadioptric, blender::compositor::BokehKernelKey::lens_shift, operator==(), blender::compositor::BokehKernelKey::rotation, blender::compositor::BokehKernelKey::roundness, blender::compositor::BokehKernelKey::sides, and blender::compositor::BokehKernelKey::size.
Referenced by operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), operator==(), and operator==().
| bool blender::compositor::operator== | ( | const CachedImageKey & | a, |
| const CachedImageKey & | b ) |
Definition at line 56 of file cached_image.cc.
References b, blender::compositor::CachedImageKey::frame, blender::compositor::CachedImageKey::layer_index, operator==(), blender::compositor::CachedImageKey::pass_name, and blender::compositor::CachedImageKey::view_name.
| bool blender::compositor::operator== | ( | const CachedShaderKey & | a, |
| const CachedShaderKey & | b ) |
Definition at line 34 of file cached_shader.cc.
References b, blender::compositor::CachedShaderKey::info_name, operator==(), and blender::compositor::CachedShaderKey::precision.
| bool blender::compositor::operator== | ( | const DericheGaussianCoefficientsKey & | a, |
| const DericheGaussianCoefficientsKey & | b ) |
Definition at line 48 of file deriche_gaussian_coefficients.cc.
References b, operator==(), and blender::compositor::DericheGaussianCoefficientsKey::sigma.
| bool blender::compositor::operator== | ( | const DistortionGridKey & | a, |
| const DistortionGridKey & | b ) |
Definition at line 46 of file distortion_grid.cc.
References b, blender::BKE_tracking_camera_distortion_equal(), blender::compositor::DistortionGridKey::calibration_size, blender::compositor::DistortionGridKey::camera, blender::compositor::Domain::data_offset, blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, blender::compositor::DistortionGridKey::domain, operator==(), and blender::compositor::DistortionGridKey::type.
Definition at line 101 of file domain.cc.
References b, blender::compositor::Domain::data_offset, blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, operator==(), and blender::compositor::Domain::transformation.
| bool blender::compositor::operator== | ( | const FogGlowKernelKey & | a, |
| const FogGlowKernelKey & | b ) |
Definition at line 43 of file fog_glow_kernel.cc.
References b, blender::compositor::FogGlowKernelKey::field_of_view, blender::compositor::FogGlowKernelKey::kernel_size, operator==(), and blender::compositor::FogGlowKernelKey::spatial_size.
| bool blender::compositor::operator== | ( | const ImageCoordinatesKey & | a, |
| const ImageCoordinatesKey & | b ) |
| bool blender::compositor::operator== | ( | const KeyingScreenKey & | a, |
| const KeyingScreenKey & | b ) |
Definition at line 49 of file keying_screen.cc.
References b, blender::compositor::KeyingScreenKey::frame, operator==(), and blender::compositor::KeyingScreenKey::smoothness.
| bool blender::compositor::operator== | ( | const MorphologicalDistanceFeatherWeightsKey & | a, |
| const MorphologicalDistanceFeatherWeightsKey & | b ) |
Definition at line 34 of file morphological_distance_feather_weights.cc.
References b, operator==(), blender::compositor::MorphologicalDistanceFeatherWeightsKey::radius, and blender::compositor::MorphologicalDistanceFeatherWeightsKey::type.
| bool blender::compositor::operator== | ( | const OCIOColorSpaceConversionShaderKey & | a, |
| const OCIOColorSpaceConversionShaderKey & | b ) |
Definition at line 480 of file ocio_color_space_conversion_shader.cc.
References b, blender::compositor::OCIOColorSpaceConversionShaderKey::config_cache_id, operator==(), blender::compositor::OCIOColorSpaceConversionShaderKey::source, and blender::compositor::OCIOColorSpaceConversionShaderKey::target.
| bool blender::compositor::operator== | ( | const OCIOToDisplayShaderKey & | a, |
| const OCIOToDisplayShaderKey & | b ) |
Definition at line 588 of file ocio_color_space_conversion_shader.cc.
References b, blender::compositor::OCIOToDisplayShaderKey::config_cache_id, blender::compositor::OCIOToDisplayShaderKey::display_device, blender::compositor::OCIOToDisplayShaderKey::inverse, blender::compositor::OCIOToDisplayShaderKey::look, operator==(), and blender::compositor::OCIOToDisplayShaderKey::view_transform.
| bool blender::compositor::operator== | ( | const SymmetricBlurWeightsKey & | a, |
| const SymmetricBlurWeightsKey & | b ) |
Definition at line 33 of file symmetric_blur_weights.cc.
References b, operator==(), blender::compositor::SymmetricBlurWeightsKey::radius, and blender::compositor::SymmetricBlurWeightsKey::type.
| bool blender::compositor::operator== | ( | const SymmetricSeparableBlurWeightsKey & | a, |
| const SymmetricSeparableBlurWeightsKey & | b ) |
Definition at line 33 of file symmetric_separable_blur_weights.cc.
References b, operator==(), blender::compositor::SymmetricSeparableBlurWeightsKey::radius, and blender::compositor::SymmetricSeparableBlurWeightsKey::type.
| bool blender::compositor::operator== | ( | const VanVlietGaussianCoefficientsKey & | a, |
| const VanVlietGaussianCoefficientsKey & | b ) |
Definition at line 54 of file van_vliet_gaussian_coefficients.cc.
References b, operator==(), and blender::compositor::VanVlietGaussianCoefficientsKey::sigma.
| void blender::compositor::pad | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const int2 | size, | ||
| const PaddingMethod | padding_method ) |
Definition at line 113 of file pad.cc.
References blender::compositor::Domain::data_size, blender::compositor::Domain::display_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::int2, blender::compositor::Result::is_single_value(), output, pad(), zero_pad_cpu(), and zero_pad_gpu().
Referenced by deriche_gaussian_blur(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::execute(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size(), pad(), symmetric_separable_blur(), and van_vliet_gaussian_blur().
|
inline |
Definition at line 77 of file COM_utilities.hh.
References blender::IndexRange::IndexRange(), blender::gpu::shader::metadata::int2, parallel_for(), and blender::threading::parallel_for().
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::accumulate_ghosts_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::accumulate_streak_cpu(), apply_morphological_operator_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::apply_streak_filter_cpu(), blend_neighborhood_cpu(), blur_pass(), blur_pass(), blur_pass_cpu(), blur_pass_cpu(), blender::nodes::node_composite_box_mask_cc::box_mask(), blender::compositor::CachedImage::CachedImage(), blender::compositor::CachedMask::CachedMask(), calculate_blending_weights_cpu(), blender::nodes::node_composite_movie_clip_cc::MovieClipOperation::compute_alpha(), blender::nodes::node_composite_displace_cc::DisplaceOperation::compute_anisotropic(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_base_ghost_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_downsample_chain(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_downsample_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::compute_bloom_upsample_cpu(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::compute_blur_kernel(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_boundary_cpu(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::compute_boundary_cpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_classic(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth_cpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale_cpu(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::compute_distance_threshold_cpu(), blender::nodes::node_composite_dilate_erode_cc::DilateErodeOperation::compute_distance_threshold_seeds_cpu(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_gradient_cpu(), blender::nodes::node_composite_movie_clip_cc::MovieClipOperation::compute_image(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_image_cpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_image_cpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_boundary_cpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_region_cpu(), blender::nodes::node_composite_displace_cc::DisplaceOperation::compute_interpolation(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::compute_mask_cpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_matte_cpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_matte_cpu(), blender::nodes::node_composite_vector_blur_cc::compute_max_tile_velocity_cpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_pick_cpu(), blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::compute_plane_cpu(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::compute_plane_cpu(), blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::compute_plane_mask_cpu(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::compute_plane_mask_cpu(), blender::nodes::node_composite_mask_to_sdf_cc::MaskToSDFOperation::compute_signed_distance_cpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor_cpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_tweaked_matte_cpu(), convolve(), detect_edges_cpu(), blender::nodes::node_composite_vector_blur_cc::dilate_max_velocity_cpu(), blender::compositor::DistortionGrid::DistortionGrid(), blender::compositor::Result::download_to_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::downsample_kernel_cpu(), blender::nodes::node_composite_ellipse_mask_cc::ellipse_mask(), blender::nodes::node_composite_blank_image_cc::BlankImageOperation::execute(), blender::nodes::node_composite_denoise_cc::DenoiseOperation::execute(), blender::nodes::node_composite_crop_cc::CropOperation::execute_alpha_crop_cpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic_cpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_anti_aliased_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_bloom(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size_cpu(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::execute_constant_size_cpu(), blender::nodes::node_composite_bilateral_blur_cc::BilateralBlurOperation::execute_cpu(), blender::nodes::node_composite_convert_color_space_cc::ConvertColorSpaceOperation::execute_cpu(), blender::nodes::node_composite_convert_to_display_cc::ConvertToDisplayOperation::execute_cpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::execute_cpu(), blender::nodes::node_composite_despeckle_cc::DespeckleOperation::execute_cpu(), blender::nodes::node_composite_directional_blur_cc::DirectionalBlurOperation::execute_cpu(), blender::nodes::node_composite_filter_cc::FilterOperation::execute_cpu(), blender::nodes::node_composite_flip_cc::FlipOperation::execute_cpu(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute_cpu(), blender::nodes::node_composite_movie_distortion_cc::MovieDistortionOperation::execute_cpu(), blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute_cpu(), blender::nodes::node_composite_pixelate_cc::PixelateOperation::execute_cpu(), blender::nodes::node_composite_split_cc::SplitOperation::execute_cpu(), blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_cpu_anisotropic(), blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_cpu_interpolation(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_float_cpu(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_float_per_dimension_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_highlights_cpu(), blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_horizontal_distortion_cpu(), blender::nodes::node_composite_crop_cc::CropOperation::execute_image_crop_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_kernel(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_mix_cpu(), blender::nodes::node_composite_tone_map_cc::ToneMapOperation::execute_photoreceptor_cpu(), blender::nodes::node_composite_lens_distortion_cc::LensDistortionOperation::execute_radial_distortion_cpu(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_simple_cpu(), blender::nodes::node_composite_tone_map_cc::ToneMapOperation::execute_simple_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_horizontal_pass_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_vertical_pass_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_streaks(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_sun_beams(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_sun_beams_cpu(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_variable_size_cpu(), blender::nodes::node_composite_bokeh_blur_cc::BokehBlurOperation::execute_variable_size_cpu(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_cpu(), blender::nodes::node_composite_relative_to_pixel_cc::RelativeToPixelOperation::execute_vector_cpu(), extract_alpha_cpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::extract_input_chroma_cpu(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::fill_inpainting_region_cpu(), jump_flooding_pass_cpu(), morphological_distance_cpu(), morphological_distance_feather_pass(), parallel_for(), realize_on_domain(), blender::nodes::node_composite_keying_cc::KeyingOperation::replace_input_chroma_cpu(), blender::compositor::StringImage::StringImage(), sum_causal_and_non_causal_results_cpu(), sum_causal_and_non_causal_results_cpu(), blender::compositor::Result::upload_to_gpu(), blender::nodes::node_composite_glare_cc::GlareOperation::write_glare_output_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::write_highlights_output_cpu(), and zero_pad_cpu().
|
static |
Definition at line 64 of file distortion_grid.cc.
References blender::IndexRange::IndexRange(), parallel_reduce(), blender::threading::parallel_reduce(), and blender::result.
|
static |
Definition at line 94 of file parallel_reduction.cc.
References blender::IndexRange::IndexRange(), blender::gpu::shader::metadata::int2, parallel_reduce(), blender::threading::parallel_reduce(), and blender::result.
Referenced by compute_output_domain(), maximum_color_cpu(), maximum_float2_cpu(), maximum_float_cpu(), maximum_float_in_range_cpu(), maximum_luminance_cpu(), minimum_color_cpu(), minimum_float_cpu(), minimum_float_in_range_cpu(), minimum_luminance_cpu(), parallel_reduce(), parallel_reduce(), sum_color_cpu(), sum_log_luminance_cpu(), and sum_squared_difference_color_cpu().
|
static |
Definition at line 38 of file parallel_reduction.cc.
References blender::gpu::TexturePool::acquire_texture_2d(), blender::math::divide_ceil(), blender::gpu::TexturePool::get(), blender::GPU_BARRIER_TEXTURE_FETCH, blender::GPU_BARRIER_TEXTURE_UPDATE, blender::GPU_compute_dispatch(), blender::GPU_DATA_FLOAT, blender::GPU_memory_barrier(), blender::GPU_shader_get_sampler_binding(), blender::GPU_shader_uniform_1b(), blender::GPU_texture_bind(), blender::GPU_texture_height(), blender::GPU_texture_image_bind(), blender::GPU_texture_image_unbind(), blender::GPU_texture_read(), blender::GPU_texture_unbind(), blender::GPU_TEXTURE_USAGE_GENERAL, blender::GPU_texture_width(), blender::gpu::shader::metadata::int2, parallel_reduction_dispatch(), blender::gpu::TexturePool::release_texture(), and texture().
Referenced by maximum_color_gpu(), maximum_float2_gpu(), maximum_float_gpu(), maximum_float_in_range_gpu(), maximum_luminance_gpu(), minimum_color_gpu(), minimum_float_gpu(), minimum_float_in_range_gpu(), minimum_luminance_gpu(), parallel_reduction_dispatch(), sum_color_gpu(), sum_log_luminance_gpu(), and sum_squared_difference_color_gpu().
|
static |
Definition at line 100 of file shader_node.cc.
References blender::GPUNodeStack::end, blender::GPU_node_stack_default_value(), gpu_type_from_socket(), blender::GPUNodeStack::hasinput, blender::GPUNodeStack::hasoutput, blender::GPUNodeStack::link, populate_gpu_node_stack(), blender::GPUNodeStack::sockettype, blender::bNodeSocket::type, blender::GPUNodeStack::type, and blender::GPUNodeStack::value.
Referenced by populate_gpu_node_stack().
|
static |
Definition at line 272 of file realize_on_domain_operation.cc.
References blender::gpu::shader::metadata::float3x3, blender::compositor::Result::get_realization_options(), blender::gpu::shader::metadata::int2, output, parallel_for(), and realize_on_domain().
Referenced by realize_on_domain().
| void blender::compositor::recursive_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | radius, | ||
| const bool | extend_bounds = false ) |
Definition at line 49 of file recursive_gaussian_blur.cc.
References compute_sigma_from_radius(), deriche_gaussian_blur(), blender::gpu::shader::metadata::float2, blender::math::Gauss, output, recursive_gaussian_blur(), blender::math::reduce_max(), symmetric_separable_blur(), and van_vliet_gaussian_blur().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::execute(), and recursive_gaussian_blur().
|
static |
Definition at line 12 of file init.cc.
References BLI_CPP_TYPE_REGISTER, blender::None, and register_cpp_types().
Referenced by init(), and register_cpp_types().
|
inlinestatic |
Definition at line 665 of file COM_result.hh.
References blender::copy_v4_v4(), blender::compositor::EWASamplingData::extension_mode_x, blender::compositor::EWASamplingData::extension_mode_y, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), blender::compositor::EWASamplingData::result, blender::result, sample_ewa_read_callback(), blender::x, and y.
Referenced by blender::compositor::Result::sample(), and sample_ewa_read_callback().
| Color blender::compositor::sample_pixel | ( | Context & | context, |
| const Result & | input, | ||
| const Interpolation & | interpolation, | ||
| const Extension & | extension_mode_x, | ||
| const Extension & | extension_mode_y, | ||
| const float2 | coordinates ) |
Definition at line 89 of file sample_pixel.cc.
References blender::BLI_assert(), Color, blender::gpu::shader::metadata::float2, blender::compositor::Result::get_single_value(), blender::compositor::Result::is_single_value(), sample_pixel(), sample_pixel_cpu(), sample_pixel_gpu(), and blender::compositor::Result::type().
Referenced by blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_single(), and sample_pixel().
|
static |
Definition at line 79 of file sample_pixel.cc.
References blender::gpu::shader::metadata::float2, blender::compositor::Result::sample(), and sample_pixel_cpu().
Referenced by sample_pixel(), and sample_pixel_cpu().
|
static |
Definition at line 33 of file sample_pixel.cc.
References Anisotropic, Bicubic, Bilinear, blender::compositor::Result::bind_as_texture(), ELEM, blender::gpu::shader::metadata::float2, get_pixel_sampler_shader_name(), blender::GPU_BARRIER_TEXTURE_UPDATE, blender::GPU_compute_dispatch(), blender::GPU_DATA_FLOAT, blender::GPU_memory_barrier(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_2fv(), blender::GPU_texture_anisotropic_filter(), blender::GPU_texture_extend_mode_x(), blender::GPU_texture_extend_mode_y(), blender::GPU_texture_filter_mode(), blender::GPU_texture_mipmap_mode(), blender::GPU_texture_read(), blender::gpu::shader::metadata::int2, map_extension_mode_to_extend_mode(), output, sample_pixel_gpu(), blender::compositor::Result::type(), and blender::compositor::Result::unbind_as_texture().
Referenced by sample_pixel(), and sample_pixel_gpu().
|
static |
Definition at line 497 of file result.cc.
References blender::math::clamp(), blender::compositor::Domain::data_size, GPUImage, blender::gpu::shader::metadata::int2, and sanitize_domain_data_size().
Referenced by blender::compositor::Result::allocate_texture(), and sanitize_domain_data_size().
| void blender::compositor::smaa | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float | threshold = 0.1f, | ||
| const float | local_contrast_adaptation_factor = 2.0f, | ||
| const int | corner_rounding = 25 ) |
Definition at line 1693 of file smaa.cc.
References blend_neighborhood(), calculate_blending_weights(), detect_edges(), blender::compositor::Result::is_single_value(), output, blender::compositor::Result::release(), and smaa().
Referenced by blender::nodes::node_composite_anti_aliasing_cc::AntiAliasingOperation::execute(), blender::nodes::node_composite_corner_pin_cc::CornerPinOperation::execute(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute(), blender::nodes::node_composite_depth_combin_cc::ZCombineOperation::execute_anti_aliased(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::execute_cpu(), blender::nodes::node_composite_plane_track_deform_cc::PlaneTrackDeformOperation::execute_gpu(), and smaa().
|
static |
Ok, we have the distance and both crossing edges. So, what are the areas at each side of current edge?
Definition at line 1131 of file smaa.cc.
References blender::gpu::shader::metadata::float2, mad, blender::math::round(), SMAA_AREATEX_MAX_DISTANCE, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, SMAAArea(), SMAASampleLevelZero, and SMAATexture2D.
Referenced by SMAAArea(), and SMAABlendingWeightCalculationPS().
|
static |
Similar to SMAAArea, this calculates the area corresponding to a certain diagonal distance and crossing edges 'e'.
Definition at line 880 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, mad, SMAA_AREATEX_MAX_DISTANCE_DIAG, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, SMAAAreaDiag(), SMAASampleLevelZero, and SMAATexture2D.
Referenced by SMAAAreaDiag(), and SMAACalculateDiagWeights().
|
static |
Definition at line 1208 of file smaa.cc.
References blender::math::abs(), blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, mad, blender::math::round(), SMAA_BRANCH, SMAAArea(), SMAABlendingWeightCalculationPS(), SMAACalculateDiagWeights(), SMAADetectHorizontalCornerPattern(), SMAADetectVerticalCornerPattern(), SMAASampleLevelZero, SMAASampleLevelZeroOffset, SMAASamplePoint, SMAASearchXLeft(), SMAASearchXRight(), SMAASearchYDown(), SMAASearchYUp(), SMAATexture2D, SMAATexturePass2D, blender::math::sqrt(), w(), blender::x, y, and z().
Referenced by calculate_blending_weights_cpu(), and SMAABlendingWeightCalculationPS().
|
static |
Blend Weight Calculation Vertex Shader
Definition at line 696 of file smaa.cc.
References float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, SMAA_MAX_SEARCH_STEPS, SMAABlendingWeightCalculationVS(), w(), blender::x, y, and z().
Referenced by calculate_blending_weights_cpu(), and SMAABlendingWeightCalculationVS().
|
static |
This searches for diagonal patterns and returns the corresponding weights.
Definition at line 901 of file smaa.cc.
References blender::e, float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, mad, SMAA_BRANCH, SMAAAreaDiag(), SMAACalculateDiagWeights(), SMAADecodeDiagBilinearAccess(), SMAAMovc(), SMAASampleLevelZeroOffset, SMAASamplePointOffset, SMAASearchDiag1(), SMAASearchDiag2(), SMAATexture2D, SMAATexturePass2D, blender::math::step(), and blender::x.
Referenced by SMAABlendingWeightCalculationPS(), and SMAACalculateDiagWeights().
Allows to decode two binary values from a bilinear-filtered access.
Definition at line 804 of file smaa.cc.
References blender::math::abs(), blender::e, blender::gpu::shader::metadata::float2, blender::math::round(), and SMAADecodeDiagBilinearAccess().
Referenced by SMAACalculateDiagWeights(), SMAADecodeDiagBilinearAccess(), SMAADecodeDiagBilinearAccess(), and SMAASearchDiag2().
Definition at line 824 of file smaa.cc.
References blender::math::abs(), blender::e, blender::gpu::shader::metadata::float4, blender::math::round(), and SMAADecodeDiagBilinearAccess().
|
static |
Definition at line 1151 of file smaa.cc.
References blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, saturate, SMAADetectHorizontalCornerPattern(), SMAASampleLevelZeroOffset, SMAATexture2D, and blender::math::step().
Referenced by SMAABlendingWeightCalculationPS(), and SMAADetectHorizontalCornerPattern().
|
static |
Definition at line 1178 of file smaa.cc.
References blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, saturate, SMAADetectVerticalCornerPattern(), SMAASampleLevelZeroOffset, SMAATexture2D, and blender::math::step().
Referenced by SMAABlendingWeightCalculationPS(), and SMAADetectVerticalCornerPattern().
|
static |
Definition at line 683 of file smaa.cc.
References blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, and SMAAEdgeDetectionVS().
Referenced by detect_edges_cpu(), and SMAAEdgeDetectionVS().
|
static |
Luma Edge Detection
IMPORTANT NOTICE: luma edge detection requires gamma-corrected colors, and thus 'colorTex' should be a non-sRGB texture.
Definition at line 731 of file smaa.cc.
References blender::math::abs(), blender::math::dot(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, L, blender::math::max(), SMAA_PREDICATION, SMAALumaEdgeDetectionPS(), SMAASamplePoint, SMAATexture2D, SMAATexturePass2D, blender::math::step(), and T.
Referenced by detect_edges_cpu(), and SMAALumaEdgeDetectionPS().
Conditional move:
Definition at line 664 of file smaa.cc.
References blender::gpu::shader::metadata::float2, blender::math::interpolate(), and SMAAMovc().
Referenced by SMAACalculateDiagWeights(), SMAAMovc(), SMAAMovc(), and SMAANeighborhoodBlendingPS().
Definition at line 670 of file smaa.cc.
References blender::gpu::shader::metadata::float4, blender::math::interpolate(), and SMAAMovc().
|
static |
Definition at line 1370 of file smaa.cc.
References blender::math::dot(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::math::length(), blender::math::max(), SMAA_BRANCH, SMAA_DECODE_VELOCITY, SMAA_REPROJECTION, SMAAMovc(), SMAANeighborhoodBlendingPS(), SMAASample, SMAASampleLevelZero, SMAATexture2D, blender::math::sqrt(), and T.
Referenced by blend_neighborhood_cpu(), and SMAANeighborhoodBlendingPS().
|
static |
Neighborhood Blending Vertex Shader
Definition at line 718 of file smaa.cc.
References blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, and SMAANeighborhoodBlendingVS().
Referenced by blend_neighborhood_cpu(), and SMAANeighborhoodBlendingVS().
|
static |
These functions allows to perform diagonal pattern searches.
Definition at line 834 of file smaa.cc.
References blender::math::dot(), blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, mad, SMAA_MAX_SEARCH_STEPS_DIAG, SMAASamplePoint, SMAASearchDiag1(), and SMAATexture2D.
Referenced by SMAACalculateDiagWeights(), and SMAASearchDiag1().
|
static |
Definition at line 850 of file smaa.cc.
References blender::math::dot(), blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, mad, SMAA_MAX_SEARCH_STEPS_DIAG, SMAADecodeDiagBilinearAccess(), SMAASampleLevelZero, SMAASearchDiag2(), and SMAATexture2D.
Referenced by SMAACalculateDiagWeights(), and SMAASearchDiag2().
|
static |
This allows to determine how much length should we add in the last step of the searches. It takes the bilinearly interpolated edge (see @PSEUDO_GATHER4), and adds 0, 1 or 2, depending on which edges and crossing edges are active.
Definition at line 1019 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, mad, scale(), SMAA_SEARCHTEX_PACKED_SIZE, SMAA_SEARCHTEX_SELECT, SMAA_SEARCHTEX_SIZE, SMAASampleLevelZero, SMAASearchLength(), and SMAATexture2D.
Referenced by SMAASearchLength(), SMAASearchXLeft(), SMAASearchXRight(), SMAASearchYDown(), and SMAASearchYUp().
|
static |
Horizontal/vertical search functions for the 2nd pass.
@PSEUDO_GATHER4 This texcoord has been offset by (-0.25, -0.125) in the vertex shader to sample between edge, thus fetching four edges in a row. Sampling with different offsets in each direction allows to disambiguate which edges are active from the four fetched ones.
Definition at line 1042 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, mad, SMAASampleLevelZero, SMAASearchLength(), SMAASearchXLeft(), SMAATexture2D, and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS(), and SMAASearchXLeft().
|
static |
Definition at line 1078 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, mad, SMAASampleLevelZero, SMAASearchLength(), SMAASearchXRight(), SMAATexture2D, and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS(), and SMAASearchXRight().
|
static |
Definition at line 1110 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, mad, SMAASampleLevelZero, SMAASearchLength(), SMAASearchYDown(), SMAATexture2D, and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS(), and SMAASearchYDown().
|
static |
Definition at line 1093 of file smaa.cc.
References blender::e, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, mad, SMAASampleLevelZero, SMAASearchLength(), SMAASearchYUp(), SMAATexture2D, and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS(), and SMAASearchYUp().
| ResultType blender::compositor::socket_data_type_to_result_type | ( | const eNodeSocketDatatype | data_type, |
| const std::optional< int > | dimensions = std::nullopt ) |
Definition at line 39 of file utilities.cc.
References BLI_assert_unreachable, Bool, Bundle, Closure, Color, Float, Float2, Float3, Float4, Float4x4, Font, Image, Int, Int2, Int3, Mask, Menu, Object, Quaternion, Scene, blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_VECTOR, socket_data_type_to_result_type(), String, and Text.
Referenced by get_node_interface_socket_result_type(), get_node_socket_result_type(), blender::nodes::node_geo_index_switch_cc::node_declare(), blender::nodes::node_geo_menu_switch_cc::node_declare(), blender::nodes::node_geo_switch_cc::node_declare(), and socket_data_type_to_result_type().
|
static |
Definition at line 218 of file bokeh_kernel.cc.
References blender::math::abs(), bokeh(), float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, max, min, and spectral_bokeh().
Referenced by spectral_bokeh().
|
static |
Definition at line 81 of file deriche_gaussian_blur.cc.
References output, sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results_cpu(), and sum_causal_and_non_causal_results_gpu().
Referenced by blur_pass(), sum_causal_and_non_causal_results(), and sum_causal_and_non_causal_results().
|
static |
Definition at line 88 of file van_vliet_gaussian_blur.cc.
References output, sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results_cpu(), and sum_causal_and_non_causal_results_gpu().
|
static |
Definition at line 49 of file deriche_gaussian_blur.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::int2, output, parallel_for(), sum_causal_and_non_causal_results_cpu(), and blender::compositor::Domain::transposed().
Referenced by sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results_cpu(), and sum_causal_and_non_causal_results_cpu().
|
static |
Definition at line 24 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), output, sum_causal_and_non_causal_results_gpu(), blender::compositor::Domain::transposed(), and blender::compositor::Result::unbind_as_texture().
Referenced by sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results(), sum_causal_and_non_causal_results_gpu(), and sum_causal_and_non_causal_results_gpu().
|
static |
Definition at line 22 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), output, sum_causal_and_non_causal_results_gpu(), blender::compositor::Domain::transposed(), and blender::compositor::Result::unbind_as_texture().
Definition at line 144 of file parallel_reduction.cc.
References blender::gpu::shader::metadata::float4, sum_color(), sum_color_cpu(), and sum_color_gpu().
Referenced by blender::nodes::node_composite_tone_map_cc::ToneMapOperation::compute_global_adaptation_level(), blender::nodes::node_composite_levels_cc::LevelsOperation::compute_mean(), and sum_color().
Definition at line 133 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), parallel_reduce(), and sum_color_cpu().
Referenced by sum_color(), and sum_color_cpu().
Definition at line 119 of file parallel_reduction.cc.
References Color, blender::gpu::shader::metadata::float4, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), parallel_reduction_dispatch(), and sum_color_gpu().
Referenced by sum_color(), and sum_color_gpu().
| float blender::compositor::sum_log_luminance | ( | Context & | context, |
| const Result & | input, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 184 of file parallel_reduction.cc.
References blender::gpu::shader::metadata::float3, sum_log_luminance(), sum_log_luminance_cpu(), and sum_log_luminance_gpu().
Referenced by blender::nodes::node_composite_tone_map_cc::ToneMapOperation::compute_average_log_luminance(), and sum_log_luminance().
|
static |
Definition at line 171 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), float, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::int2, parallel_reduce(), and sum_log_luminance_cpu().
Referenced by sum_log_luminance(), and sum_log_luminance_cpu().
|
static |
Definition at line 153 of file parallel_reduction.cc.
References Float, blender::gpu::shader::metadata::float3, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), parallel_reduction_dispatch(), and sum_log_luminance_gpu().
Referenced by sum_log_luminance(), and sum_log_luminance_gpu().
| float4 blender::compositor::sum_squared_difference_color | ( | Context & | context, |
| const Result & | input, | ||
| const float4 | subtrahend ) |
Definition at line 230 of file parallel_reduction.cc.
References blender::BLI_assert(), Color, blender::gpu::shader::metadata::float4, sum_squared_difference_color(), sum_squared_difference_color_cpu(), sum_squared_difference_color_gpu(), and blender::compositor::Result::type().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_standard_deviation(), and sum_squared_difference_color().
|
static |
Definition at line 218 of file parallel_reduction.cc.
References b, blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel(), parallel_reduce(), blender::math::square(), and sum_squared_difference_color_cpu().
Referenced by sum_squared_difference_color(), and sum_squared_difference_color_cpu().
|
static |
Definition at line 199 of file parallel_reduction.cc.
References Color, blender::gpu::shader::metadata::float4, Full, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_4fv(), blender::compositor::Result::gpu_texture_format(), parallel_reduction_dispatch(), and sum_squared_difference_color_gpu().
Referenced by sum_squared_difference_color(), and sum_squared_difference_color_gpu().
| void blender::compositor::summed_area_table | ( | Context & | context, |
| Result & | input, | ||
| Result & | output, | ||
| SummedAreaTableOperation | operation = SummedAreaTableOperation::Identity ) |
Definition at line 266 of file summed_area_table.cc.
References output, summed_area_table(), summed_area_table_cpu(), and summed_area_table_gpu().
Referenced by blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_classic_summed_area_table(), and summed_area_table().
|
static |
Definition at line 232 of file summed_area_table.cc.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::IndexRange::IndexRange(), blender::gpu::shader::metadata::int2, output, blender::threading::parallel_for(), and summed_area_table_cpu().
Referenced by summed_area_table(), and summed_area_table_cpu().
|
static |
Definition at line 201 of file summed_area_table.cc.
References Color, compute_complete_blocks(), compute_complete_x_prologues(), compute_complete_y_prologues(), compute_incomplete_prologues(), Full, output, blender::compositor::Result::release(), and summed_area_table_gpu().
Referenced by summed_area_table(), and summed_area_table_gpu().
|
inline |
Definition at line 65 of file COM_algorithm_summed_area_table.hh.
References blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel_zero(), blender::math::min(), and summed_area_table_sum().
Referenced by blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_classic(), and summed_area_table_sum().
| void blender::compositor::symmetric_separable_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | radius, | ||
| const math::FilterKernel | filter_type = math::FilterKernel::Gauss, | ||
| const bool | extend_bounds = false ) |
Definition at line 152 of file symmetric_separable_blur.cc.
References blur_pass(), blender::math::ceil(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, output, pad(), blender::compositor::Result::release(), symmetric_separable_blur(), blender::compositor::Result::type(), and Zero.
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_bilateral_blur_cc::BilateralBlurOperation::execute(), blender::nodes::node_composite_blur_cc::BlurOperation::execute(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic(), morphological_blur(), recursive_gaussian_blur(), and symmetric_separable_blur().
| void blender::compositor::symmetric_separable_blur_variable_size | ( | Context & | context, |
| const Result & | input, | ||
| const Result & | radius, | ||
| Result & | output, | ||
| const int | weights_resolution = 128, | ||
| const math::FilterKernel | filter_type = math::FilterKernel::Gauss ) |
Definition at line 235 of file symmetric_separable_blur_variable_size.cc.
References blender::BLI_assert(), Color, horizontal_pass(), output, blender::compositor::Result::release(), symmetric_separable_blur_variable_size(), blender::compositor::Result::type(), and vertical_pass().
Referenced by blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute(), and symmetric_separable_blur_variable_size().
| StringRefNull blender::compositor::to_string | ( | const Extension & | extension | ) |
Definition at line 129 of file domain.cc.
References BLI_assert_unreachable, Clip, Extend, N_, Repeat, and to_string().
| StringRefNull blender::compositor::to_string | ( | const Interpolation & | interpolation | ) |
Definition at line 112 of file domain.cc.
References Anisotropic, Bicubic, Bilinear, BLI_assert_unreachable, N_, Nearest, and to_string().
Referenced by get_image_info_log(), get_image_info_log(), to_string(), to_string(), and to_string().
| StringRefNull blender::compositor::to_string | ( | const ResultPrecision & | precision | ) |
Definition at line 1248 of file result.cc.
References BLI_assert_unreachable, Full, Half, N_, and to_string().
| void blender::compositor::van_vliet_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | sigma, | ||
| const bool | extend_bounds ) |
Definition at line 387 of file van_vliet_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), blender::math::ceil(), compute_radius_from_sigma(), blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::int2, output, pad(), blender::math::reduce_max(), blender::compositor::Result::release(), blender::compositor::Result::type(), van_vliet_gaussian_blur(), and Zero.
Referenced by recursive_gaussian_blur(), and van_vliet_gaussian_blur().
|
static |
Definition at line 207 of file symmetric_separable_blur_variable_size.cc.
References output, vertical_pass(), vertical_pass_cpu(), and vertical_pass_gpu().
|
static |
Definition at line 281 of file morphological_distance_feather.cc.
References distance(), output, vertical_pass(), vertical_pass_cpu(), and vertical_pass_gpu().
Referenced by morphological_distance_feather(), symmetric_separable_blur_variable_size(), vertical_pass(), and vertical_pass().
|
static |
Definition at line 190 of file symmetric_separable_blur_variable_size.cc.
References blur_pass(), blender::compositor::Result::domain(), output, and vertical_pass_cpu().
|
static |
Definition at line 259 of file morphological_distance_feather.cc.
References blender::math::abs(), distance(), blender::compositor::Result::domain(), morphological_distance_feather_pass(), output, and vertical_pass_cpu().
Referenced by vertical_pass(), vertical_pass(), vertical_pass_cpu(), and vertical_pass_cpu().
|
static |
Definition at line 152 of file symmetric_separable_blur_variable_size.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, blender::compositor::Result::domain(), blender::GPU_SAMPLER_EXTEND_MODE_EXTEND, blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_1b(), blender::GPU_texture_extend_mode(), blender::GPU_texture_filter_mode(), blender::gpu::shader::metadata::int2, output, blender::compositor::Result::unbind_as_texture(), and vertical_pass_gpu().
|
static |
Definition at line 226 of file morphological_distance_feather.cc.
References blender::math::abs(), blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Domain::data_size, distance(), blender::compositor::Result::domain(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs, get_shader_name(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::gpu::shader::metadata::int2, output, blender::compositor::Result::unbind_as_texture(), vertical_pass_gpu(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights.
Referenced by vertical_pass(), vertical_pass(), vertical_pass_gpu(), and vertical_pass_gpu().
|
static |
Definition at line 66 of file pad.cc.
References BLI_assert_unreachable, Color, Extend, Float, Float2, blender::gpu::shader::metadata::float2, Float4, blender::gpu::shader::metadata::float4, blender::gpu::shader::metadata::int2, blender::compositor::Result::load_pixel_extended(), blender::compositor::Result::load_pixel_zero(), output, parallel_for(), blender::compositor::Result::type(), Zero, and zero_pad_cpu().
Referenced by pad(), and zero_pad_cpu().
|
static |
Definition at line 45 of file pad.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), get_shader_name(), blender::GPU_shader_bind(), blender::GPU_shader_unbind(), blender::GPU_shader_uniform_2iv(), blender::gpu::shader::metadata::int2, output, blender::compositor::Result::type(), blender::compositor::Result::unbind_as_texture(), and zero_pad_gpu().
Referenced by pad(), and zero_pad_gpu().
|
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().
|
static |
Definition at line 35 of file ocio_color_space_conversion_shader.cc.
Referenced by blender::compositor::OCIOColorSpaceConversionShader::OCIOColorSpaceConversionShader(), and blender::compositor::OCIOToDisplayShader::OCIOToDisplayShader().
|
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().