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
836c7935
Commit
836c7935
authored
Jan 09, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/libvpxenc: Improve documentation for option cpu-used.
Fixes ticket #5140. Reviewed-by: James Zern
parent
6e249466
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libvpxenc.c
libavcodec/libvpxenc.c
+2
-1
No files found.
libavcodec/libvpxenc.c
View file @
836c7935
...
...
@@ -962,7 +962,6 @@ static int vp8_encode(AVCodecContext *avctx, AVPacket *pkt,
#endif
#define COMMON_OPTIONS \
{ "cpu-used", "Quality/Speed ratio modifier", OFFSET(cpu_used), AV_OPT_TYPE_INT, {.i64 = 1}, -16, 16, VE}, \
{ "auto-alt-ref", "Enable use of alternate reference " \
"frames (2-pass only)", OFFSET(auto_alt_ref), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE}, \
{ "lag-in-frames", "Number of frames to look ahead for " \
...
...
@@ -1003,6 +1002,7 @@ static int vp8_encode(AVCodecContext *avctx, AVPacket *pkt,
#if CONFIG_LIBVPX_VP8_ENCODER
static
const
AVOption
vp8_options
[]
=
{
COMMON_OPTIONS
{
"cpu-used"
,
"Quality/Speed ratio modifier"
,
OFFSET
(
cpu_used
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
-
16
,
16
,
VE
},
LEGACY_OPTIONS
{
NULL
}
};
...
...
@@ -1011,6 +1011,7 @@ static const AVOption vp8_options[] = {
#if CONFIG_LIBVPX_VP9_ENCODER
static
const
AVOption
vp9_options
[]
=
{
COMMON_OPTIONS
{
"cpu-used"
,
"Quality/Speed ratio modifier"
,
OFFSET
(
cpu_used
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
-
8
,
8
,
VE
},
{
"lossless"
,
"Lossless mode"
,
OFFSET
(
lossless
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
-
1
,
1
,
VE
},
{
"tile-columns"
,
"Number of tile columns to use, log2"
,
OFFSET
(
tile_columns
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
-
1
,
6
,
VE
},
{
"tile-rows"
,
"Number of tile rows to use, log2"
,
OFFSET
(
tile_rows
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
-
1
,
2
,
VE
},
...
...
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