Blender
V5.0
source
blender
compositor
algorithms
COM_algorithm_symmetric_separable_blur.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
BLI_math_vector_types.hh
"
8
9
#include "
DNA_scene_types.h
"
10
11
#include "
COM_context.hh
"
12
#include "
COM_result.hh
"
13
14
namespace
blender::compositor
{
15
16
/* Blur the input using a horizontal and a vertical separable blur passes given a certain radius
17
* and filter type using SymmetricSeparableBlurWeights. The result is written to the given output,
18
* which will be allocated internally and is thus expected not to be previously allocated. */
19
void
symmetric_separable_blur
(
Context
&context,
20
const
Result
&
input
,
21
Result
&
output
,
22
const
float2
&radius,
23
const
int
filter_type =
R_FILTER_GAUSS
);
24
25
}
// namespace blender::compositor
BLI_math_vector_types.hh
COM_context.hh
COM_result.hh
DNA_scene_types.h
R_FILTER_GAUSS
@ R_FILTER_GAUSS
Definition
DNA_scene_types.h:2320
blender::compositor::Context
Definition
COM_context.hh:44
blender::compositor::Result
Definition
COM_result.hh:100
input
#define input
Definition
gpu_shader_compat_cxx.hh:170
output
#define output
Definition
gpu_shader_compat_cxx.hh:171
blender::compositor
Definition
BKE_node.hh:77
blender::compositor::symmetric_separable_blur
void symmetric_separable_blur(Context &context, const Result &input, Result &output, const float2 &radius, const int filter_type=R_FILTER_GAUSS)
Definition
symmetric_separable_blur.cc:223
blender::float2
VecBase< float, 2 > float2
Definition
BLI_math_vector_types.hh:618
Generated on
for Blender by
doxygen
1.16.1