|
Blender V5.0
|
Typedefs | |
| using | ProcessorsVector = Vector<std::unique_ptr<SimpleOperation>> |
| using | PixelCompileUnit = VectorSet<DNode> |
| using | Schedule = VectorSet<DNode> |
| using | NeededBuffers = Map<DNode, int> |
| using | TargetSocketPathInfo = DOutputSocket::TargetSocketPathInfo |
Enumerations | |
| enum class | MorphologicalBlurOperation : uint8_t { Dilate , Erode } |
| enum class | PaddingMethod : uint8_t { Zero , Extend } |
| enum class | SummedAreaTableOperation : uint8_t { Identity , Square } |
| enum class | DistortionType : uint8_t { Distort = 0 , Undistort = 1 } |
| enum class | CoordinatesType : uint8_t { Uniform , Normalized , Pixel } |
| enum class | OutputTypes : uint8_t { None = 0 , Composite = 1 << 0 , Viewer = 1 << 1 , FileOutput = 1 << 2 , Previews = 1 << 3 } |
| enum class | Interpolation : uint8_t { Nearest , Bilinear , Bicubic , Anisotropic } |
| enum class | ExtensionMode : uint8_t { Clip , Extend , Repeat } |
| enum class | InputRealizationMode : uint8_t { None , Transforms , OperationDomain } |
| enum class | ImplicitInput : uint8_t { None , TextureCoordinates } |
| enum class | ResultType : uint8_t { Float , Float2 , Float3 , Float4 , Int , Int2 , Color , Bool , Menu , String } |
| enum class | ResultPrecision : uint8_t { Full , Half } |
| enum class | ResultStorageType : uint8_t { GPU , CPU } |
Functions | |
| void | compute_preview (Context &context, const nodes::DNode &node, const Result &input_result) |
| 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) |
| void | extract_alpha (Context &context, 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 int filter_type=R_FILTER_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) |
| float | sum_red (Context &context, const Result &result) |
| float | sum_green (Context &context, const Result &result) |
| float | sum_blue (Context &context, const Result &result) |
| float | sum_luminance (Context &context, const Result &result, const float3 &luminance_coefficients) |
| float | sum_log_luminance (Context &context, const Result &result, const float3 &luminance_coefficients) |
| float4 | sum_color (Context &context, const Result &result) |
| float | sum_red_squared_difference (Context &context, const Result &result, const float subtrahend) |
| float | sum_green_squared_difference (Context &context, const Result &result, const float subtrahend) |
| float | sum_blue_squared_difference (Context &context, const Result &result, const float subtrahend) |
| float | sum_luminance_squared_difference (Context &context, const Result &result, const float3 &luminance_coefficients, const float subtrahend) |
| float | maximum_luminance (Context &context, const Result &result, const float3 &luminance_coefficients) |
| float | maximum_float (Context &context, const Result &result) |
| float2 | maximum_float2 (Context &context, const Result &result) |
| float | maximum_float_in_range (Context &context, const Result &result, const float lower_bound, const float upper_bound) |
| float | minimum_luminance (Context &context, const Result &result, const float3 &luminance_coefficients) |
| float | minimum_float (Context &context, const Result &result) |
| float | minimum_float_in_range (Context &context, const Result &result, const float lower_bound, const float upper_bound) |
| void | recursive_gaussian_blur (Context &context, const Result &input, Result &output, const float2 &radius) |
| float4 | sample_pixel (Context &context, const Result &input, const Interpolation &interpolation, const ExtensionMode &extension_mode_x, const ExtensionMode &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 int filter_type=R_FILTER_GAUSS) |
| void | symmetric_separable_blur_variable_size (Context &context, const Result &input, const Result &radius, Result &output, const int weights_resolution=128, const int filter_type=R_FILTER_GAUSS) |
| void | van_vliet_gaussian_blur (Context &context, const Result &input, Result &output, const float2 &sigma) |
| static void | compute_preview_cpu (Context &context, const Result &input_result, bke::bNodePreview *preview) |
| static void | compute_preview_gpu (Context &context, const Result &input_result, bke::bNodePreview *preview) |
| static int2 | compute_preview_size (int2 size) |
| void | compute_preview (Context &context, const DNode &node, const Result &input_result) |
| 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 void | extract_alpha_gpu (Context &context, Result &input, Result &output) |
| static void | extract_alpha_cpu (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 (blender::gpu::Texture *texture, gpu::Shader *shader, blender::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 float | sum_red_gpu (Context &context, const Result &result) |
| static float | sum_red_cpu (const Result &result) |
| static float | sum_green_gpu (Context &context, const Result &result) |
| static float | sum_green_cpu (const Result &result) |
| static float | sum_blue_gpu (Context &context, const Result &result) |
| static float | sum_blue_cpu (const Result &result) |
| static float | sum_luminance_gpu (Context &context, const Result &result, const float3 &luminance_coefficients) |
| static float | sum_luminance_cpu (const Result &result, const float3 &luminance_coefficients) |
| static float | sum_log_luminance_gpu (Context &context, const Result &result, const float3 &luminance_coefficients) |
| static float | sum_log_luminance_cpu (const Result &result, const float3 &luminance_coefficients) |
| static float4 | sum_color_gpu (Context &context, const Result &result) |
| static float4 | sum_color_cpu (const Result &result) |
| static float | sum_red_squared_difference_gpu (Context &context, const Result &result, const float subtrahend) |
| static float | sum_red_squared_difference_cpu (const Result &result, const float subtrahend) |
| static float | sum_green_squared_difference_gpu (Context &context, const Result &result, const float subtrahend) |
| static float | sum_green_squared_difference_cpu (const Result &result, const float subtrahend) |
| static float | sum_blue_squared_difference_gpu (Context &context, const Result &result, const float subtrahend) |
| static float | sum_blue_squared_difference_cpu (const Result &result, const float subtrahend) |
| static float | sum_luminance_squared_difference_gpu (Context &context, const Result &result, const float3 &luminance_coefficients, const float subtrahend) |
| static float | sum_luminance_squared_difference_cpu (const Result &result, const float3 &luminance_coefficients, const float subtrahend) |
| static float | maximum_luminance_gpu (Context &context, const Result &result, const float3 &luminance_coefficients) |
| static float | maximum_luminance_cpu (const Result &result, const float3 &luminance_coefficients) |
| static float | maximum_float_gpu (Context &context, const Result &result) |
| static float | maximum_float_cpu (const Result &result) |
| static float2 | maximum_float2_gpu (Context &context, const Result &result) |
| static float2 | maximum_float2_cpu (const Result &result) |
| static float | maximum_float_in_range_gpu (Context &context, const Result &result, const float lower_bound, const float upper_bound) |
| static float | maximum_float_in_range_cpu (const Result &result, const float lower_bound, const float upper_bound) |
| static float | minimum_luminance_gpu (Context &context, const Result &result, const float3 &luminance_coefficients) |
| static float | minimum_luminance_cpu (const Result &result, const float3 &luminance_coefficients) |
| static float | minimum_float_gpu (Context &context, const Result &result) |
| static float | minimum_float_cpu (const Result &result) |
| static float | minimum_float_in_range_gpu (Context &context, const Result &result, const float lower_bound, const float upper_bound) |
| static float | minimum_float_in_range_cpu (const Result &result, 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 float4 | sample_pixel_gpu (Context &context, const Result &input, const Interpolation &interpolation, const ExtensionMode &extension_mode_x, const ExtensionMode &extension_mode_y, const float2 coordinates) |
| static float4 | sample_pixel_cpu (const Result &input, const Interpolation &interpolation, const ExtensionMode &extension_mode_x, const ExtensionMode &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) |
| 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) |
| 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 Result | horizontal_pass_gpu (Context &context, const Result &input, const float radius, const int filter_type) |
| static Result | horizontal_pass_cpu (Context &context, const Result &input, const float radius, const int filter_type) |
| static Result | horizontal_pass (Context &context, const Result &input, const float radius, const int filter_type) |
| static void | vertical_pass_gpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const float2 &radius, const int filter_type) |
| static void | vertical_pass_cpu (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const float2 &radius, const int filter_type) |
| static void | vertical_pass (Context &context, const Result &original_input, const Result &horizontal_pass_result, Result &output, const float2 &radius, const int 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 int filter_type) |
| static Result | horizontal_pass_cpu (Context &context, const Result &input, const Result &radius, const int weights_resolution, const int filter_type) |
| static Result | horizontal_pass (Context &context, const Result &input, const Result &radius, const int weights_resolution, const int 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 int 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 int 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 int 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) |
| bool | operator== (const BokehKernelKey &a, const BokehKernelKey &b) |
| bool | operator== (const CachedImageKey &a, const CachedImageKey &b) |
| bool | operator== (const CachedMaskKey &a, const CachedMaskKey &b) |
| bool | operator== (const CachedShaderKey &a, const CachedShaderKey &b) |
| bool | operator== (const 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 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 | get_result_type (const RenderResult *render_result, const ImageUser &image_user, const ImBuf *image_buffer) |
| static Vector< MaskRasterHandle * > | get_mask_raster_handles (Mask *mask, int2 size, int current_frame, bool use_feather, int motion_blur_samples, float motion_blur_shutter) |
| static double | compute_numerator_0 () |
| static double | compute_numerator_1 (float sigma) |
| static double | compute_numerator_2 (float sigma) |
| static double | compute_numerator_3 (float sigma) |
| static double4 | compute_numerator (float sigma) |
| static double | compute_denominator_1 (float sigma) |
| static double | compute_denominator_2 (float sigma) |
| static double | compute_denominator_3 (float sigma) |
| static double | compute_denominator_4 (float sigma) |
| static double4 | compute_denominator (float sigma) |
| static float | compute_normalization_scale (const double4 &causal_feedforward_coefficients, const double4 &feedback_coefficients) |
| static double4 | compute_non_causal_feedforward_coefficients (const double4 &causal_feedforward_coefficients, const double4 &feedback_coefficients) |
| static double | compute_boundary_coefficient (const double4 &feedforward_coefficients, const double4 &feedback_coefficients) |
| static int2 | get_movie_clip_size (MovieClip *movie_clip, int frame_number) |
| static float | compute_fog_glow_kernel_value (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 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) |
| math::InterpWrapMode | map_extension_mode_to_wrap_mode (const ExtensionMode &mode) |
| GPUSamplerExtendMode | map_extension_mode_to_extend_mode (const ExtensionMode &mode) |
| static void | sample_ewa_extended_read_callback (void *userdata, int x, int y, float result[4]) |
| static void | sample_ewa_zero_read_callback (void *userdata, int x, int y, float result[4]) |
| Schedule | compute_schedule (const Context &context, const DerivedNodeTree &tree) |
| bool | is_socket_available (const bNodeSocket *socket) |
| DSocket | get_input_origin_socket (DInputSocket input) |
| DOutputSocket | get_output_linked_to_input (DInputSocket 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) |
| bool | is_output_linked_to_node_conditioned (DOutputSocket output, FunctionRef< bool(DNode)> condition) |
| int | number_of_inputs_linked_to_output_conditioned (DOutputSocket output, FunctionRef< bool(DInputSocket)> condition) |
| bool | is_pixel_node (DNode node) |
| InputDescriptor | input_descriptor_from_input_socket (const bNodeSocket *socket) |
| void | compute_dispatch_threads_at_least (gpu::Shader *shader, int2 threads_range, int2 local_size=int2(16)) |
| bool | is_node_preview_needed (const DNode &node) |
| DOutputSocket | find_preview_output_socket (const DNode &node) |
| template<typename Function> | |
| void | parallel_for (const int2 range, const Function &function) |
| static bool | is_conversion_supported (const ResultType from_type, const ResultType to_type) |
| static GSpan | get_result_single_value (const Result &result) |
| static GMutableSpan | get_result_single_value (Result &result) |
| static GSpan | get_result_data (const Result &result) |
| static GMutableSpan | get_result_data (Result &result) |
| static PixelOperation * | create_pixel_operation (Context &context, CompileState &compile_state) |
| static ResultType | get_implicit_input_result_type (const ImplicitInput implicit_input) |
| static bool | is_compatible_texture (const blender::gpu::Texture *texture, const Result &result) |
| static bool | is_tree_context_muted (const DTreeContext &tree_context) |
| static DNode | find_viewer_node_in_context (const DTreeContext &tree_context) |
| static void | add_file_output_nodes (const DTreeContext &tree_context, Stack< DNode > &node_stack) |
| static void | add_output_nodes (const Context &context, const DerivedNodeTree &tree, Stack< DNode > &node_stack) |
| static NeededBuffers | compute_number_of_needed_buffers (Stack< DNode > &output_nodes) |
| static GPUType | gpu_type_from_socket (DSocket socket) |
| static void | populate_gpu_node_stack (DSocket socket, GPUNodeStack &stack) |
| static void | initialize_input_stack_value (const DInputSocket input, GPUNodeStack &stack) |
| static const char * | get_set_function_name (const ResultType type) |
| static const char * | get_store_function_name (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 ImplicitInput | get_implicit_input (const nodes::SocketDeclaration *socket_declaration) |
| static int | get_domain_priority (const bNodeSocket *input, const nodes::SocketDeclaration *socket_declaration) |
| 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 () |
| GPUNodeStack & | get_shader_node_input (const bNode &node, GPUNodeStack inputs[], StringRef identifier) |
| GPUNodeStack & | get_shader_node_output (const bNode &node, GPUNodeStack outputs[], StringRef identifier) |
| GPUNodeLink * | get_shader_node_input_link (const bNode &node, GPUNodeStack inputs[], StringRef identifier) |
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"} |
| static constexpr float | transformation_tolerance = 10e-6f |
| using blender::compositor::NeededBuffers = Map<DNode, int> |
Definition at line 130 of file scheduler.cc.
Definition at line 23 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::Schedule = VectorSet<DNode> |
Definition at line 18 of file COM_scheduler.hh.
Definition at line 25 of file utilities.cc.
|
strong |
| Enumerator | |
|---|---|
| Uniform | |
| Normalized | |
| Pixel | |
Definition at line 20 of file COM_image_coordinates.hh.
|
strong |
| Enumerator | |
|---|---|
| Distort | |
| Undistort | |
Definition at line 22 of file COM_distortion_grid.hh.
|
strong |
| Enumerator | |
|---|---|
| Clip | |
| Extend | |
| Repeat | |
Definition at line 27 of file COM_domain.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| TextureCoordinates | |
Definition at line 33 of file COM_input_descriptor.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Transforms | |
| OperationDomain | |
Definition at line 18 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 19 of file COM_algorithm_morphological_blur.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Composite | |
| Viewer | |
| FileOutput | |
| Previews | |
Definition at line 27 of file COM_context.hh.
|
strong |
| Enumerator | |
|---|---|
| Zero | |
| Extend | |
Definition at line 15 of file COM_algorithm_pad.hh.
|
strong |
| Enumerator | |
|---|---|
| Full | |
| Half | |
Definition at line 53 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| GPU | |
| CPU | |
Definition at line 59 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| Float | |
| Float2 | |
| Float3 | |
| Float4 | |
| Int | |
| Int2 | |
| Color | |
| Bool | |
| Menu | |
| String | |
Definition at line 37 of file COM_result.hh.
|
strong |
| Enumerator | |
|---|---|
| Identity | |
| Square | |
Definition at line 17 of file COM_algorithm_summed_area_table.hh.
|
static |
Definition at line 58 of file scheduler.cc.
References add_file_output_nodes(), blender::nodes::DTreeContext::btree(), blender::nodes::DTreeContext::child_context(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
Referenced by add_file_output_nodes(), and add_output_nodes().
|
static |
Definition at line 84 of file scheduler.cc.
References add_file_output_nodes(), blender::nodes::DTreeContext::btree(), Composite, FileOutput, find_viewer_node_in_context(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), NODE_DO_OUTPUT, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), tree, and Viewer.
Referenced by compute_schedule().
|
static |
Definition at line 78 of file morphological_blur.cc.
References apply_morphological_operator_cpu(), apply_morphological_operator_gpu(), and input.
Referenced by morphological_blur().
|
static |
Definition at line 53 of file morphological_blur.cc.
References Dilate, Erode, input, parallel_for(), and blender::compositor::Domain::size.
Referenced by apply_morphological_operator().
|
static |
Definition at line 33 of file morphological_blur.cc.
References blender::compositor::Result::bind_as_image(), compute_dispatch_threads_at_least(), get_shader(), GPU_shader_bind(), GPU_shader_unbind(), input, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_image().
Referenced by apply_morphological_operator().
|
static |
Definition at line 1633 of file smaa.cc.
References blend_neighborhood_cpu(), blend_neighborhood_gpu(), input, and output.
Referenced by smaa().
|
static |
Definition at line 1617 of file smaa.cc.
References input, output, parallel_for(), result, size(), SMAANeighborhoodBlendingPS(), and SMAANeighborhoodBlendingVS().
Referenced by blend_neighborhood().
|
static |
Definition at line 1592 of file smaa.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), get_blend_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_filter_mode(), input, output, and blender::compositor::Result::unbind_as_texture().
Referenced by blend_neighborhood().
|
static |
Definition at line 21 of file symmetric_separable_blur_variable_size.cc.
References i, input, blender::compositor::Result::load_pixel(), output, parallel_for(), blender::compositor::Result::sample_bilinear_extended(), and size().
|
static |
Definition at line 21 of file symmetric_separable_blur.cc.
References blender::compositor::Result::domain(), i, input, blender::compositor::Result::load_pixel(), output, parallel_for(), size(), and T.
|
static |
Definition at line 243 of file deriche_gaussian_blur.cc.
References blur_pass_cpu(), blur_pass_gpu(), Color, input, output, blender::compositor::Result::release(), and sum_causal_and_non_causal_results().
Referenced by deriche_gaussian_blur(), horizontal_pass_cpu(), horizontal_pass_cpu(), van_vliet_gaussian_blur(), vertical_pass_cpu(), and vertical_pass_cpu().
|
static |
Definition at line 341 of file van_vliet_gaussian_blur.cc.
References blur_pass_cpu(), blur_pass_gpu(), Color, input, output, blender::compositor::Result::release(), and sum_causal_and_non_causal_results().
|
static |
Definition at line 137 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::DericheGaussianCoefficients::causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::causal_feedforward_coefficients(), blender::compositor::DericheGaussianCoefficients::feedback_coefficients(), FILTER_ORDER, float, i, input, inputs, blender::compositor::DericheGaussianCoefficients::non_causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::non_causal_feedforward_coefficients(), outputs, parallel_for(), blender::compositor::Domain::size, blender::compositor::Result::store_pixel(), x, and y.
Referenced by blur_pass().
|
static |
Definition at line 183 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), 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, i, input, inputs, outputs, 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::Domain::size, blender::compositor::Result::store_pixel(), x, and y.
|
static |
Definition at line 93 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::compositor::DericheGaussianCoefficients::causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::causal_feedforward_coefficients(), compute_dispatch_threads_at_least(), blender::compositor::DericheGaussianCoefficients::feedback_coefficients(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_4fv(), input, blender::compositor::DericheGaussianCoefficients::non_causal_boundary_coefficient(), blender::compositor::DericheGaussianCoefficients::non_causal_feedforward_coefficients(), blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_image().
Referenced by blur_pass().
|
static |
Definition at line 111 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), compute_dispatch_threads_at_least(), 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(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_2fv(), input, 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::Domain::size, and blender::compositor::Result::unbind_as_image().
|
static |
Definition at line 158 of file bokeh_kernel.cc.
References angle(), blender::math::atan2(), closest_point_on_line(), distance(), get_regular_polygon_vertex_position(), blender::math::interpolate(), blender::math::length(), blender::math::mod_periodic(), and blender::math::numbers::pi_v.
Referenced by blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::compute_blur_kernel(), and spectral_bokeh().
|
static |
Definition at line 1566 of file smaa.cc.
References calculate_blending_weights_cpu(), and calculate_blending_weights_gpu().
Referenced by smaa().
|
static |
Definition at line 1532 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::SMAAPrecomputedTextures::area_texture, Color, blender::compositor::Result::domain(), parallel_for(), blender::compositor::SMAAPrecomputedTextures::search_texture, blender::compositor::Domain::size, size(), SMAABlendingWeightCalculationPS(), SMAABlendingWeightCalculationVS(), and blender::compositor::Result::store_pixel().
Referenced by calculate_blending_weights().
|
static |
Definition at line 1500 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(), Color, compute_dispatch_threads_at_least(), blender::compositor::Result::domain(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), GPU_texture_filter_mode(), blender::compositor::Domain::size, 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().
|
static |
Definition at line 133 of file bokeh_kernel.cc.
References blender::math::dot().
Referenced by bokeh().
|
inline |
Definition at line 135 of file COM_utilities_diagonals.hh.
References compute_diagonal_length(), and size().
Referenced by 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 blender::math::max(), blender::math::min(), and size().
Referenced by 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 blender::math::reduce_add().
|
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 blender::math::reduce_add().
Referenced by blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients(), and blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 186 of file van_vliet_gaussian_coefficients.cc.
References i.
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 316 of file van_vliet_gaussian_coefficients.cc.
References result.
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 170 of file summed_area_table.cc.
References blender::compositor::Result::bind_as_texture(), blender::math::divide_ceil(), Full, get_compute_complete_blocks_shader(), GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), input, output, and blender::compositor::Result::unbind_as_texture().
Referenced by 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(), blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), input, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by 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(), blender::math::divide_ceil(), blender::compositor::Result::domain(), Full, GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), input, blender::compositor::Result::unbind_as_image(), and blender::compositor::Result::unbind_as_texture().
Referenced by summed_area_table_gpu().
Definition at line 164 of file deriche_gaussian_coefficients.cc.
References compute_denominator_1(), compute_denominator_2(), compute_denominator_3(), and compute_denominator_4().
Referenced by blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 125 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
|
static |
Definition at line 134 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
|
static |
Definition at line 146 of file deriche_gaussian_coefficients.cc.
References b0, b1, blender::math::cos(), blender::math::exp(), w0, and w1.
Referenced by compute_denominator().
|
static |
Definition at line 158 of file deriche_gaussian_coefficients.cc.
References b0, b1, and blender::math::exp().
Referenced by compute_denominator().
|
inline |
Definition at line 69 of file COM_utilities_diagonals.hh.
References compute_number_of_diagonals(), blender::math::min(), and size().
Referenced by compute_anti_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 blender::math::max(), and size().
Referenced by 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) ) |
Dispatch the given compute shader in a 2D compute space such that the number of threads in both dimensions is as small as possible but at least covers the entirety of threads_range assuming the shader has a local group size given by local_size. That means that the number of threads might be a bit larger than threads_range, so shaders has to put that into consideration. A default local size of 16x16 is assumed, which is the optimal local size for many image processing shaders.
Definition at line 196 of file utilities.cc.
References blender::math::divide_ceil(), and GPU_compute_dispatch().
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(), 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_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth_gpu(), blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_scale_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_zcombine_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_vec_blur_cc::VectorBlurOperation::compute_motion_blur(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_pick_gpu(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane_gpu(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane_gpu(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane_mask_gpu(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane_mask_gpu(), compute_preview_gpu(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_structure_tensor_gpu(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_tweaked_matte_gpu(), detect_edges_gpu(), blender::nodes::node_composite_vec_blur_cc::VectorBlurOperation::dilate_max_velocity(), 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_zcombine_cc::ZCombineOperation::execute_anti_aliased_depth_gpu(), blender::nodes::node_composite_zcombine_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_bokehblur_cc::BokehBlurOperation::execute_constant_size_gpu(), blender::nodes::node_composite_group_output_cc::GroupOutputOperation::execute_copy_gpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_copy_gpu(), blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_threshold_gpu(), blender::nodes::node_composite_bilateralblur_cc::BilateralBlurOperation::execute_gpu(), blender::nodes::node_composite_boxmask_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_directionalblur_cc::DirectionalBlurOperation::execute_gpu(), blender::nodes::node_composite_displace_cc::DisplaceOperation::execute_gpu(), blender::nodes::node_composite_ellipsemask_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_moviedistortion_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_lensdist_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_group_input_cc::GroupInputOperation::execute_pass_gpu(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute_pass_gpu(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_photoreceptor_gpu(), blender::nodes::node_composite_lensdist_cc::LensDistortionOperation::execute_radial_distortion_gpu(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::execute_simple_depth_gpu(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_simple_gpu(), blender::nodes::node_composite_zcombine_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_cc::DilateErodeOperation::execute_step_horizontal_pass_gpu(), blender::nodes::node_composite_dilate_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_bokehblur_cc::BokehBlurOperation::execute_variable_size_gpu(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_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(), 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(), 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(), and zero_pad_gpu().
Definition at line 106 of file morphological_distance_feather_weights.cc.
References BLI_assert_unreachable, PROP_INVSQUARE, PROP_LIN, PROP_ROOT, PROP_SHARP, PROP_SMOOTH, PROP_SPHERE, and x.
|
static |
Definition at line 81 of file bokeh_kernel.cc.
References blender::math::numbers::pi.
Referenced by compute_rotation().
|
static |
Definition at line 199 of file van_vliet_gaussian_coefficients.cc.
References b1.
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 249 of file van_vliet_gaussian_coefficients.cc.
References blender::math::reduce_add().
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
|
static |
Definition at line 62 of file fog_glow_kernel.cc.
References blender::math::cube(), blender::math::AngleRadianBase< T >::degree(), blender::math::exp(), blender::math::length(), and blender::math::square().
|
static |
Definition at line 132 of file cached_image.cc.
References BKE_image_is_multilayer(), BKE_image_multilayer_index(), BKE_image_multiview_index(), get_pass_index(), get_view_index(), ImageUser::pass, and ImageUser::view.
Referenced by blender::compositor::CachedImage::CachedImage().
|
static |
Definition at line 53 of file summed_area_table.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), blender::math::divide_ceil(), Full, get_compute_incomplete_prologues_shader(), GPU_compute_dispatch(), GPU_shader_bind(), GPU_shader_unbind(), input, and blender::compositor::Result::unbind_as_image().
Referenced by summed_area_table_gpu().
Definition at line 169 of file cached_image.cc.
References ImBuf::byte_buffer, ImBuf::channels, ImBufByteBuffer::colorspace, ImBufFloatBuffer::data, ImBuf::dds_data, ImBuf::flags, ImBuf::float_buffer, ImBuf::ftype, IB_DO_NOT_TAKE_OWNERSHIP, IMB_allocImBuf(), IMB_assign_byte_buffer(), IMB_assign_dds_data(), IMB_assign_float_buffer(), IMB_colormanagement_space_is_data(), IMB_colormanagement_space_is_scene_linear(), IMB_float_from_byte(), IMB_FTYPE_DDS, ImBuf::planes, ImBuf::x, and ImBuf::y.
Referenced by blender::compositor::CachedImage::CachedImage().
|
static |
Definition at line 61 of file keying_screen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_movieclip_get_ibuf(), BKE_tracking_get_pattern_imbuf(), BKE_tracking_marker_get(), BLI_assert, ImBuf::byte_buffer, blender::math::clamp(), ImBufByteBuffer::data, ImBufFloatBuffer::data, MovieTrackingMarker::flag, ImBuf::float_buffer, MovieClipUser::framenr, i, IMB_freeImBuf(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), LISTBASE_FOREACH, MARKER_DISABLED, MovieTrackingMarker::pos, srgb_to_linearrgb_uchar4(), MovieTrackingObject::tracks, ImBuf::x, and ImBuf::y.
Referenced by blender::compositor::KeyingScreen::KeyingScreen().
|
static |
Definition at line 190 of file deriche_gaussian_coefficients.cc.
Referenced by blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 178 of file deriche_gaussian_coefficients.cc.
References blender::math::reduce_add().
Referenced by blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
inline |
Definition at line 31 of file COM_utilities_diagonals.hh.
References size().
Referenced by compute_diagonal_length(), 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 181 of file scheduler.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), get_output_linked_to_input(), input, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), is_output_linked_to_node_conditioned(), is_pixel_node(), is_socket_available(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), output, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
Referenced by compute_schedule().
Definition at line 114 of file deriche_gaussian_coefficients.cc.
References compute_numerator_0(), compute_numerator_1(), compute_numerator_2(), and compute_numerator_3().
Referenced by blender::compositor::DericheGaussianCoefficients::DericheGaussianCoefficients().
|
static |
Definition at line 69 of file deriche_gaussian_coefficients.cc.
Referenced by compute_numerator().
|
static |
Definition at line 75 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
|
static |
Definition at line 87 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
|
static |
Definition at line 102 of file deriche_gaussian_coefficients.cc.
References a0, a1, b0, b1, c0, c1, blender::math::cos(), blender::math::exp(), blender::math::sin(), w0, and w1.
Referenced by compute_numerator().
|
static |
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.
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
| void blender::compositor::compute_preview | ( | Context & | context, |
| const DNode & | node, | ||
| const Result & | input_result ) |
Definition at line 122 of file compute_preview.cc.
References compute_preview(), compute_preview_cpu(), compute_preview_gpu(), compute_preview_size(), blender::compositor::Result::domain(), blender::bke::node_preview_verify(), bNodeTree::runtime, and blender::compositor::Domain::size.
| void blender::compositor::compute_preview | ( | Context & | context, |
| const nodes::DNode & | node, | ||
| const Result & | input_result ) |
|
static |
Definition at line 29 of file compute_preview.cc.
References blender::compositor::Result::domain(), blender::bke::bNodePreview::ibuf, IMB_colormanagement_display_processor_new(), blender::threading::parallel_for(), blender::compositor::Domain::size, ImBuf::x, and ImBuf::y.
Referenced by compute_preview().
|
static |
Definition at line 58 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(), Float, GPU_BARRIER_TEXTURE_FETCH, GPU_DATA_FLOAT, GPU_memory_barrier(), GPU_shader_bind(), GPU_shader_unbind(), GPU_texture_read(), GPU_texture_swizzle_set(), blender::bke::bNodePreview::ibuf, IMB_colormanagement_display_processor_new(), blender::threading::parallel_for(), blender::compositor::Result::release(), blender::compositor::Result::type(), blender::compositor::Result::unbind_as_image(), blender::compositor::Result::unbind_as_texture(), ImBuf::x, and ImBuf::y.
Referenced by compute_preview(), and compute_preview_gpu().
Definition at line 113 of file compute_preview.cc.
References compute_preview_size(), and size().
Referenced by compute_preview(), and compute_preview_size().
Definition at line 86 of file bokeh_kernel.cc.
References angle(), compute_exterior_angle(), and blender::math::numbers::pi.
|
static |
Definition at line 65 of file van_vliet_gaussian_coefficients.cc.
Referenced by 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 blender::math::square().
Referenced by find_scale_factor().
| Schedule blender::compositor::compute_schedule | ( | const Context & | context, |
| const DerivedNodeTree & | tree ) |
Definition at line 315 of file scheduler.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), add_output_nodes(), compute_number_of_needed_buffers(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), get_output_linked_to_input(), i, input, blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), is_socket_available(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and tree.
Referenced by blender::compositor::Evaluator::evaluate().
|
static |
Definition at line 334 of file van_vliet_gaussian_coefficients.cc.
Referenced by blender::compositor::VanVlietGaussianCoefficients::VanVlietGaussianCoefficients().
Definition at line 21 of file recursive_gaussian_blur.cc.
References blender::math::max().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 167 of file van_vliet_gaussian_coefficients.cc.
References find_scale_factor(), and i.
Referenced by 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::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, BLI_SCOPED_DEFER, blender::compositor::Result::channels_count(), Color, blender::compositor::Result::domain(), blender::compositor::Result::download_to_cpu(), Float, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), input, blender::compositor::Result::load_pixel_zero(), blender::math::max(), blender::threading::memory_bandwidth_bound_task(), mod_i(), blender::fftw::optimal_size_for_real_transform(), output, parallel_for(), blender::threading::parallel_for(), blender::compositor::Result::release(), blender::compositor::Domain::size, sum(), and blender::compositor::Result::type().
Referenced by blender::nodes::node_composite_convolve_cc::ConvolveOperation::execute(), and blender::nodes::node_composite_glare_cc::GlareOperation::execute_kernel().
|
static |
Definition at line 162 of file evaluator.cc.
References blender::compositor::CompileState::get_pixel_compile_unit(), blender::compositor::CompileState::get_schedule(), and blender::compositor::CompileState::is_pixel_compile_unit_single_value().
| void blender::compositor::deriche_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | sigma ) |
Definition at line 260 of file deriche_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), Color, input, output, blender::math::reduce_max(), and blender::compositor::Result::release().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 1488 of file smaa.cc.
References detect_edges_cpu(), detect_edges_gpu(), and input.
Referenced by smaa().
|
static |
Definition at line 1459 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), Float2, get_luminance_coefficients(), input, parallel_for(), size(), SMAAEdgeDetectionVS(), SMAALumaEdgeDetectionPS(), and blender::compositor::Result::store_pixel().
Referenced by detect_edges().
|
static |
Definition at line 1429 of file smaa.cc.
References blender::compositor::Result::allocate_texture(), blender::compositor::Result::bind_as_image(), Color, compute_dispatch_threads_at_least(), get_luminance_coefficients(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_3fv(), GPU_texture_filter_mode(), input, and blender::compositor::Result::unbind_as_image().
Referenced by detect_edges().
|
inline |
Definition at line 53 of file COM_algorithm_jump_flooding.hh.
References JUMP_FLOODING_NON_FLOODED_VALUE.
Referenced by initialize_jump_flooding_value(), and jump_flooding_pass_cpu().
Definition at line 40 of file extract_alpha.cc.
References extract_alpha_cpu(), extract_alpha_gpu(), input, and output.
Referenced by blender::nodes::node_composite_image_cc::ImageOperation::compute_output().
Definition at line 32 of file extract_alpha.cc.
References input, output, and parallel_for().
Referenced by extract_alpha().
|
static |
Definition at line 15 of file extract_alpha.cc.
References compute_dispatch_threads_at_least(), GPU_shader_bind(), GPU_shader_unbind(), input, and output.
Referenced by extract_alpha().
| DOutputSocket blender::compositor::find_preview_output_socket | ( | const DNode & | node | ) |
Definition at line 226 of file utilities.cc.
References is_node_preview_needed(), is_socket_available(), and output.
Referenced by blender::compositor::CompileState::compute_pixel_node_operation_outputs_count().
|
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(), i, and blender::math::square().
Referenced by computed_scaled_poles().
|
static |
Definition at line 41 of file scheduler.cc.
References blender::nodes::DTreeContext::btree(), is_tree_context_muted(), and NODE_DO_OUTPUT.
Referenced by add_output_nodes().
|
inline |
Definition at line 175 of file COM_utilities_diagonals.hh.
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_anti_diagonal_pass_cpu().
|
static |
Definition at line 1577 of file smaa.cc.
References BLI_assert_unreachable, Color, and Float.
Referenced by blend_neighborhood_gpu().
|
static |
Definition at line 49 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, Color, and Float.
Referenced by horizontal_pass_gpu(), and vertical_pass_gpu().
|
static |
Definition at line 153 of file summed_area_table.cc.
References BLI_assert_unreachable, Identity, and Square.
Referenced by compute_complete_blocks().
|
static |
Definition at line 33 of file summed_area_table.cc.
References BLI_assert_unreachable, Identity, and Square.
Referenced by compute_incomplete_prologues().
|
inline |
Definition at line 112 of file COM_utilities_diagonals.hh.
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::execute_simple_star_diagonal_pass_cpu().
|
static |
Definition at line 158 of file utilities.cc.
References blender::nodes::SocketDeclaration::compositor_domain_priority(), and input.
Referenced by input_descriptor_from_input_socket().
|
static |
Definition at line 149 of file utilities.cc.
References blender::nodes::Implicit, blender::nodes::SocketDeclaration::input_field_type, None, and TextureCoordinates.
Referenced by input_descriptor_from_input_socket().
|
static |
Definition at line 16 of file implicit_input_operation.cc.
References BLI_assert_unreachable, Float2, None, and TextureCoordinates.
Referenced by blender::compositor::ImplicitInputOperation::ImplicitInputOperation().
| DSocket blender::compositor::get_input_origin_socket | ( | DInputSocket | input | ) |
Get the origin socket of the given node input. If the input is not linked, the socket itself is returned. If the input is linked, the socket that is linked to it is returned, which could either be an input or an output. An input socket is returned when the given input is connected to an unlinked input of a group input node.
Definition at line 32 of file utilities.cc.
References input.
Referenced by get_output_linked_to_input().
|
static |
Definition at line 1411 of file smaa.cc.
References BLI_assert_unreachable, Color, Float, and IMB_colormanagement_get_luminance_coefficients().
Referenced by detect_edges_cpu(), and detect_edges_gpu().
|
static |
Definition at line 58 of file cached_mask.cc.
References BKE_id_copy_ex(), BKE_id_free(), BKE_mask_evaluate(), BKE_maskrasterize_handle_init(), BKE_maskrasterize_handle_new(), handles, i, Mask::id, LIB_ID_COPY_LOCALIZE, LIB_ID_COPY_NO_ANIMDATA, mask(), and size().
Referenced by blender::compositor::CachedMask::CachedMask().
Definition at line 139 of file distortion_grid.cc.
References BKE_movieclip_get_size(), BKE_movieclip_user_set_frame(), DNA_struct_default_get, and size().
Referenced by blender::compositor::DistortionGridContainer::get().
|
static |
Definition at line 118 of file keying_screen.cc.
References BKE_movieclip_remap_scene_to_clip_frame(), BKE_movieclip_user_set_frame(), and DNA_struct_default_get.
Referenced by blender::compositor::KeyingScreen::KeyingScreen().
| ResultType blender::compositor::get_node_socket_result_type | ( | const bNodeSocket * | socket | ) |
Get the result type that corresponds to the type of the given socket.
Definition at line 102 of file utilities.cc.
References bNodeSocketValueVector::dimensions, SOCK_VECTOR, socket_data_type_to_result_type(), and bNodeSocket::type.
Referenced by gpu_type_from_socket(), initialize_input_stack_value(), input_descriptor_from_input_socket(), blender::compositor::InputSingleValueOperation::InputSingleValueOperation(), and blender::compositor::NodeOperation::NodeOperation().
| DOutputSocket blender::compositor::get_output_linked_to_input | ( | DInputSocket | input | ) |
Get the output socket linked to the given node input. If the input is not linked to an output, a null output is returned.
Definition at line 52 of file utilities.cc.
References get_input_origin_socket(), and input.
Referenced by compute_number_of_needed_buffers(), and compute_schedule().
|
static |
Definition at line 71 of file cached_image.cc.
References BLI_findstringindex(), get_render_layer(), name, offsetof, and RenderLayer::passes.
Referenced by compute_image_user_for_pass().
|
static |
Definition at line 20 of file sample_pixel.cc.
References Anisotropic, Bicubic, Bilinear, BLI_assert_unreachable, and Nearest.
Referenced by sample_pixel_gpu().
|
static |
Definition at line 123 of file bokeh_kernel.cc.
References angle(), blender::math::cos(), and blender::math::sin().
Referenced by bokeh().
|
static |
Definition at line 62 of file cached_image.cc.
References BLI_findlink(), ImageUser::layer, and RenderResult::layers.
Referenced by get_pass_index(), and get_result_type().
|
static |
Definition at line 80 of file cached_image.cc.
References BLI_findlink(), ImageUser::pass, and RenderLayer::passes.
Referenced by get_result_type().
Definition at line 170 of file conversion_operation.cc.
References Color, blender::CPPType::get(), and result.
|
static |
Definition at line 182 of file conversion_operation.cc.
References Color, blender::CPPType::get(), and result.
Definition at line 139 of file conversion_operation.cc.
References Color, blender::CPPType::get(), and result.
|
static |
Definition at line 149 of file conversion_operation.cc.
References Color, blender::CPPType::get(), and result.
|
static |
Definition at line 210 of file cached_image.cc.
References BLI_assert_unreachable, RenderPass::chan_id, ImBuf::channels, RenderPass::channels, Color, Float, Float2, Float3, Float4, blender::compositor::Result::float_type(), get_render_layer(), get_render_pass(), and STR_ELEM.
Referenced by blender::compositor::CachedImage::CachedImage().
|
static |
Definition at line 237 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
|
static |
Definition at line 20 of file morphological_blur.cc.
References BLI_assert_unreachable, Dilate, and Erode.
Referenced by apply_morphological_operator_gpu().
|
static |
Definition at line 62 of file image_coordinates.cc.
References BLI_assert_unreachable, Normalized, Pixel, and Uniform.
|
static |
Definition at line 20 of file morphological_distance.cc.
References distance().
Referenced by 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().
|
static |
| GPUNodeStack & blender::compositor::get_shader_node_input | ( | const bNode & | node, |
| GPUNodeStack | inputs[], | ||
| StringRef | identifier ) |
Definition at line 17 of file compositor/utilities/intern/gpu_material.cc.
References inputs.
Referenced by blender::compositor::ShaderNode::get_input(), get_shader_node_input_link(), and blender::nodes::node_composite_rgb_curves_cc::node_gpu_material().
| GPUNodeLink * blender::compositor::get_shader_node_input_link | ( | const bNode & | node, |
| GPUNodeStack | inputs[], | ||
| StringRef | identifier ) |
Definition at line 31 of file compositor/utilities/intern/gpu_material.cc.
References get_shader_node_input(), GPU_uniform(), input, and inputs.
Referenced by blender::nodes::node_composite_rgb_curves_cc::node_gpu_material().
| GPUNodeStack & blender::compositor::get_shader_node_output | ( | const bNode & | node, |
| GPUNodeStack | outputs[], | ||
| StringRef | identifier ) |
Definition at line 24 of file compositor/utilities/intern/gpu_material.cc.
References outputs.
Referenced by blender::compositor::ShaderNode::get_output().
|
static |
Definition at line 458 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
|
static |
Definition at line 93 of file cached_image.cc.
References BLI_findstringindex(), BLI_listbase_count_at_most(), name, offsetof, ImageUser::view, view, and RenderResult::views.
Referenced by compute_image_user_for_pass().
|
static |
Definition at line 563 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
|
static |
Definition at line 783 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
|
static |
Definition at line 745 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
|
static |
Definition at line 605 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, blender::compositor::Result::is_single_value_only_type(), Menu, and String.
Definition at line 44 of file shader_node.cc.
References BLI_assert, BLI_assert_unreachable, blender::nodes::DSocket::bsocket(), bNodeSocketValueVector::dimensions, get_node_socket_result_type(), GPU_FLOAT, GPU_NONE, GPU_VEC2, GPU_VEC3, GPU_VEC4, blender::compositor::Result::is_single_value_only_type(), SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_MENU, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, and bNodeSocket::type.
Referenced by populate_gpu_node_stack().
|
static |
Definition at line 140 of file symmetric_separable_blur.cc.
References horizontal_pass_cpu(), horizontal_pass_gpu(), and input.
|
static |
Definition at line 215 of file morphological_distance_feather.cc.
References distance(), horizontal_pass_cpu(), horizontal_pass_gpu(), and input.
Referenced by morphological_distance_feather(), symmetric_separable_blur(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 140 of file symmetric_separable_blur_variable_size.cc.
References horizontal_pass_cpu(), horizontal_pass_gpu(), and input.
|
static |
Definition at line 103 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, blur_pass(), Color, Float, input, output, and blender::compositor::Domain::size.
|
static |
Definition at line 182 of file morphological_distance_feather.cc.
References blender::math::abs(), distance(), Float, input, morphological_distance_feather_pass(), output, and blender::compositor::Domain::size.
Referenced by horizontal_pass(), horizontal_pass(), and horizontal_pass().
|
static |
Definition at line 112 of file symmetric_separable_blur_variable_size.cc.
References blur_pass(), input, output, and blender::compositor::Domain::size.
|
static |
Definition at line 64 of file symmetric_separable_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), input, output, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_texture().
|
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(), distance(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs_result, Float, get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), input, output, blender::compositor::Domain::size, blender::compositor::Result::unbind_as_texture(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights_result.
Referenced by horizontal_pass(), horizontal_pass(), and horizontal_pass().
|
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(), GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), input, output, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_texture().
|
static |
Definition at line 190 of file shader_operation.cc.
References BLI_assert, BLI_assert_unreachable, copy_v4_v4(), float, get_node_socket_result_type(), input, blender::compositor::Result::is_single_value_only_type(), SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_MENU, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, bNodeSocketValueRGBA::value, bNodeSocketValueVector::value, and GPUNodeStack::vec.
|
inline |
Definition at line 61 of file COM_algorithm_jump_flooding.hh.
References encode_jump_flooding_value().
Referenced by blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_boundary_cpu(), and blender::nodes::node_composite_inpaint_cc::InpaintOperation::compute_inpainting_boundary_cpu().
| InputDescriptor blender::compositor::input_descriptor_from_input_socket | ( | const bNodeSocket * | socket | ) |
Get the input descriptor of the given input socket.
Definition at line 169 of file utilities.cc.
References SocketDeclaration::compositor_realization_mode(), 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, NodeDeclaration::inputs, blender::compositor::InputDescriptor::realization_mode, SocketDeclaration::structure_type, and blender::compositor::InputDescriptor::type.
|
static |
Definition at line 567 of file result.cc.
References Float3, GPU_texture_format(), blender::compositor::Result::gpu_texture_format(), result, and texture().
Referenced by blender::compositor::Result::wrap_external().
|
static |
Definition at line 38 of file conversion_operation.cc.
References BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Int2, Menu, String, and blender::gpu::shader::to_type().
Referenced by blender::compositor::ConversionOperation::execute().
| bool blender::compositor::is_node_preview_needed | ( | const DNode & | node | ) |
Definition at line 206 of file utilities.cc.
References NODE_COLLAPSED, and NODE_PREVIEW.
Referenced by blender::compositor::NodeOperation::compute_preview(), and find_preview_output_socket().
| bool blender::compositor::is_output_linked_to_node_conditioned | ( | DOutputSocket | output, |
| FunctionRef< bool(DNode)> | condition ) |
Returns true if any of the nodes linked to the given output satisfies the given condition, and false otherwise.
Definition at line 113 of file utilities.cc.
References output.
Referenced by compute_number_of_needed_buffers(), and blender::compositor::CompileState::compute_pixel_node_operation_outputs_count().
| bool blender::compositor::is_pixel_node | ( | DNode | node | ) |
A node is a pixel node if it defines a method to get a pixel node operation.
Definition at line 143 of file utilities.cc.
References BLI_assert.
Referenced by compute_number_of_needed_buffers(), blender::compositor::Evaluator::evaluate(), and blender::compositor::CompileState::should_compile_pixel_compile_unit().
| bool blender::compositor::is_socket_available | ( | const bNodeSocket * | socket | ) |
Definition at line 27 of file utilities.cc.
References bNodeSocket::idname.
Referenced by compute_number_of_needed_buffers(), blender::compositor::CompileState::compute_pixel_node_operation_outputs_count(), blender::compositor::NodeOperation::compute_results_reference_counts(), compute_schedule(), blender::nodes::node_composite_group_input_cc::GroupInputOperation::execute(), blender::nodes::node_composite_image_cc::ImageOperation::execute(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute(), find_preview_output_socket(), and blender::nodes::node_composite_legacy_cryptomatte_cc::LegacyCryptoMatteOperation::get_layers().
|
static |
Definition at line 23 of file scheduler.cc.
References blender::nodes::DTreeContext::is_root(), is_tree_context_muted(), blender::nodes::DTreeContext::parent_context(), and blender::nodes::DTreeContext::parent_node().
Referenced by find_viewer_node_in_context(), and is_tree_context_muted().
Definition at line 110 of file jump_flooding.cc.
References blender::compositor::Result::allocate_texture(), BLI_assert, Half, input, Int2, jump_flooding(), jump_flooding_pass(), blender::math::max(), output, power_of_2_max_i(), and blender::compositor::Result::release().
Referenced by blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::execute(), blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute(), and jump_flooding().
|
static |
Definition at line 100 of file jump_flooding.cc.
References input, 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 encode_jump_flooding_value(), input, output, and parallel_for().
Referenced by jump_flooding_pass().
|
static |
Definition at line 24 of file jump_flooding.cc.
References compute_dispatch_threads_at_least(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), Half, input, and output.
Referenced by jump_flooding_pass().
| GPUSamplerExtendMode blender::compositor::map_extension_mode_to_extend_mode | ( | const ExtensionMode & | mode | ) |
Definition at line 70 of file domain.cc.
References BLI_assert_unreachable, Clip, Extend, GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_SAMPLER_EXTEND_MODE_REPEAT, and Repeat.
Referenced by blender::nodes::node_composite_cornerpin_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(), and sample_pixel_gpu().
| math::InterpWrapMode blender::compositor::map_extension_mode_to_wrap_mode | ( | const ExtensionMode & | mode | ) |
Definition at line 56 of file domain.cc.
References BLI_assert_unreachable, blender::math::Border, Clip, Extend, blender::math::Extend, Repeat, and blender::math::Repeat.
Referenced by blender::compositor::Result::sample().
Definition at line 577 of file parallel_reduction.cc.
References maximum_float(), maximum_float_cpu(), maximum_float_gpu(), and result.
Referenced by blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::compute_variable_size_search_radius(), and maximum_float().
Definition at line 611 of file parallel_reduction.cc.
References maximum_float2(), maximum_float2_cpu(), maximum_float2_gpu(), and result.
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::compute_maximum_blur_size(), and maximum_float2().
Definition at line 600 of file parallel_reduction.cc.
References b, blender::math::max(), maximum_float2_cpu(), parallel_reduce(), and result.
Referenced by maximum_float2(), and maximum_float2_cpu().
Definition at line 586 of file parallel_reduction.cc.
References Float2, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), maximum_float2_gpu(), MEM_freeN(), parallel_reduction_dispatch(), and result.
Referenced by maximum_float2(), and maximum_float2_gpu().
Definition at line 566 of file parallel_reduction.cc.
References b, float, maximum_float_cpu(), parallel_reduce(), and result.
Referenced by maximum_float(), and maximum_float_cpu().
Definition at line 552 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), maximum_float_gpu(), MEM_freeN(), parallel_reduction_dispatch(), and result.
Referenced by maximum_float(), and maximum_float_gpu().
| float blender::compositor::maximum_float_in_range | ( | Context & | context, |
| const Result & | result, | ||
| const float | lower_bound, | ||
| const float | upper_bound ) |
Definition at line 657 of file parallel_reduction.cc.
References maximum_float_in_range(), maximum_float_in_range_cpu(), maximum_float_in_range_gpu(), and result.
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), and maximum_float_in_range().
|
static |
Definition at line 641 of file parallel_reduction.cc.
References float, maximum_float_in_range_cpu(), parallel_reduce(), and result.
Referenced by maximum_float_in_range(), and maximum_float_in_range_cpu().
|
static |
Definition at line 620 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), maximum_float_in_range_gpu(), MEM_freeN(), parallel_reduction_dispatch(), and result.
Referenced by maximum_float_in_range(), and maximum_float_in_range_gpu().
| float blender::compositor::maximum_luminance | ( | Context & | context, |
| const Result & | result, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 541 of file parallel_reduction.cc.
References maximum_luminance(), maximum_luminance_cpu(), maximum_luminance_gpu(), and result.
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_log_maximum_luminance(), and maximum_luminance().
|
static |
Definition at line 528 of file parallel_reduction.cc.
References b, float, maximum_luminance_cpu(), parallel_reduce(), and result.
Referenced by maximum_luminance(), and maximum_luminance_cpu().
|
static |
Definition at line 510 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), maximum_luminance_gpu(), MEM_freeN(), parallel_reduction_dispatch(), and result.
Referenced by maximum_luminance(), and maximum_luminance_gpu().
Definition at line 740 of file parallel_reduction.cc.
References minimum_float(), minimum_float_cpu(), minimum_float_gpu(), and result.
Referenced by minimum_float().
Definition at line 729 of file parallel_reduction.cc.
References b, float, minimum_float_cpu(), parallel_reduce(), and result.
Referenced by minimum_float(), and minimum_float_cpu().
Definition at line 715 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), minimum_float_gpu(), parallel_reduction_dispatch(), and result.
Referenced by minimum_float(), and minimum_float_gpu().
| float blender::compositor::minimum_float_in_range | ( | Context & | context, |
| const Result & | result, | ||
| const float | lower_bound, | ||
| const float | upper_bound ) |
Definition at line 786 of file parallel_reduction.cc.
References minimum_float_in_range(), minimum_float_in_range_cpu(), minimum_float_in_range_gpu(), and result.
Referenced by blender::nodes::node_composite_normalize_cc::NormalizeOperation::execute(), and minimum_float_in_range().
|
static |
Definition at line 770 of file parallel_reduction.cc.
References minimum_float_in_range_cpu(), parallel_reduce(), and result.
Referenced by minimum_float_in_range(), and minimum_float_in_range_cpu().
|
static |
Definition at line 749 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), minimum_float_in_range_gpu(), parallel_reduction_dispatch(), and result.
Referenced by minimum_float_in_range(), and minimum_float_in_range_gpu().
| float blender::compositor::minimum_luminance | ( | Context & | context, |
| const Result & | result, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 704 of file parallel_reduction.cc.
References minimum_luminance(), minimum_luminance_cpu(), minimum_luminance_gpu(), and result.
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_log_minimum_luminance(), and minimum_luminance().
|
static |
Definition at line 691 of file parallel_reduction.cc.
References b, float, minimum_luminance_cpu(), parallel_reduce(), and result.
Referenced by minimum_luminance(), and minimum_luminance_cpu().
|
static |
Definition at line 673 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), minimum_luminance_gpu(), parallel_reduction_dispatch(), and result.
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 int | filter_type = R_FILTER_GAUSS ) |
Definition at line 91 of file morphological_blur.cc.
References apply_morphological_operator(), BLI_assert, Float, input, output, and symmetric_separable_blur().
Referenced by blender::nodes::node_composite_defocus_cc::DefocusOperation::compute_defocus_radius_from_depth().
| 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(), input, morphological_distance_cpu(), morphological_distance_gpu(), and output.
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_morphed_matte(), and blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance().
|
static |
Definition at line 52 of file morphological_distance.cc.
References b, input, blender::math::max(), blender::math::min(), output, parallel_for(), blender::math::square(), x, and y.
Referenced by morphological_distance().
| 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(), input, output, blender::compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_keying_cc::KeyingOperation::compute_feathered_matte(), and blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_feather().
|
static |
Definition at line 64 of file morphological_distance_feather.cc.
References blender::compositor::Result::domain(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs_result, i, input, blender::math::interpolate(), blender::compositor::Result::load_pixel(), output, parallel_for(), size(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights_result.
Referenced by horizontal_pass_cpu(), and vertical_pass_cpu().
|
static |
Definition at line 28 of file morphological_distance.cc.
References blender::math::abs(), compute_dispatch_threads_at_least(), distance(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1i(), input, and output.
Referenced by morphological_distance().
| int blender::compositor::number_of_inputs_linked_to_output_conditioned | ( | DOutputSocket | output, |
| FunctionRef< bool(DInputSocket)> | condition ) |
Returns the number of inputs linked to the given output that satisfy the given condition.
Definition at line 126 of file utilities.cc.
Referenced by blender::compositor::NodeOperation::compute_results_reference_counts(), and blender::compositor::PixelOperation::compute_results_reference_counts().
| bool blender::compositor::operator== | ( | const BokehKernelKey & | a, |
| const BokehKernelKey & | b ) |
Definition at line 44 of file bokeh_kernel.cc.
References b, blender::compositor::BokehKernelKey::catadioptric, blender::compositor::BokehKernelKey::lens_shift, blender::compositor::BokehKernelKey::rotation, blender::compositor::BokehKernelKey::roundness, blender::compositor::BokehKernelKey::sides, and blender::compositor::BokehKernelKey::size.
| bool blender::compositor::operator== | ( | const CachedImageKey & | a, |
| const CachedImageKey & | b ) |
Definition at line 50 of file cached_image.cc.
References b, ImageUser::framenr, blender::compositor::CachedImageKey::image_user, ImageUser::layer, blender::compositor::CachedImageKey::pass_name, and ImageUser::view.
| bool blender::compositor::operator== | ( | const CachedMaskKey & | a, |
| const CachedMaskKey & | b ) |
Definition at line 47 of file cached_mask.cc.
References blender::compositor::CachedMaskKey::aspect_ratio, b, blender::compositor::CachedMaskKey::motion_blur_samples, blender::compositor::CachedMaskKey::motion_blur_shutter, blender::compositor::CachedMaskKey::size, and blender::compositor::CachedMaskKey::use_feather.
| 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, 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, and blender::compositor::DericheGaussianCoefficientsKey::sigma.
| bool blender::compositor::operator== | ( | const DistortionGridKey & | a, |
| const DistortionGridKey & | b ) |
Definition at line 43 of file distortion_grid.cc.
References b, BKE_tracking_camera_distortion_equal(), blender::compositor::DistortionGridKey::calibration_size, blender::compositor::DistortionGridKey::camera, blender::compositor::DistortionGridKey::size, and blender::compositor::DistortionGridKey::type.
Definition at line 46 of file domain.cc.
References b, blender::compositor::Domain::size, 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, and blender::compositor::FogGlowKernelKey::spatial_size.
| bool blender::compositor::operator== | ( | const ImageCoordinatesKey & | a, |
| const ImageCoordinatesKey & | b ) |
Definition at line 35 of file image_coordinates.cc.
References b, blender::compositor::ImageCoordinatesKey::size, and blender::compositor::ImageCoordinatesKey::type.
| bool blender::compositor::operator== | ( | const KeyingScreenKey & | a, |
| const KeyingScreenKey & | b ) |
Definition at line 50 of file keying_screen.cc.
References b, blender::compositor::KeyingScreenKey::frame, and blender::compositor::KeyingScreenKey::smoothness.
| bool blender::compositor::operator== | ( | const MorphologicalDistanceFeatherWeightsKey & | a, |
| const MorphologicalDistanceFeatherWeightsKey & | b ) |
Definition at line 37 of file morphological_distance_feather_weights.cc.
References b, blender::compositor::MorphologicalDistanceFeatherWeightsKey::radius, and blender::compositor::MorphologicalDistanceFeatherWeightsKey::type.
| bool blender::compositor::operator== | ( | const OCIOColorSpaceConversionShaderKey & | a, |
| const OCIOColorSpaceConversionShaderKey & | b ) |
| bool blender::compositor::operator== | ( | const OCIOToDisplayShaderKey & | a, |
| const OCIOToDisplayShaderKey & | b ) |
Definition at line 627 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, and blender::compositor::OCIOToDisplayShaderKey::view_transform.
| bool blender::compositor::operator== | ( | const SymmetricBlurWeightsKey & | a, |
| const SymmetricBlurWeightsKey & | b ) |
Definition at line 35 of file symmetric_blur_weights.cc.
References b, blender::compositor::SymmetricBlurWeightsKey::radius, and blender::compositor::SymmetricBlurWeightsKey::type.
| bool blender::compositor::operator== | ( | const SymmetricSeparableBlurWeightsKey & | a, |
| const SymmetricSeparableBlurWeightsKey & | b ) |
Definition at line 34 of file symmetric_separable_blur_weights.cc.
References b, 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, 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 107 of file pad.cc.
References input, output, size(), zero_pad_cpu(), and zero_pad_gpu().
|
inline |
Definition at line 90 of file COM_utilities.hh.
References 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::compositor::CachedImage::CachedImage(), blender::compositor::CachedMask::CachedMask(), calculate_blending_weights_cpu(), blender::nodes::node_composite_movieclip_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_bokehblur_cc::BokehBlurOperation::compute_blur_kernel(), blender::nodes::node_composite_double_edge_mask_cc::DoubleEdgeMaskOperation::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_double_edge_mask_cc::DoubleEdgeMaskOperation::compute_gradient_cpu(), blender::nodes::node_composite_movieclip_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_zcombine_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_vec_blur_cc::compute_max_tile_velocity_cpu(), blender::nodes::node_composite_base_cryptomatte_cc::BaseCryptoMatteOperation::compute_pick_cpu(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane_cpu(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane_cpu(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::compute_plane_mask_cpu(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::compute_plane_mask_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_vec_blur_cc::dilate_max_velocity_cpu(), blender::compositor::DistortionGrid::DistortionGrid(), 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_zcombine_cc::ZCombineOperation::execute_anti_aliased_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_bloom(), blender::nodes::node_composite_group_output_cc::GroupOutputOperation::execute_clear(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_clear(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_constant_size_cpu(), blender::nodes::node_composite_bokehblur_cc::BokehBlurOperation::execute_constant_size_cpu(), blender::nodes::node_composite_group_output_cc::GroupOutputOperation::execute_copy_cpu(), blender::nodes::node_composite_viewer_cc::ViewerOperation::execute_copy_cpu(), blender::nodes::node_composite_bilateralblur_cc::BilateralBlurOperation::execute_cpu(), blender::nodes::node_composite_boxmask_cc::BoxMaskOperation::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_directionalblur_cc::DirectionalBlurOperation::execute_cpu(), blender::nodes::node_composite_ellipsemask_cc::EllipseMaskOperation::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_moviedistortion_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_dilate_cc::DilateErodeOperation::execute_distance_threshold_cpu(), blender::nodes::node_composite_glare_cc::GlareOperation::execute_highlights_cpu(), blender::nodes::node_composite_lensdist_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_group_input_cc::GroupInputOperation::execute_pass_cpu(), blender::nodes::node_composite_render_layer_cc::RenderLayerOperation::execute_pass_cpu(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_photoreceptor_cpu(), blender::nodes::node_composite_lensdist_cc::LensDistortionOperation::execute_radial_distortion_cpu(), blender::nodes::node_composite_tonemap_cc::ToneMapOperation::execute_simple_cpu(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::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_bokehblur_cc::BokehBlurOperation::execute_variable_size_cpu(), blender::nodes::node_composite_scale_cc::ScaleOperation::execute_variable_size_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(), blender::nodes::node_composite_file_output_cc::FileOutputOperation::float4_to_float3_image(), jump_flooding_pass_cpu(), morphological_distance_cpu(), morphological_distance_feather_pass(), blender::nodes::node_composite_keying_cc::KeyingOperation::replace_input_chroma_cpu(), sum_causal_and_non_causal_results_cpu(), sum_causal_and_non_causal_results_cpu(), 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 94 of file parallel_reduction.cc.
References blender::threading::parallel_reduce(), and result.
|
static |
Definition at line 38 of file parallel_reduction.cc.
References blender::gpu::TexturePool::acquire_texture(), blender::math::divide_ceil(), blender::gpu::TexturePool::get(), GPU_BARRIER_TEXTURE_FETCH, GPU_BARRIER_TEXTURE_UPDATE, GPU_compute_dispatch(), GPU_DATA_FLOAT, GPU_memory_barrier(), GPU_shader_get_sampler_binding(), GPU_shader_uniform_1b(), GPU_texture_bind(), GPU_texture_height(), GPU_texture_image_bind(), GPU_texture_image_unbind(), GPU_texture_read(), GPU_texture_unbind(), GPU_TEXTURE_USAGE_GENERAL, GPU_texture_width(), blender::gpu::TexturePool::release_texture(), and texture().
Referenced by maximum_float2_gpu(), maximum_float_gpu(), maximum_float_in_range_gpu(), maximum_luminance_gpu(), minimum_float_gpu(), minimum_float_in_range_gpu(), minimum_luminance_gpu(), sum_blue_gpu(), sum_blue_squared_difference_gpu(), sum_color_gpu(), sum_green_gpu(), sum_green_squared_difference_gpu(), sum_log_luminance_gpu(), sum_luminance_gpu(), sum_luminance_squared_difference_gpu(), sum_red_gpu(), and sum_red_squared_difference_gpu().
|
static |
Definition at line 84 of file shader_node.cc.
References GPUNodeStack::end, gpu_type_from_socket(), GPUNodeStack::hasinput, GPUNodeStack::hasoutput, GPUNodeStack::link, GPUNodeStack::sockettype, bNodeSocket::type, GPUNodeStack::type, GPUNodeStack::vec, and zero_v4().
| void blender::compositor::recursive_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | radius ) |
Definition at line 49 of file recursive_gaussian_blur.cc.
References compute_sigma_from_radius(), deriche_gaussian_blur(), input, output, blender::math::reduce_max(), symmetric_separable_blur(), and van_vliet_gaussian_blur().
Referenced by blender::nodes::node_composite_blur_cc::BlurOperation::execute_blur().
|
static |
Given a Result as the userdata argument, sample it at the given coordinates using extended boundary condition and write the result to the result argument.
Definition at line 903 of file COM_result.hh.
References copy_v4_v4(), input, result, x, and y.
Referenced by blender::compositor::Result::sample_ewa_extended().
|
static |
Given a Result as the userdata argument, sample it at the given coordinates using zero boundary condition and write the result to the result argument.
Definition at line 940 of file COM_result.hh.
References copy_v4_v4(), input, result, x, and y.
Referenced by blender::compositor::Result::sample_ewa_zero().
| float4 blender::compositor::sample_pixel | ( | Context & | context, |
| const Result & | input, | ||
| const Interpolation & | interpolation, | ||
| const ExtensionMode & | extension_mode_x, | ||
| const ExtensionMode & | extension_mode_y, | ||
| const float2 | coordinates ) |
Definition at line 92 of file sample_pixel.cc.
References BLI_assert_unreachable, Color, Float, Float2, Float3, Float4, input, sample_pixel_cpu(), and sample_pixel_gpu().
Referenced by blender::nodes::node_composite_map_uv_cc::MapUVOperation::execute_single().
|
static |
|
static |
Definition at line 34 of file sample_pixel.cc.
References Anisotropic, Bicubic, Bilinear, ELEM, get_pixel_sampler_shader_name(), GPU_BARRIER_TEXTURE_UPDATE, GPU_compute_dispatch(), GPU_DATA_FLOAT, GPU_memory_barrier(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_2fv(), GPU_texture_anisotropic_filter(), GPU_texture_extend_mode_x(), GPU_texture_extend_mode_y(), GPU_texture_filter_mode(), GPU_texture_mipmap_mode(), GPU_texture_read(), input, map_extension_mode_to_extend_mode(), MEM_freeN(), and output.
Referenced by sample_pixel().
| 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 1646 of file smaa.cc.
References blend_neighborhood(), calculate_blending_weights(), detect_edges(), input, output, and blender::compositor::Result::release().
Referenced by blender::nodes::node_composite_antialiasing_cc::AntiAliasingOperation::execute(), blender::nodes::node_composite_cornerpin_cc::CornerPinOperation::execute(), blender::nodes::node_composite_id_mask_cc::IDMaskOperation::execute(), blender::nodes::node_composite_zcombine_cc::ZCombineOperation::execute_anti_aliased(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::execute_cpu(), blender::nodes::node_composite_dilate_cc::DilateErodeOperation::execute_distance_threshold(), and blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::execute_gpu().
|
static |
Ok, we have the distance and both crossing edges. So, what are the areas at each side of current edge?
Definition at line 1123 of file smaa.cc.
References mad, blender::math::round(), SMAA_AREATEX_MAX_DISTANCE, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, and SMAASampleLevelZero.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Similar to SMAAArea, this calculates the area corresponding to a certain diagonal distance and crossing edges 'e'.
Definition at line 875 of file smaa.cc.
References e, mad, SMAA_AREATEX_MAX_DISTANCE_DIAG, SMAA_AREATEX_PIXEL_SIZE, SMAA_AREATEX_SELECT, SMAA_AREATEX_SUBTEX_SIZE, and SMAASampleLevelZero.
Referenced by SMAACalculateDiagWeights().
|
static |
Definition at line 1192 of file smaa.cc.
References blender::math::abs(), e, mad, blender::math::round(), size(), SMAA_BRANCH, SMAAArea(), SMAACalculateDiagWeights(), SMAADetectHorizontalCornerPattern(), SMAADetectVerticalCornerPattern(), SMAASampleLevelZero, SMAASampleLevelZeroOffset, SMAASamplePoint, SMAASearchXLeft(), SMAASearchXRight(), SMAASearchYDown(), SMAASearchYUp(), SMAATexturePass2D, blender::math::sqrt(), w(), x, blender::VecBase< T, Size >::xy(), xy, y, z(), and blender::VecBase< T, Size >::zw().
Referenced by calculate_blending_weights_cpu().
|
static |
Blend Weight Calculation Vertex Shader
Definition at line 692 of file smaa.cc.
References float, size(), SMAA_MAX_SEARCH_STEPS, w(), x, blender::VecBase< T, Size >::xy(), y, and z().
Referenced by calculate_blending_weights_cpu().
|
static |
This searches for diagonal patterns and returns the corresponding weights.
Definition at line 896 of file smaa.cc.
References e, float, mad, size(), SMAA_BRANCH, SMAAAreaDiag(), SMAADecodeDiagBilinearAccess(), SMAAMovc(), SMAASampleLevelZeroOffset, SMAASamplePointOffset, SMAASearchDiag1(), SMAASearchDiag2(), SMAATexturePass2D, blender::math::step(), x, blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
Allows to decode two binary values from a bilinear-filtered access.
Definition at line 799 of file smaa.cc.
References blender::math::abs(), e, and blender::math::round().
Referenced by SMAACalculateDiagWeights(), and SMAASearchDiag2().
Definition at line 819 of file smaa.cc.
References blender::math::abs(), e, and blender::math::round().
|
static |
Definition at line 1143 of file smaa.cc.
References saturate, size(), SMAASampleLevelZeroOffset, blender::math::step(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1166 of file smaa.cc.
References saturate, size(), SMAASampleLevelZeroOffset, blender::math::step(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Edge Detection Vertex Shader
Definition at line 679 of file smaa.cc.
References size(), and blender::VecBase< T, Size >::xy().
Referenced by detect_edges_cpu().
|
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 726 of file smaa.cc.
References blender::math::abs(), blender::math::dot(), L, blender::math::max(), SMAA_PREDICATION, SMAASamplePoint, SMAATexturePass2D, blender::math::step(), blender::VecBase< T, Size >::xy(), xy, and blender::VecBase< T, Size >::zw().
Referenced by detect_edges_cpu().
Conditional move:
Definition at line 660 of file smaa.cc.
References blender::math::interpolate().
Referenced by SMAACalculateDiagWeights(), and SMAANeighborhoodBlendingPS().
Definition at line 666 of file smaa.cc.
References blender::math::interpolate().
|
static |
Definition at line 1350 of file smaa.cc.
References blender::math::dot(), blender::math::length(), blender::math::max(), size(), SMAA_BRANCH, SMAA_DECODE_VELOCITY, SMAA_REPROJECTION, SMAAMovc(), SMAASample, SMAASampleLevelZero, blender::math::sqrt(), blender::VecBase< T, Size >::xy(), and blender::VecBase< T, Size >::zw().
Referenced by blend_neighborhood_cpu().
|
static |
Neighborhood Blending Vertex Shader
Definition at line 714 of file smaa.cc.
References size().
Referenced by blend_neighborhood_cpu().
|
static |
These functions allows to perform diagonal pattern searches.
Definition at line 829 of file smaa.cc.
References blender::math::dot(), e, mad, size(), SMAA_MAX_SEARCH_STEPS_DIAG, SMAASamplePoint, blender::VecBase< T, Size >::xy(), blender::VecBase< T, Size >::xyz(), and blender::VecBase< T, Size >::zw().
Referenced by SMAACalculateDiagWeights().
|
static |
Definition at line 845 of file smaa.cc.
References blender::math::dot(), e, mad, size(), SMAA_MAX_SEARCH_STEPS_DIAG, SMAADecodeDiagBilinearAccess(), SMAASampleLevelZero, blender::VecBase< T, Size >::xy(), blender::VecBase< T, Size >::xyz(), and blender::VecBase< T, Size >::zw().
Referenced by SMAACalculateDiagWeights().
|
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 1011 of file smaa.cc.
References e, mad, SMAA_SEARCHTEX_PACKED_SIZE, SMAA_SEARCHTEX_SELECT, SMAA_SEARCHTEX_SIZE, and SMAASampleLevelZero.
Referenced by 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 1034 of file smaa.cc.
References e, mad, size(), SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1070 of file smaa.cc.
References e, mad, size(), SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1102 of file smaa.cc.
References e, mad, size(), SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
|
static |
Definition at line 1085 of file smaa.cc.
References e, mad, size(), SMAASampleLevelZero, SMAASearchLength(), and SMAATexturePass2D.
Referenced by SMAABlendingWeightCalculationPS().
| ResultType blender::compositor::socket_data_type_to_result_type | ( | const eNodeSocketDatatype | data_type, |
| const std::optional< int > | dimensions = std::nullopt ) |
Get the result type that corresponds to the given socket data type. For vector sockets, the dimensions of the socket can be provided, but if not provided, 3 will be assumed.
Definition at line 68 of file utilities.cc.
References BLI_assert_unreachable, Bool, Color, Float, Float2, Float3, Float4, Int, Menu, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_MENU, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, and String.
Referenced by get_node_socket_result_type(), and blender::nodes::node_geo_menu_switch_cc::node_declare().
|
static |
Definition at line 219 of file bokeh_kernel.cc.
References blender::math::abs(), bokeh(), float, max, min, and size().
Definition at line 212 of file parallel_reduction.cc.
References result, sum_blue(), sum_blue_cpu(), and sum_blue_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum(), and sum_blue().
Definition at line 201 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_blue_cpu().
Referenced by sum_blue(), and sum_blue_cpu().
Definition at line 187 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_blue_gpu().
Referenced by sum_blue(), and sum_blue_gpu().
| float blender::compositor::sum_blue_squared_difference | ( | Context & | context, |
| const Result & | result, | ||
| const float | subtrahend ) |
Definition at line 448 of file parallel_reduction.cc.
References result, sum_blue_squared_difference(), sum_blue_squared_difference_cpu(), and sum_blue_squared_difference_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference(), and sum_blue_squared_difference().
|
static |
Definition at line 437 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_blue_squared_difference_cpu().
Referenced by sum_blue_squared_difference(), and sum_blue_squared_difference_cpu().
|
static |
Definition at line 418 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_blue_squared_difference_gpu().
Referenced by sum_blue_squared_difference(), and sum_blue_squared_difference_gpu().
|
static |
Definition at line 80 of file deriche_gaussian_blur.cc.
References output, sum_causal_and_non_causal_results_cpu(), and sum_causal_and_non_causal_results_gpu().
Referenced by blur_pass().
|
static |
Definition at line 87 of file van_vliet_gaussian_blur.cc.
References output, sum_causal_and_non_causal_results_cpu(), and sum_causal_and_non_causal_results_gpu().
|
static |
Definition at line 48 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::domain(), output, parallel_for(), blender::compositor::Domain::size, and blender::compositor::Domain::transposed().
Referenced by sum_causal_and_non_causal_results(), and sum_causal_and_non_causal_results().
|
static |
Definition at line 52 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::domain(), output, parallel_for(), blender::compositor::Domain::size, and blender::compositor::Domain::transposed().
|
static |
Definition at line 23 of file deriche_gaussian_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Result::domain(), GPU_shader_bind(), GPU_shader_unbind(), output, blender::compositor::Domain::size, blender::compositor::Domain::transposed(), and blender::compositor::Result::unbind_as_texture().
Referenced by sum_causal_and_non_causal_results(), and sum_causal_and_non_causal_results().
|
static |
Definition at line 21 of file van_vliet_gaussian_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Result::domain(), GPU_shader_bind(), GPU_shader_unbind(), output, blender::compositor::Domain::size, blender::compositor::Domain::transposed(), and blender::compositor::Result::unbind_as_texture().
Definition at line 327 of file parallel_reduction.cc.
References result, sum_color(), sum_color_cpu(), and sum_color_gpu().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_color(), and sum_color().
Definition at line 316 of file parallel_reduction.cc.
References b, parallel_reduce(), result, and sum_color_cpu().
Referenced by sum_color(), and sum_color_cpu().
Definition at line 302 of file parallel_reduction.cc.
References Color, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_color_gpu().
Referenced by sum_color(), and sum_color_gpu().
Definition at line 178 of file parallel_reduction.cc.
References result, sum_green(), sum_green_cpu(), and sum_green_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum(), and sum_green().
Definition at line 167 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_green_cpu().
Referenced by sum_green(), and sum_green_cpu().
Definition at line 153 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_green_gpu().
Referenced by sum_green(), and sum_green_gpu().
| float blender::compositor::sum_green_squared_difference | ( | Context & | context, |
| const Result & | result, | ||
| const float | subtrahend ) |
Definition at line 409 of file parallel_reduction.cc.
References result, sum_green_squared_difference(), sum_green_squared_difference_cpu(), and sum_green_squared_difference_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference(), and sum_green_squared_difference().
|
static |
Definition at line 398 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_green_squared_difference_cpu().
Referenced by sum_green_squared_difference(), and sum_green_squared_difference_cpu().
|
static |
Definition at line 379 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_green_squared_difference_gpu().
Referenced by sum_green_squared_difference(), and sum_green_squared_difference_gpu().
| float blender::compositor::sum_log_luminance | ( | Context & | context, |
| const Result & | result, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 291 of file parallel_reduction.cc.
References result, sum_log_luminance(), sum_log_luminance_cpu(), and sum_log_luminance_gpu().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_log_luminance(), and sum_log_luminance().
|
static |
Definition at line 278 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_log_luminance_cpu().
Referenced by sum_log_luminance(), and sum_log_luminance_cpu().
|
static |
Definition at line 260 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_log_luminance_gpu().
Referenced by sum_log_luminance(), and sum_log_luminance_gpu().
| float blender::compositor::sum_luminance | ( | Context & | context, |
| const Result & | result, | ||
| const float3 & | luminance_coefficients ) |
Definition at line 251 of file parallel_reduction.cc.
References result, sum_luminance(), sum_luminance_cpu(), and sum_luminance_gpu().
Referenced by blender::nodes::node_composite_tonemap_cc::ToneMapOperation::compute_average_luminance(), blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum(), and sum_luminance().
|
static |
Definition at line 239 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_luminance_cpu().
Referenced by sum_luminance(), and sum_luminance_cpu().
|
static |
Definition at line 221 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_luminance_gpu().
Referenced by sum_luminance(), and sum_luminance_gpu().
| float blender::compositor::sum_luminance_squared_difference | ( | Context & | context, |
| const Result & | result, | ||
| const float3 & | luminance_coefficients, | ||
| const float | subtrahend ) |
Definition at line 493 of file parallel_reduction.cc.
References result, sum_luminance_squared_difference(), sum_luminance_squared_difference_cpu(), and sum_luminance_squared_difference_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference(), and sum_luminance_squared_difference().
|
static |
Definition at line 478 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_luminance_squared_difference_cpu().
Referenced by sum_luminance_squared_difference(), and sum_luminance_squared_difference_cpu().
|
static |
Definition at line 457 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), GPU_shader_uniform_3fv(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_luminance_squared_difference_gpu().
Referenced by sum_luminance_squared_difference(), and sum_luminance_squared_difference_gpu().
Definition at line 144 of file parallel_reduction.cc.
References result, sum_red(), sum_red_cpu(), and sum_red_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum(), and sum_red().
Definition at line 133 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_red_cpu().
Referenced by sum_red(), and sum_red_cpu().
Definition at line 119 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_red_gpu().
Referenced by sum_red(), and sum_red_gpu().
| float blender::compositor::sum_red_squared_difference | ( | Context & | context, |
| const Result & | result, | ||
| const float | subtrahend ) |
Definition at line 370 of file parallel_reduction.cc.
References result, sum_red_squared_difference(), sum_red_squared_difference_cpu(), and sum_red_squared_difference_gpu().
Referenced by blender::nodes::node_composite_levels_cc::LevelsOperation::compute_sum_squared_difference(), and sum_red_squared_difference().
|
static |
Definition at line 359 of file parallel_reduction.cc.
References b, float, parallel_reduce(), result, and sum_red_squared_difference_cpu().
Referenced by sum_red_squared_difference(), and sum_red_squared_difference_cpu().
|
static |
Definition at line 340 of file parallel_reduction.cc.
References Float, Full, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1f(), blender::compositor::Result::gpu_texture_format(), MEM_freeN(), parallel_reduction_dispatch(), result, sum(), and sum_red_squared_difference_gpu().
Referenced by sum_red_squared_difference(), and sum_red_squared_difference_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 input, 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 input, output, blender::threading::parallel_for(), and size().
Referenced by summed_area_table().
|
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, input, output, and blender::compositor::Result::release().
Referenced by summed_area_table().
|
inline |
Definition at line 65 of file COM_algorithm_summed_area_table.hh.
References blender::compositor::Result::domain(), blender::compositor::Result::load_pixel_zero(), blender::math::min(), and blender::compositor::Domain::size.
Referenced by blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::compute_classic().
| void blender::compositor::symmetric_separable_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | radius, | ||
| const int | filter_type = R_FILTER_GAUSS ) |
Definition at line 223 of file symmetric_separable_blur.cc.
References horizontal_pass(), input, output, blender::compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_glare_cc::GlareOperation::compute_base_ghost(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_blurred_input(), blender::nodes::node_composite_keying_cc::KeyingOperation::compute_blurred_matte(), blender::nodes::node_composite_bilateralblur_cc::BilateralBlurOperation::execute(), blender::nodes::node_composite_kuwahara_cc::ConvertKuwaharaOperation::execute_anisotropic(), blender::nodes::node_composite_blur_cc::BlurOperation::execute_blur(), morphological_blur(), and recursive_gaussian_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 int | filter_type = R_FILTER_GAUSS ) |
Definition at line 235 of file symmetric_separable_blur_variable_size.cc.
References BLI_assert, Color, horizontal_pass(), input, output, blender::compositor::Result::release(), and vertical_pass().
Referenced by blender::nodes::node_composite_inpaint_cc::InpaintOperation::execute().
| void blender::compositor::van_vliet_gaussian_blur | ( | Context & | context, |
| const Result & | input, | ||
| Result & | output, | ||
| const float2 & | sigma ) |
Definition at line 379 of file van_vliet_gaussian_blur.cc.
References BLI_assert_msg, blur_pass(), Color, input, output, blender::math::reduce_max(), and blender::compositor::Result::release().
Referenced by recursive_gaussian_blur().
|
static |
Definition at line 207 of file symmetric_separable_blur_variable_size.cc.
References output, vertical_pass_cpu(), and vertical_pass_gpu().
|
static |
Definition at line 206 of file symmetric_separable_blur.cc.
References output, vertical_pass_cpu(), and vertical_pass_gpu().
|
static |
Definition at line 281 of file morphological_distance_feather.cc.
References distance(), output, vertical_pass_cpu(), and vertical_pass_gpu().
Referenced by morphological_distance_feather(), symmetric_separable_blur(), and symmetric_separable_blur_variable_size().
|
static |
Definition at line 190 of file symmetric_separable_blur_variable_size.cc.
References blur_pass(), blender::compositor::Result::domain(), and output.
|
static |
Definition at line 181 of file symmetric_separable_blur.cc.
References BLI_assert_unreachable, blur_pass(), Color, blender::compositor::Result::domain(), Float, output, and blender::compositor::Result::type().
|
static |
Definition at line 259 of file morphological_distance_feather.cc.
References blender::math::abs(), distance(), blender::compositor::Result::domain(), morphological_distance_feather_pass(), and output.
Referenced by vertical_pass(), vertical_pass(), and vertical_pass().
|
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::Result::domain(), GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_1b(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), output, blender::compositor::Domain::size, and blender::compositor::Result::unbind_as_texture().
|
static |
Definition at line 151 of file symmetric_separable_blur.cc.
References blender::compositor::Result::bind_as_texture(), compute_dispatch_threads_at_least(), blender::compositor::Result::domain(), get_blur_shader(), GPU_shader_bind(), GPU_shader_unbind(), output, blender::compositor::Domain::size, blender::compositor::Result::type(), and blender::compositor::Result::unbind_as_texture().
|
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(), distance(), blender::compositor::Result::domain(), blender::compositor::MorphologicalDistanceFeatherWeights::falloffs_result, get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), output, blender::compositor::Domain::size, blender::compositor::Result::unbind_as_texture(), and blender::compositor::MorphologicalDistanceFeatherWeights::weights_result.
Referenced by vertical_pass(), vertical_pass(), and vertical_pass().
|
static |
Definition at line 67 of file pad.cc.
References BLI_assert_unreachable, Color, Extend, Float, Float2, input, output, parallel_for(), blender::compositor::Domain::size, size(), and Zero.
Referenced by pad().
|
static |
Definition at line 42 of file pad.cc.
References compute_dispatch_threads_at_least(), get_shader_name(), GPU_shader_bind(), GPU_shader_unbind(), GPU_shader_uniform_2iv(), input, output, blender::compositor::Domain::size, and size().
Referenced by pad().
|
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 37 of file ocio_color_space_conversion_shader.cc.
Referenced by blender::compositor::OCIOColorSpaceConversionShader::OCIOColorSpaceConversionShader(), and blender::compositor::OCIOToDisplayShader::OCIOToDisplayShader().
|
staticconstexpr |
Definition at line 211 of file realize_on_domain_operation.cc.
Referenced by blender::compositor::RealizeOnDomainOperation::compute_realized_transformation_domain(), and blender::compositor::RealizeOnDomainOperation::construct_if_needed().
|
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().