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
f6c38c5f
Commit
f6c38c5f
authored
Aug 29, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: call x86 init functions under if (ARCH_X86), not if (HAVE_MMX)
parent
5a2cb782
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
vf_gradfun.c
libavfilter/vf_gradfun.c
+1
-1
vf_yadif.c
libavfilter/vf_yadif.c
+1
-1
Makefile
libavfilter/x86/Makefile
+3
-2
No files found.
libavfilter/vf_gradfun.c
View file @
f6c38c5f
...
@@ -135,7 +135,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
...
@@ -135,7 +135,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
gf
->
blur_line
=
ff_gradfun_blur_line_c
;
gf
->
blur_line
=
ff_gradfun_blur_line_c
;
gf
->
filter_line
=
ff_gradfun_filter_line_c
;
gf
->
filter_line
=
ff_gradfun_filter_line_c
;
if
(
HAVE_MMX
)
if
(
ARCH_X86
)
ff_gradfun_init_x86
(
gf
);
ff_gradfun_init_x86
(
gf
);
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"threshold:%.2f radius:%d
\n
"
,
thresh
,
gf
->
radius
);
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"threshold:%.2f radius:%d
\n
"
,
thresh
,
gf
->
radius
);
...
...
libavfilter/vf_yadif.c
View file @
f6c38c5f
...
@@ -400,7 +400,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
...
@@ -400,7 +400,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
yadif
->
filter_line
=
filter_line_c
;
yadif
->
filter_line
=
filter_line_c
;
if
(
HAVE_MMX
)
if
(
ARCH_X86
)
ff_yadif_init_x86
(
yadif
);
ff_yadif_init_x86
(
yadif
);
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"mode:%d parity:%d auto_enable:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"mode:%d parity:%d auto_enable:%d
\n
"
,
...
...
libavfilter/x86/Makefile
View file @
f6c38c5f
MMX-OBJS-$(CONFIG_YADIF_FILTER)
+=
x86/yadif.o
OBJS-$(CONFIG_GRADFUN_FILTER)
+=
x86/gradfun.o
MMX-OBJS-$(CONFIG_GRADFUN_FILTER)
+=
x86/gradfun.o
OBJS-$(CONFIG_YADIF_FILTER)
+=
x86/yadif.o
YASM-OBJS-$(CONFIG_HQDN3D_FILTER)
+=
x86/hqdn3d.o
YASM-OBJS-$(CONFIG_HQDN3D_FILTER)
+=
x86/hqdn3d.o
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