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
f327bfa6
Commit
f327bfa6
authored
May 27, 2011
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: fix build with --disable-swscale-alpha.
parent
28734ac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
yuv2rgb_mmx.c
libswscale/x86/yuv2rgb_mmx.c
+4
-4
No files found.
libswscale/x86/yuv2rgb_mmx.c
View file @
f327bfa6
...
...
@@ -82,15 +82,15 @@ SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
if
(
HAVE_MMX
&&
cpu_flags
&
AV_CPU_FLAG_MMX
)
{
switch
(
c
->
dstFormat
)
{
case
PIX_FMT_RGB32
:
if
(
CONFIG_SWSCALE_ALPHA
&&
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
#if HAVE_7REGS
if
(
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
#if HAVE_7REGS
&& CONFIG_SWSCALE_ALPHA
return
yuva420_rgb32_MMX
;
#endif
break
;
}
else
return
yuv420_rgb32_MMX
;
case
PIX_FMT_BGR32
:
if
(
CONFIG_SWSCALE_ALPHA
&&
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
#if HAVE_7REGS
if
(
c
->
srcFormat
==
PIX_FMT_YUVA420P
)
{
#if HAVE_7REGS
&& CONFIG_SWSCALE_ALPHA
return
yuva420_bgr32_MMX
;
#endif
break
;
...
...
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