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
b152152d
Commit
b152152d
authored
Jun 07, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nointra AVDiscard level
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
fdb6f66d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
avcodec.h
libavcodec/avcodec.h
+1
-0
options_table.h
libavcodec/options_table.h
+1
-0
version.h
libavcodec/version.h
+2
-2
No files found.
libavcodec/avcodec.h
View file @
b152152d
...
...
@@ -651,6 +651,7 @@ enum AVDiscard{
AVDISCARD_DEFAULT
=
0
,
///< discard useless packets like 0 size packets in avi
AVDISCARD_NONREF
=
8
,
///< discard all non reference
AVDISCARD_BIDIR
=
16
,
///< discard all bidirectional frames
AVDISCARD_NONINTRA
=
24
,
///< discard all non intra frames
AVDISCARD_NONKEY
=
32
,
///< discard all frames except keyframes
AVDISCARD_ALL
=
48
,
///< discard all
};
...
...
libavcodec/options_table.h
View file @
b152152d
...
...
@@ -356,6 +356,7 @@ static const AVOption avcodec_options[] = {
{
"noref"
,
"discard all non-reference frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVDISCARD_NONREF
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"avdiscard"
},
{
"bidir"
,
"discard all bidirectional frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVDISCARD_BIDIR
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"avdiscard"
},
{
"nokey"
,
"discard all frames except keyframes"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVDISCARD_NONKEY
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"avdiscard"
},
{
"nointra"
,
"discard all frames except I frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVDISCARD_NONINTRA
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"avdiscard"
},
{
"all"
,
"discard all frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVDISCARD_ALL
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"avdiscard"
},
{
"bidir_refine"
,
"refine the two motion vectors used in bidirectional macroblocks"
,
OFFSET
(
bidir_refine
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
4
,
V
|
E
},
{
"brd_scale"
,
"downscale frames for dynamic B-frame decision"
,
OFFSET
(
brd_scale
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
0
,
10
,
V
|
E
},
...
...
libavcodec/version.h
View file @
b152152d
...
...
@@ -29,8 +29,8 @@
#include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 6
6
#define LIBAVCODEC_VERSION_MICRO 10
1
#define LIBAVCODEC_VERSION_MINOR 6
7
#define LIBAVCODEC_VERSION_MICRO 10
0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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