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
1dbd3c61
Commit
1dbd3c61
authored
Sep 26, 2019
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_eq: fix compilation with x86 asm disabled
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
1ac0d551
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
Makefile
libavfilter/x86/Makefile
+1
-1
vf_eq_init.c
libavfilter/x86/vf_eq_init.c
+6
-3
No files found.
libavfilter/x86/Makefile
View file @
1dbd3c61
...
...
@@ -43,7 +43,7 @@ X86ASM-OBJS-$(CONFIG_BLEND_FILTER) += x86/vf_blend.o
X86ASM-OBJS-$(CONFIG_BWDIF_FILTER)
+=
x86/vf_bwdif.o
X86ASM-OBJS-$(CONFIG_COLORSPACE_FILTER)
+=
x86/colorspacedsp.o
X86ASM-OBJS-$(CONFIG_CONVOLUTION_FILTER)
+=
x86/vf_convolution.o
X86ASM-OBJS-$(CONFIG_
CONVOLUTION_FILTER)
+=
x86/vf_eq.o
X86ASM-OBJS-$(CONFIG_
EQ_FILTER)
+=
x86/vf_eq.o
X86ASM-OBJS-$(CONFIG_FRAMERATE_FILTER)
+=
x86/vf_framerate.o
X86ASM-OBJS-$(CONFIG_FSPP_FILTER)
+=
x86/vf_fspp.o
X86ASM-OBJS-$(CONFIG_GBLUR_FILTER)
+=
x86/vf_gblur.o
...
...
libavfilter/x86/vf_eq_init.c
View file @
1dbd3c61
...
...
@@ -31,6 +31,7 @@ extern void ff_process_one_line_mmxext(const uint8_t *src, uint8_t *dst, short c
extern
void
ff_process_one_line_sse2
(
const
uint8_t
*
src
,
uint8_t
*
dst
,
short
contrast
,
short
brightness
,
int
w
);
#if HAVE_X86ASM
static
void
process_mmxext
(
EQParameters
*
param
,
uint8_t
*
dst
,
int
dst_stride
,
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
{
...
...
@@ -59,15 +60,17 @@ static void process_sse2(EQParameters *param, uint8_t *dst, int dst_stride,
dst
+=
dst_stride
;
}
}
#endif
av_cold
void
ff_eq_init_x86
(
EQContext
*
eq
)
{
#if HAVE_X86ASM
int
cpu_flags
=
av_get_cpu_flags
();
if
(
cpu_flags
&
AV_CPU_FLAG_MMXEXT
)
{
if
(
EXTERNAL_MMXEXT
(
cpu_flags
))
{
eq
->
process
=
process_mmxext
;
}
if
(
cpu_flags
&
AV_CPU_FLAG_SSE2
)
{
if
(
EXTERNAL_SSE2
(
cpu_flags
)
)
{
eq
->
process
=
process_sse2
;
}
#endif
}
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