Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9cc4bc97
Commit
9cc4bc97
authored
Apr 24, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vf_eq.c and vf_eq2.c compilation with !HAVE_6REGS.
parent
a19bcf4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vf_eq.c
libavfilter/libmpcodecs/vf_eq.c
+2
-2
vf_eq2.c
libavfilter/libmpcodecs/vf_eq2.c
+2
-2
No files found.
libavfilter/libmpcodecs/vf_eq.c
View file @
9cc4bc97
...
...
@@ -37,7 +37,7 @@ struct vf_priv_s {
int
contrast
;
};
#if HAVE_MMX
#if HAVE_MMX
&& HAVE_6REGS
static
void
process_MMX
(
unsigned
char
*
dest
,
int
dstride
,
unsigned
char
*
src
,
int
sstride
,
int
w
,
int
h
,
int
brightness
,
int
contrast
)
{
...
...
@@ -224,7 +224,7 @@ static int vf_open(vf_instance_t *vf, char *args)
if
(
args
)
sscanf
(
args
,
"%d:%d"
,
&
vf
->
priv
->
brightness
,
&
vf
->
priv
->
contrast
);
process
=
process_C
;
#if HAVE_MMX
#if HAVE_MMX
&& HAVE_6REGS
if
(
ff_gCpuCaps
.
hasMMX
)
process
=
process_MMX
;
#endif
...
...
libavfilter/libmpcodecs/vf_eq2.c
View file @
9cc4bc97
...
...
@@ -120,7 +120,7 @@ void create_lut (eq2_param_t *par)
par
->
lut_clean
=
1
;
}
#if HAVE_MMX
#if HAVE_MMX
&& HAVE_6REGS
static
void
affine_1d_MMX
(
eq2_param_t
*
par
,
unsigned
char
*
dst
,
unsigned
char
*
src
,
unsigned
w
,
unsigned
h
,
unsigned
dstride
,
unsigned
sstride
)
...
...
@@ -289,7 +289,7 @@ void check_values (eq2_param_t *par)
if
((
par
->
c
==
1
.
0
)
&&
(
par
->
b
==
0
.
0
)
&&
(
par
->
g
==
1
.
0
))
{
par
->
adjust
=
NULL
;
}
#if HAVE_MMX
#if HAVE_MMX
&& HAVE_6REGS
else
if
(
par
->
g
==
1
.
0
&&
ff_gCpuCaps
.
hasMMX
)
{
par
->
adjust
=
&
affine_1d_MMX
;
}
...
...
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