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
6668ef75
Commit
6668ef75
authored
May 30, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: include threading caps in codecs listing.
Suggested by Roger Pack on ffmpeg-user.
parent
e0545262
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
cmdutils.c
cmdutils.c
+15
-10
No files found.
cmdutils.c
View file @
6668ef75
...
...
@@ -812,15 +812,18 @@ int opt_codecs(const char *opt, const char *arg)
AVCodec
*
p
=
NULL
,
*
p2
;
const
char
*
last_name
;
printf
(
"Codecs:
\n
"
" D..... = Decoding supported
\n
"
" .E.... = Encoding supported
\n
"
" ..V... = Video codec
\n
"
" ..A... = Audio codec
\n
"
" ..S... = Subtitle codec
\n
"
" ...S.. = Supports draw_horiz_band
\n
"
" ....D. = Supports direct rendering method 1
\n
"
" .....T = Supports weird frame truncation
\n
"
" ------
\n
"
);
" D...... = Decoding supported
\n
"
" .E..... = Encoding supported
\n
"
" ..V.... = Video codec
\n
"
" ..A.... = Audio codec
\n
"
" ..S.... = Subtitle codec
\n
"
" ...S... = Supports draw_horiz_band
\n
"
" ....D.. = Supports direct rendering method 1
\n
"
" .....T. = Supports weird frame truncation
\n
"
" ......F = Supports frame-based multi-threading
\n
"
" ......S = Supports slice-based multi-threading
\n
"
" ......B = Supports both frame-based and slice-based multi-threading
\n
"
" --------
\n
"
);
last_name
=
"000"
;
for
(;;)
{
int
decode
=
0
;
...
...
@@ -846,13 +849,15 @@ int opt_codecs(const char *opt, const char *arg)
break
;
last_name
=
p2
->
name
;
printf
(
" %s%s%c%s%s%s %-15s %s"
,
printf
(
" %s%s%c%s%s%s
%s
%-15s %s"
,
decode
?
"D"
:
(
/* p2->decoder ? "d" : */
" "
),
encode
?
"E"
:
" "
,
get_media_type_char
(
p2
->
type
),
cap
&
CODEC_CAP_DRAW_HORIZ_BAND
?
"S"
:
" "
,
cap
&
CODEC_CAP_DR1
?
"D"
:
" "
,
cap
&
CODEC_CAP_TRUNCATED
?
"T"
:
" "
,
cap
&
CODEC_CAP_FRAME_THREADS
?
cap
&
CODEC_CAP_SLICE_THREADS
?
"B"
:
"F"
:
cap
&
CODEC_CAP_SLICE_THREADS
?
"S"
:
" "
,
p2
->
name
,
p2
->
long_name
?
p2
->
long_name
:
""
);
#if 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