Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
bc1097a2
Commit
bc1097a2
authored
6 years ago
by
hwren
Committed by
Mark Thompson
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
lavc/libxavs2: remove nonexistent parameters
Signed-off-by:
hwren
<
hwrenx@126.com
>
parent
c0e9824c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/encoders.texi
+0
-3
0 additions, 3 deletions
doc/encoders.texi
libavcodec/libxavs2.c
+0
-4
0 additions, 4 deletions
libavcodec/libxavs2.c
with
0 additions
and
7 deletions
doc/encoders.texi
+
0
−
3
View file @
bc1097a2
...
...
@@ -2761,9 +2761,6 @@ Set the Speed level from 0 to 9 (default 0). Higher is better but slower.
Set the log level from -1 to 3 (default 0). -1: none, 0: error,
1: warning, 2: info, 3: debug.
@item hierarchical_ref
Set the hierarchical reference or not (default true).
@item xavs2-params
Set xavs2 options using a list of @var{key}=@var{value} couples separated
by ":".
...
...
This diff is collapsed.
Click to expand it.
libavcodec/libxavs2.c
+
0
−
4
View file @
bc1097a2
...
...
@@ -78,8 +78,6 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
return
AVERROR
(
ENOMEM
);
}
xavs2_opt_set2
(
"rec"
,
"%d"
,
0
);
xavs2_opt_set2
(
"width"
,
"%d"
,
avctx
->
width
);
xavs2_opt_set2
(
"height"
,
"%d"
,
avctx
->
height
);
xavs2_opt_set2
(
"bframes"
,
"%d"
,
avctx
->
max_b_frames
);
...
...
@@ -92,7 +90,6 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
xavs2_opt_set2
(
"thread_frames"
,
"%d"
,
avctx
->
thread_count
);
xavs2_opt_set2
(
"thread_rows"
,
"%d"
,
cae
->
lcu_row_threads
);
xavs2_opt_set2
(
"hierarchical_ref"
,
"%d"
,
cae
->
hierarchical_reference
);
xavs2_opt_set2
(
"OpenGOP"
,
"%d"
,
1
);
...
...
@@ -261,7 +258,6 @@ static const AVOption options[] = {
{
"min_qp"
,
"min qp for rate control"
,
OFFSET
(
min_qp
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
20
},
0
,
63
,
VE
},
{
"speed_level"
,
"Speed level, higher is better but slower"
,
OFFSET
(
preset_level
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
9
,
VE
},
{
"log_level"
,
"log level: -1: none, 0: error, 1: warning, 2: info, 3: debug"
,
OFFSET
(
log_level
)
,
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
-
1
,
3
,
VE
},
{
"hierarchical_ref"
,
"hierarchical reference"
,
OFFSET
(
hierarchical_reference
)
,
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
VE
},
{
"xavs2-params"
,
"set the xavs2 configuration using a :-separated list of key=value parameters"
,
OFFSET
(
xavs2_opts
),
AV_OPT_TYPE_STRING
,
{
0
},
0
,
0
,
VE
},
{
NULL
},
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment