Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5ed6b735
Commit
5ed6b735
authored
Nov 19, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_blend: cosmetics: reindent
parent
c8f269f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
38 deletions
+38
-38
vf_blend.c
libavfilter/vf_blend.c
+38
-38
No files found.
libavfilter/vf_blend.c
View file @
5ed6b735
...
@@ -601,44 +601,44 @@ static av_cold void uninit(AVFilterContext *ctx)
...
@@ -601,44 +601,44 @@ static av_cold void uninit(AVFilterContext *ctx)
av_expr_free
(
s
->
params
[
i
].
e
);
av_expr_free
(
s
->
params
[
i
].
e
);
}
}
#define DEFINE_INIT_BLEND_FUNC(depth, nbits)
\
#define DEFINE_INIT_BLEND_FUNC(depth, nbits) \
static av_cold void init_blend_func_##depth##_##nbits##bit(FilterParams *param)
\
static av_cold void init_blend_func_##depth##_##nbits##bit(FilterParams *param) \
{
\
{ \
switch (param->mode) {
\
switch (param->mode) { \
case BLEND_ADDITION: param->blend = blend_addition_##depth##bit; break;
\
case BLEND_ADDITION: param->blend = blend_addition_##depth##bit; break;
\
case BLEND_GRAINMERGE: param->blend = blend_grainmerge_##depth##bit; break;
\
case BLEND_GRAINMERGE: param->blend = blend_grainmerge_##depth##bit; break;
\
case BLEND_AND: param->blend = blend_and_##depth##bit; break;
\
case BLEND_AND: param->blend = blend_and_##depth##bit; break;
\
case BLEND_AVERAGE: param->blend = blend_average_##depth##bit; break;
\
case BLEND_AVERAGE: param->blend = blend_average_##depth##bit; break;
\
case BLEND_BURN: param->blend = blend_burn_##depth##bit; break;
\
case BLEND_BURN: param->blend = blend_burn_##depth##bit; break;
\
case BLEND_DARKEN: param->blend = blend_darken_##depth##bit; break;
\
case BLEND_DARKEN: param->blend = blend_darken_##depth##bit; break;
\
case BLEND_DIFFERENCE: param->blend = blend_difference_##depth##bit; break;
\
case BLEND_DIFFERENCE: param->blend = blend_difference_##depth##bit; break;
\
case BLEND_GRAINEXTRACT: param->blend = blend_grainextract_##depth##bit; break; \
case BLEND_GRAINEXTRACT: param->blend = blend_grainextract_##depth##bit; break; \
case BLEND_DIVIDE: param->blend = blend_divide_##depth##bit; break;
\
case BLEND_DIVIDE: param->blend = blend_divide_##depth##bit; break;
\
case BLEND_DODGE: param->blend = blend_dodge_##depth##bit; break;
\
case BLEND_DODGE: param->blend = blend_dodge_##depth##bit; break;
\
case BLEND_EXCLUSION: param->blend = blend_exclusion_##depth##bit; break;
\
case BLEND_EXCLUSION: param->blend = blend_exclusion_##depth##bit; break;
\
case BLEND_EXTREMITY: param->blend = blend_extremity_##depth##bit; break;
\
case BLEND_EXTREMITY: param->blend = blend_extremity_##depth##bit; break;
\
case BLEND_FREEZE: param->blend = blend_freeze_##depth##bit; break;
\
case BLEND_FREEZE: param->blend = blend_freeze_##depth##bit; break;
\
case BLEND_GLOW: param->blend = blend_glow_##depth##bit; break;
\
case BLEND_GLOW: param->blend = blend_glow_##depth##bit; break;
\
case BLEND_HARDLIGHT: param->blend = blend_hardlight_##depth##bit; break;
\
case BLEND_HARDLIGHT: param->blend = blend_hardlight_##depth##bit; break;
\
case BLEND_HARDMIX: param->blend = blend_hardmix_##depth##bit; break;
\
case BLEND_HARDMIX: param->blend = blend_hardmix_##depth##bit; break;
\
case BLEND_HEAT: param->blend = blend_heat_##depth##bit; break;
\
case BLEND_HEAT: param->blend = blend_heat_##depth##bit; break;
\
case BLEND_LIGHTEN: param->blend = blend_lighten_##depth##bit; break;
\
case BLEND_LIGHTEN: param->blend = blend_lighten_##depth##bit; break;
\
case BLEND_LINEARLIGHT:param->blend = blend_linearlight_##depth##bit;break;
\
case BLEND_LINEARLIGHT: param->blend = blend_linearlight_##depth##bit; break;
\
case BLEND_MULTIPLY: param->blend = blend_multiply_##depth##bit; break;
\
case BLEND_MULTIPLY: param->blend = blend_multiply_##depth##bit; break;
\
case BLEND_MULTIPLY128:param->blend = blend_multiply128_##depth##bit;break;
\
case BLEND_MULTIPLY128: param->blend = blend_multiply128_##depth##bit; break;
\
case BLEND_NEGATION: param->blend = blend_negation_##depth##bit; break;
\
case BLEND_NEGATION: param->blend = blend_negation_##depth##bit; break;
\
case BLEND_NORMAL: param->blend = blend_normal_##nbits##bit; break;
\
case BLEND_NORMAL: param->blend = blend_normal_##nbits##bit; break;
\
case BLEND_OR: param->blend = blend_or_##depth##bit; break;
\
case BLEND_OR: param->blend = blend_or_##depth##bit; break;
\
case BLEND_OVERLAY: param->blend = blend_overlay_##depth##bit; break;
\
case BLEND_OVERLAY: param->blend = blend_overlay_##depth##bit; break;
\
case BLEND_PHOENIX: param->blend = blend_phoenix_##depth##bit; break;
\
case BLEND_PHOENIX: param->blend = blend_phoenix_##depth##bit; break;
\
case BLEND_PINLIGHT: param->blend = blend_pinlight_##depth##bit; break;
\
case BLEND_PINLIGHT: param->blend = blend_pinlight_##depth##bit; break;
\
case BLEND_REFLECT: param->blend = blend_reflect_##depth##bit; break;
\
case BLEND_REFLECT: param->blend = blend_reflect_##depth##bit; break;
\
case BLEND_SCREEN: param->blend = blend_screen_##depth##bit; break;
\
case BLEND_SCREEN: param->blend = blend_screen_##depth##bit; break;
\
case BLEND_SOFTLIGHT: param->blend = blend_softlight_##depth##bit; break;
\
case BLEND_SOFTLIGHT: param->blend = blend_softlight_##depth##bit; break;
\
case BLEND_SUBTRACT: param->blend = blend_subtract_##depth##bit; break;
\
case BLEND_SUBTRACT: param->blend = blend_subtract_##depth##bit; break;
\
case BLEND_VIVIDLIGHT: param->blend = blend_vividlight_##depth##bit; break;
\
case BLEND_VIVIDLIGHT: param->blend = blend_vividlight_##depth##bit; break;
\
case BLEND_XOR: param->blend = blend_xor_##depth##bit; break;
\
case BLEND_XOR: param->blend = blend_xor_##depth##bit; break;
\
}
\
} \
}
}
DEFINE_INIT_BLEND_FUNC
(
8
,
8
)
DEFINE_INIT_BLEND_FUNC
(
8
,
8
)
DEFINE_INIT_BLEND_FUNC
(
9
,
16
)
DEFINE_INIT_BLEND_FUNC
(
9
,
16
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment