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
64bb6563
Commit
64bb6563
authored
Jul 25, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lsws: factorize some logging code in sws_init_context()
parent
7cbb856e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
21 deletions
+9
-21
utils.c
libswscale/utils.c
+9
-21
No files found.
libswscale/utils.c
View file @
64bb6563
...
@@ -1069,29 +1069,17 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter)
...
@@ -1069,29 +1069,17 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter)
if
(
c
->
canMMX2BeUsed
&&
(
flags
&
SWS_FAST_BILINEAR
))
if
(
c
->
canMMX2BeUsed
&&
(
flags
&
SWS_FAST_BILINEAR
))
av_log
(
c
,
AV_LOG_VERBOSE
,
"using FAST_BILINEAR MMX2 scaler for horizontal scaling
\n
"
);
av_log
(
c
,
AV_LOG_VERBOSE
,
"using FAST_BILINEAR MMX2 scaler for horizontal scaling
\n
"
);
else
{
else
{
if
(
c
->
hLumFilterSize
==
4
)
av_log
(
c
,
AV_LOG_VERBOSE
,
"using %s-tap MMX scaler for horizontal luminance scaling
\n
"
,
av_log
(
c
,
AV_LOG_VERBOSE
,
"using 4-tap MMX scaler for horizontal luminance scaling
\n
"
);
c
->
hLumFilterSize
==
4
?
"4"
:
else
if
(
c
->
hLumFilterSize
==
8
)
c
->
hLumFilterSize
==
8
?
"8"
:
"n"
);
av_log
(
c
,
AV_LOG_VERBOSE
,
"using 8-tap MMX scaler for horizontal luminance scaling
\n
"
);
av_log
(
c
,
AV_LOG_VERBOSE
,
"using %s-tap MMX scaler for horizontal chrominance scaling
\n
"
,
else
c
->
hChrFilterSize
==
4
?
"4"
:
av_log
(
c
,
AV_LOG_VERBOSE
,
"using n-tap MMX scaler for horizontal luminance scaling
\n
"
);
c
->
hChrFilterSize
==
8
?
"8"
:
"n"
);
if
(
c
->
hChrFilterSize
==
4
)
av_log
(
c
,
AV_LOG_VERBOSE
,
"using 4-tap MMX scaler for horizontal chrominance scaling
\n
"
);
else
if
(
c
->
hChrFilterSize
==
8
)
av_log
(
c
,
AV_LOG_VERBOSE
,
"using 8-tap MMX scaler for horizontal chrominance scaling
\n
"
);
else
av_log
(
c
,
AV_LOG_VERBOSE
,
"using n-tap MMX scaler for horizontal chrominance scaling
\n
"
);
}
}
}
else
{
}
else
{
#if HAVE_MMX
av_log
(
c
,
AV_LOG_VERBOSE
,
"using %s scaler for horizontal scaling
\n
"
,
av_log
(
c
,
AV_LOG_VERBOSE
,
"using x86 asm scaler for horizontal scaling
\n
"
);
HAVE_MMX
?
"x86 asm"
:
#else
flags
&
SWS_FAST_BILINEAR
?
"FAST_BILINEAR C"
:
"C"
);
if
(
flags
&
SWS_FAST_BILINEAR
)
av_log
(
c
,
AV_LOG_VERBOSE
,
"using FAST_BILINEAR C scaler for horizontal scaling
\n
"
);
else
av_log
(
c
,
AV_LOG_VERBOSE
,
"using C scaler for horizontal scaling
\n
"
);
#endif
}
}
if
(
isPlanarYUV
(
dstFormat
))
{
if
(
isPlanarYUV
(
dstFormat
))
{
if
(
c
->
vLumFilterSize
==
1
)
if
(
c
->
vLumFilterSize
==
1
)
...
...
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