Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
e26c4d25
Commit
e26c4d25
authored
Sep 28, 2021
by
Wu Jianhua
Committed by
Paul B Mahol
Oct 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/x86/vf_blend: unify indentation format
Signed-off-by:
Wu Jianhua
<
jianhua.wu@intel.com
>
parent
db7bd99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
vf_blend_init.c
libavfilter/x86/vf_blend_init.c
+20
-20
No files found.
libavfilter/x86/vf_blend_init.c
View file @
e26c4d25
...
@@ -170,32 +170,32 @@ av_cold void ff_blend_init_x86(FilterParams *param, int depth)
...
@@ -170,32 +170,32 @@ av_cold void ff_blend_init_x86(FilterParams *param, int depth)
}
}
if
(
EXTERNAL_SSE4
(
cpu_flags
)
&&
param
->
opacity
==
1
)
{
if
(
EXTERNAL_SSE4
(
cpu_flags
)
&&
param
->
opacity
==
1
)
{
switch
(
param
->
mode
)
{
switch
(
param
->
mode
)
{
case
BLEND_GRAINMERGE
:
param
->
blend
=
ff_blend_grainmerge_16_sse4
;
break
;
case
BLEND_GRAINMERGE
:
param
->
blend
=
ff_blend_grainmerge_16_sse4
;
break
;
case
BLEND_DARKEN
:
param
->
blend
=
ff_blend_darken_16_sse4
;
break
;
case
BLEND_DARKEN
:
param
->
blend
=
ff_blend_darken_16_sse4
;
break
;
case
BLEND_GRAINEXTRACT
:
param
->
blend
=
ff_blend_grainextract_16_sse4
;
break
;
case
BLEND_GRAINEXTRACT
:
param
->
blend
=
ff_blend_grainextract_16_sse4
;
break
;
case
BLEND_DIFFERENCE
:
param
->
blend
=
ff_blend_difference_16_sse4
;
break
;
case
BLEND_DIFFERENCE
:
param
->
blend
=
ff_blend_difference_16_sse4
;
break
;
case
BLEND_EXTREMITY
:
param
->
blend
=
ff_blend_extremity_16_sse4
;
break
;
case
BLEND_EXTREMITY
:
param
->
blend
=
ff_blend_extremity_16_sse4
;
break
;
case
BLEND_NEGATION
:
param
->
blend
=
ff_blend_negation_16_sse4
;
break
;
case
BLEND_NEGATION
:
param
->
blend
=
ff_blend_negation_16_sse4
;
break
;
case
BLEND_LIGHTEN
:
param
->
blend
=
ff_blend_lighten_16_sse4
;
break
;
case
BLEND_LIGHTEN
:
param
->
blend
=
ff_blend_lighten_16_sse4
;
break
;
case
BLEND_PHOENIX
:
param
->
blend
=
ff_blend_phoenix_16_sse4
;
break
;
case
BLEND_PHOENIX
:
param
->
blend
=
ff_blend_phoenix_16_sse4
;
break
;
}
}
}
}
if
(
EXTERNAL_AVX2_FAST
(
cpu_flags
)
&&
param
->
opacity
==
1
)
{
if
(
EXTERNAL_AVX2_FAST
(
cpu_flags
)
&&
param
->
opacity
==
1
)
{
switch
(
param
->
mode
)
{
switch
(
param
->
mode
)
{
case
BLEND_ADDITION
:
param
->
blend
=
ff_blend_addition_16_avx2
;
break
;
case
BLEND_ADDITION
:
param
->
blend
=
ff_blend_addition_16_avx2
;
break
;
case
BLEND_GRAINMERGE
:
param
->
blend
=
ff_blend_grainmerge_16_avx2
;
break
;
case
BLEND_GRAINMERGE
:
param
->
blend
=
ff_blend_grainmerge_16_avx2
;
break
;
case
BLEND_AND
:
param
->
blend
=
ff_blend_and_16_avx2
;
break
;
case
BLEND_AND
:
param
->
blend
=
ff_blend_and_16_avx2
;
break
;
case
BLEND_AVERAGE
:
param
->
blend
=
ff_blend_average_16_avx2
;
break
;
case
BLEND_AVERAGE
:
param
->
blend
=
ff_blend_average_16_avx2
;
break
;
case
BLEND_DARKEN
:
param
->
blend
=
ff_blend_darken_16_avx2
;
break
;
case
BLEND_DARKEN
:
param
->
blend
=
ff_blend_darken_16_avx2
;
break
;
case
BLEND_GRAINEXTRACT
:
param
->
blend
=
ff_blend_grainextract_16_avx2
;
break
;
case
BLEND_GRAINEXTRACT
:
param
->
blend
=
ff_blend_grainextract_16_avx2
;
break
;
case
BLEND_DIFFERENCE
:
param
->
blend
=
ff_blend_difference_16_avx2
;
break
;
case
BLEND_DIFFERENCE
:
param
->
blend
=
ff_blend_difference_16_avx2
;
break
;
case
BLEND_EXTREMITY
:
param
->
blend
=
ff_blend_extremity_16_avx2
;
break
;
case
BLEND_EXTREMITY
:
param
->
blend
=
ff_blend_extremity_16_avx2
;
break
;
case
BLEND_NEGATION
:
param
->
blend
=
ff_blend_negation_16_avx2
;
break
;
case
BLEND_NEGATION
:
param
->
blend
=
ff_blend_negation_16_avx2
;
break
;
case
BLEND_LIGHTEN
:
param
->
blend
=
ff_blend_lighten_16_avx2
;
break
;
case
BLEND_LIGHTEN
:
param
->
blend
=
ff_blend_lighten_16_avx2
;
break
;
case
BLEND_OR
:
param
->
blend
=
ff_blend_or_16_avx2
;
break
;
case
BLEND_OR
:
param
->
blend
=
ff_blend_or_16_avx2
;
break
;
case
BLEND_PHOENIX
:
param
->
blend
=
ff_blend_phoenix_16_avx2
;
break
;
case
BLEND_PHOENIX
:
param
->
blend
=
ff_blend_phoenix_16_avx2
;
break
;
case
BLEND_SUBTRACT
:
param
->
blend
=
ff_blend_subtract_16_avx2
;
break
;
case
BLEND_SUBTRACT
:
param
->
blend
=
ff_blend_subtract_16_avx2
;
break
;
case
BLEND_XOR
:
param
->
blend
=
ff_blend_xor_16_avx2
;
break
;
case
BLEND_XOR
:
param
->
blend
=
ff_blend_xor_16_avx2
;
break
;
}
}
}
}
#endif
/* ARCH_X86_64 */
#endif
/* ARCH_X86_64 */
...
...
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