Go to the source code of this file.
◆ CGS
◆ GBLUR_MAX_KERNEL_SIZE
#define GBLUR_MAX_KERNEL_SIZE 127 |
◆ OFFSET
◆ FLAGS
◆ gaussian()
static float gaussian |
( |
float |
sigma, |
|
|
float |
x |
|
) |
| |
|
inlinestatic |
◆ gaussian_simpson_integration()
static float gaussian_simpson_integration |
( |
float |
sigma, |
|
|
float |
a, |
|
|
float |
b |
|
) |
| |
|
inlinestatic |
◆ init_gaussian_kernel()
static void init_gaussian_kernel |
( |
float * |
kernel, |
|
|
float |
sigma, |
|
|
float |
kernel_size |
|
) |
| |
|
static |
◆ init_gaussian_params()
◆ init_filter()
◆ gblur_vulkan_uninit()
◆ process_frames()
◆ gblur_vulkan_filter_frame()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
gblur_vulkan |
| ) |
|
◆ gblur_horizontal
const char gblur_horizontal[] |
|
static |
Initial value:= {
C(0,
void gblur(
const ivec2
pos,
const int index) )
C(1, vec4 sum = texture(input_image[
index],
pos) * kernel[0]; )
C(1,
for(
int i = 1;
i < kernel.length();
i++) { )
C(2, sum += texture(input_image[
index],
pos + vec2(
i, 0.0)) * kernel[
i]; )
C(2, sum += texture(input_image[
index],
pos - vec2(
i, 0.0)) * kernel[
i]; )
C(1, imageStore(output_image[
index],
pos, sum); )
}
Definition at line 52 of file vf_gblur_vulkan.c.
Referenced by init_filter().
◆ gblur_vertical
const char gblur_vertical[] |
|
static |
Initial value:= {
C(0,
void gblur(
const ivec2
pos,
const int index) )
C(1, vec4 sum = texture(input_image[
index],
pos) * kernel[0]; )
C(1,
for(
int i = 1;
i < kernel.length();
i++) { )
C(2, sum += texture(input_image[
index],
pos + vec2(0.0,
i)) * kernel[
i]; )
C(2, sum += texture(input_image[
index],
pos - vec2(0.0,
i)) * kernel[
i]; )
C(1, imageStore(output_image[
index],
pos, sum); )
}
Definition at line 66 of file vf_gblur_vulkan.c.
Referenced by init_filter().
◆ gblur_vulkan_options
◆ gblur_vulkan_inputs
◆ gblur_vulkan_outputs
◆ ff_vf_gblur_vulkan
Initial value:= {
.name = "gblur_vulkan",
.priv_class = &gblur_vulkan_class,
}
Definition at line 511 of file vf_gblur_vulkan.c.