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
a446657d
Commit
a446657d
authored
Sep 17, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/utils: simplify cpu caps printing code
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9d052adb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
utils.c
libswscale/utils.c
+8
-6
No files found.
libswscale/utils.c
View file @
a446657d
...
...
@@ -1546,7 +1546,7 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
av_assert0
(
c
->
chrDstH
<=
dstH
);
if
(
flags
&
SWS_PRINT_INFO
)
{
const
char
*
scaler
;
const
char
*
scaler
,
*
cpucaps
;
if
(
flags
&
SWS_FAST_BILINEAR
)
scaler
=
"FAST_BILINEAR scaler"
;
else
if
(
flags
&
SWS_BILINEAR
)
...
...
@@ -1586,15 +1586,17 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
av_get_pix_fmt_name
(
dstFormat
));
if
(
INLINE_MMXEXT
(
cpu_flags
))
av_log
(
c
,
AV_LOG_INFO
,
"using MMXEXT
\n
"
)
;
cpucaps
=
"MMXEXT"
;
else
if
(
INLINE_AMD3DNOW
(
cpu_flags
))
av_log
(
c
,
AV_LOG_INFO
,
"using 3DNOW
\n
"
)
;
cpucaps
=
"3DNOW"
;
else
if
(
INLINE_MMX
(
cpu_flags
))
av_log
(
c
,
AV_LOG_INFO
,
"using MMX
\n
"
)
;
cpucaps
=
"MMX"
;
else
if
(
PPC_ALTIVEC
(
cpu_flags
))
av_log
(
c
,
AV_LOG_INFO
,
"using AltiVec
\n
"
)
;
cpucaps
=
"AltiVec"
;
else
av_log
(
c
,
AV_LOG_INFO
,
"using C
\n
"
);
cpucaps
=
"C"
;
av_log
(
c
,
AV_LOG_INFO
,
"using %s
\n
"
,
cpucaps
);
av_log
(
c
,
AV_LOG_VERBOSE
,
"%dx%d -> %dx%d
\n
"
,
srcW
,
srcH
,
dstW
,
dstH
);
av_log
(
c
,
AV_LOG_DEBUG
,
...
...
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