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
16b7557b
Commit
16b7557b
authored
Feb 27, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate AVCodecContext.inter_threshold.
It's unused.
parent
4f07f819
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
avcodec.h
libavcodec/avcodec.h
+4
-4
options.c
libavcodec/options.c
+2
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
16b7557b
...
...
@@ -1750,12 +1750,12 @@ typedef struct AVCodecContext {
*/
int
noise_reduction
;
#if FF_API_INTER_THRESHOLD
/**
*
* - encoding: Set by user.
* - decoding: unused
* @deprecated this field is unused
*/
int
inter_threshold
;
attribute_deprecated
int
inter_threshold
;
#endif
/**
* quantizer noise shaping
...
...
libavcodec/options.c
View file @
16b7557b
...
...
@@ -320,7 +320,9 @@ static const AVOption options[]={
{
"lmax"
,
"max lagrange factor (VBR)"
,
OFFSET
(
lmax
),
AV_OPT_TYPE_INT
,
{.
dbl
=
31
*
FF_QP2LAMBDA
},
0
,
INT_MAX
,
V
|
E
},
{
"nr"
,
"noise reduction"
,
OFFSET
(
noise_reduction
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"rc_init_occupancy"
,
"number of bits which should be loaded into the rc buffer before decoding starts"
,
OFFSET
(
rc_initial_buffer_occupancy
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
#if FF_API_INTER_THRESHOLD
{
"inter_threshold"
,
NULL
,
OFFSET
(
inter_threshold
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
#endif
{
"flags2"
,
NULL
,
OFFSET
(
flags2
),
AV_OPT_TYPE_FLAGS
,
{.
dbl
=
DEFAULT
},
0
,
UINT_MAX
,
V
|
A
|
E
|
D
,
"flags2"
},
{
"error"
,
NULL
,
OFFSET
(
error_rate
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"qns"
,
"quantizer noise shaping"
,
OFFSET
(
quantizer_noise_shaping
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
...
...
libavcodec/version.h
View file @
16b7557b
...
...
@@ -56,5 +56,8 @@
#ifndef FF_API_COLOR_TABLE_ID
#define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_INTER_THRESHOLD
#define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#endif
/* AVCODEC_VERSION_H */
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