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
076b1966
Commit
076b1966
authored
Aug 05, 2018
by
Gyan Doshi
Browse files
Options
Browse Files
Download
Email 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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libaomenc.c
libavcodec/libaomenc.c
+1
-1
No files found.
libavcodec/libaomenc.c
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 "
...
...
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