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
fb99d787
Commit
fb99d787
authored
Sep 08, 2011
by
James Zern
Committed by
Michael Niedermayer
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvpxenc: silence AVOption related warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0962ad0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
libvpxenc.c
libavcodec/libvpxenc.c
+11
-11
No files found.
libavcodec/libvpxenc.c
View file @
fb99d787
...
@@ -74,17 +74,17 @@ typedef struct VP8EncoderContext {
...
@@ -74,17 +74,17 @@ typedef struct VP8EncoderContext {
#define E AV_OPT_FLAG_ENCODING_PARAM
#define E AV_OPT_FLAG_ENCODING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
options
[]
=
{
{
"speed"
,
""
,
offsetof
(
VP8Context
,
cpuused
),
FF_OPT_TYPE_INT
,
3
,
-
16
,
16
,
V
|
E
},
{
"speed"
,
""
,
offsetof
(
VP8Context
,
cpuused
),
FF_OPT_TYPE_INT
,
{.
dbl
=
3
}
,
-
16
,
16
,
V
|
E
},
{
"quality"
,
""
,
offsetof
(
VP8Context
,
deadline
),
FF_OPT_TYPE_INT
,
VPX_DL_GOOD_QUALITY
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"quality"
,
""
,
offsetof
(
VP8Context
,
deadline
),
FF_OPT_TYPE_INT
,
{.
dbl
=
VPX_DL_GOOD_QUALITY
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"best"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
VPX_DL_BEST_QUALITY
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"best"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
VPX_DL_BEST_QUALITY
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"good"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
VPX_DL_GOOD_QUALITY
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"good"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
VPX_DL_GOOD_QUALITY
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"realtime"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
VPX_DL_REALTIME
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"realtime"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
VPX_DL_REALTIME
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"quality"
},
{
"vp8flags"
,
""
,
offsetof
(
VP8Context
,
flags
),
FF_OPT_TYPE_FLAGS
,
0
,
0
,
UINT_MAX
,
V
|
E
,
"flags"
},
{
"vp8flags"
,
""
,
offsetof
(
VP8Context
,
flags
),
FF_OPT_TYPE_FLAGS
,
{.
dbl
=
0
}
,
0
,
UINT_MAX
,
V
|
E
,
"flags"
},
{
"error_resilient"
,
"enable error resilience"
,
0
,
FF_OPT_TYPE_CONST
,
VP8F_ERROR_RESILIENT
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"flags"
},
{
"error_resilient"
,
"enable error resilience"
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
VP8F_ERROR_RESILIENT
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"flags"
},
{
"altref"
,
"enable use of alternate reference frames (VP8/2-pass only)"
,
0
,
FF_OPT_TYPE_CONST
,
VP8F_AUTO_ALT_REF
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"flags"
},
{
"altref"
,
"enable use of alternate reference frames (VP8/2-pass only)"
,
0
,
FF_OPT_TYPE_CONST
,
{.
dbl
=
VP8F_AUTO_ALT_REF
}
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"flags"
},
{
"arnr_max_frames"
,
"altref noise reduction max frame count"
,
offsetof
(
VP8Context
,
arnr_max_frames
),
FF_OPT_TYPE_INT
,
0
,
0
,
15
,
V
|
E
},
{
"arnr_max_frames"
,
"altref noise reduction max frame count"
,
offsetof
(
VP8Context
,
arnr_max_frames
),
FF_OPT_TYPE_INT
,
{.
dbl
=
0
}
,
0
,
15
,
V
|
E
},
{
"arnr_strength"
,
"altref noise reduction filter strength"
,
offsetof
(
VP8Context
,
arnr_strength
),
FF_OPT_TYPE_INT
,
3
,
0
,
6
,
V
|
E
},
{
"arnr_strength"
,
"altref noise reduction filter strength"
,
offsetof
(
VP8Context
,
arnr_strength
),
FF_OPT_TYPE_INT
,
{.
dbl
=
3
}
,
0
,
6
,
V
|
E
},
{
"arnr_type"
,
"altref noise reduction filter type"
,
offsetof
(
VP8Context
,
arnr_type
),
FF_OPT_TYPE_INT
,
3
,
1
,
3
,
V
|
E
},
{
"arnr_type"
,
"altref noise reduction filter type"
,
offsetof
(
VP8Context
,
arnr_type
),
FF_OPT_TYPE_INT
,
{.
dbl
=
3
}
,
1
,
3
,
V
|
E
},
{
NULL
}
{
NULL
}
};
};
static
const
AVClass
class
=
{
"libvpx"
,
av_default_item_name
,
options
,
LIBAVUTIL_VERSION_INT
};
static
const
AVClass
class
=
{
"libvpx"
,
av_default_item_name
,
options
,
LIBAVUTIL_VERSION_INT
};
...
...
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