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
a60466db
Commit
a60466db
authored
Jun 14, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: Remove HAVE_MMX from files that are only compiled with MMX enabled.
parent
97e057ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rgb2rgb.c
libswscale/x86/rgb2rgb.c
+1
-1
yuv2rgb_mmx.c
libswscale/x86/yuv2rgb_mmx.c
+1
-1
No files found.
libswscale/x86/rgb2rgb.c
View file @
a60466db
...
@@ -127,7 +127,7 @@ void rgb2rgb_init_x86(void)
...
@@ -127,7 +127,7 @@ void rgb2rgb_init_x86(void)
{
{
int
cpu_flags
=
av_get_cpu_flags
();
int
cpu_flags
=
av_get_cpu_flags
();
if
(
HAVE_MMX
&&
cpu_flags
&
AV_CPU_FLAG_MMX
)
if
(
cpu_flags
&
AV_CPU_FLAG_MMX
)
rgb2rgb_init_MMX
();
rgb2rgb_init_MMX
();
if
(
HAVE_AMD3DNOW
&&
cpu_flags
&
AV_CPU_FLAG_3DNOW
)
if
(
HAVE_AMD3DNOW
&&
cpu_flags
&
AV_CPU_FLAG_3DNOW
)
rgb2rgb_init_3DNOW
();
rgb2rgb_init_3DNOW
();
...
...
libswscale/x86/yuv2rgb_mmx.c
View file @
a60466db
...
@@ -81,7 +81,7 @@ SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
...
@@ -81,7 +81,7 @@ SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
}
}
#endif
#endif
if
(
HAVE_MMX
&&
cpu_flags
&
AV_CPU_FLAG_MMX
)
{
if
(
cpu_flags
&
AV_CPU_FLAG_MMX
)
{
switch
(
c
->
dstFormat
)
{
switch
(
c
->
dstFormat
)
{
case
PIX_FMT_RGB32
:
case
PIX_FMT_RGB32
:
if
(
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
if
(
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
...
...
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