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
4e3945fd
Commit
4e3945fd
authored
Apr 02, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate AVCodecContext.antialias_algo
It's been unused since mp3float decoder was added.
parent
4a49d2d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
avcodec.h
libavcodec/avcodec.h
+4
-1
options.c
libavcodec/options.c
+2
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
4e3945fd
...
...
@@ -2153,16 +2153,19 @@ typedef struct AVCodecContext {
*/
int
error_rate
;
#if FF_API_ANTIALIAS_ALGO
/**
* MP3 antialias algorithm, see FF_AA_* below.
* - encoding: unused
* - decoding: Set by user.
*/
int
antialias_algo
;
attribute_deprecated
int
antialias_algo
;
#define FF_AA_AUTO 0
#define FF_AA_FASTINT 1 //not implemented yet
#define FF_AA_INT 2
#define FF_AA_FLOAT 3
#endif
/**
* quantizer noise shaping
* - encoding: Set by user.
...
...
libavcodec/options.c
View file @
4e3945fd
...
...
@@ -319,7 +319,9 @@ static const AVOption options[]={
{
"inter_threshold"
,
NULL
,
OFFSET
(
inter_threshold
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"flags2"
,
NULL
,
OFFSET
(
flags2
),
FF_OPT_TYPE_FLAGS
,
CODEC_FLAG2_FASTPSKIP
|
CODEC_FLAG2_BIT_RESERVOIR
|
CODEC_FLAG2_PSY
|
CODEC_FLAG2_MBTREE
,
0
,
UINT_MAX
,
V
|
A
|
E
|
D
,
"flags2"
},
{
"error"
,
NULL
,
OFFSET
(
error_rate
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
},
#if FF_API_ANTIALIAS_ALGO
{
"antialias"
,
"MP3 antialias algorithm"
,
OFFSET
(
antialias_algo
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"aa"
},
#endif
{
"auto"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
FF_AA_AUTO
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"aa"
},
{
"fastint"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
FF_AA_FASTINT
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"aa"
},
{
"int"
,
NULL
,
0
,
FF_OPT_TYPE_CONST
,
FF_AA_INT
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"aa"
},
...
...
libavcodec/version.h
View file @
4e3945fd
...
...
@@ -80,5 +80,8 @@
#ifndef FF_API_MB_Q
#define FF_API_MB_Q (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_ANTIALIAS_ALGO
#define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
#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