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
076b1966
Commit
076b1966
authored
6 years ago
by
Gyan Doshi
Browse files
Options
Downloads
Patches
Plain Diff
avcodec/libaomenc: correct range for cpu-used
Valid range is [0,8] as stated in aom.git:aom/aomcx.h Fixes #7343
parent
e77a3e99
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/libaomenc.c
+1
-1
1 addition, 1 deletion
libavcodec/libaomenc.c
with
1 addition
and
1 deletion
libavcodec/libaomenc.c
+
1
−
1
View file @
076b1966
...
@@ -731,7 +731,7 @@ static av_cold int av1_init(AVCodecContext *avctx)
...
@@ -731,7 +731,7 @@ static av_cold int av1_init(AVCodecContext *avctx)
#define OFFSET(x) offsetof(AOMContext, x)
#define OFFSET(x) offsetof(AOMContext, x)
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
options
[]
=
{
{
"cpu-used"
,
"Quality/Speed ratio modifier"
,
OFFSET
(
cpu_used
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
-
8
,
8
,
VE
},
{
"cpu-used"
,
"Quality/Speed ratio modifier"
,
OFFSET
(
cpu_used
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
8
,
VE
},
{
"auto-alt-ref"
,
"Enable use of alternate reference "
{
"auto-alt-ref"
,
"Enable use of alternate reference "
"frames (2-pass only)"
,
OFFSET
(
auto_alt_ref
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
-
1
,
2
,
VE
},
"frames (2-pass only)"
,
OFFSET
(
auto_alt_ref
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
-
1
,
2
,
VE
},
{
"lag-in-frames"
,
"Number of frames to look ahead at for "
{
"lag-in-frames"
,
"Number of frames to look ahead at for "
...
...
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