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
cdf4a13f
Commit
cdf4a13f
authored
Oct 15, 2015
by
wm4
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swresample: slightly nicer debug output for auto matrix
This is the matrix that will be used for up/downmixing.
parent
be583c6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
rematrix.c
libswresample/rematrix.c
+7
-2
No files found.
libswresample/rematrix.c
View file @
cdf4a13f
...
@@ -340,11 +340,16 @@ av_cold static int auto_matrix(SwrContext *s)
...
@@ -340,11 +340,16 @@ av_cold static int auto_matrix(SwrContext *s)
}
}
}
}
av_log
(
s
,
AV_LOG_DEBUG
,
"Matrix coefficients:
\n
"
);
for
(
i
=
0
;
i
<
av_get_channel_layout_nb_channels
(
out_ch_layout
);
i
++
){
for
(
i
=
0
;
i
<
av_get_channel_layout_nb_channels
(
out_ch_layout
);
i
++
){
const
char
*
c
=
av_get_channel_name
(
av_channel_layout_extract_channel
(
out_ch_layout
,
i
));
av_log
(
s
,
AV_LOG_DEBUG
,
"%s: "
,
c
?
c
:
"?"
);
for
(
j
=
0
;
j
<
av_get_channel_layout_nb_channels
(
in_ch_layout
);
j
++
){
for
(
j
=
0
;
j
<
av_get_channel_layout_nb_channels
(
in_ch_layout
);
j
++
){
av_log
(
NULL
,
AV_LOG_DEBUG
,
"%f "
,
s
->
matrix
[
i
][
j
]);
c
=
av_get_channel_name
(
av_channel_layout_extract_channel
(
in_ch_layout
,
j
));
av_log
(
s
,
AV_LOG_DEBUG
,
"%s:%f "
,
c
?
c
:
"?"
,
s
->
matrix
[
i
][
j
]);
}
}
av_log
(
NULL
,
AV_LOG_DEBUG
,
"
\n
"
);
av_log
(
s
,
AV_LOG_DEBUG
,
"
\n
"
);
}
}
return
0
;
return
0
;
}
}
...
...
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