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
4a49d2d5
Commit
4a49d2d5
authored
Apr 02, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: mark mb_qmin/mb_qmax for removal on next major bump.
They've been unused and deprecated for about five years.
parent
bc154882
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
avcodec.h
libavcodec/avcodec.h
+4
-2
options.c
libavcodec/options.c
+2
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
4a49d2d5
...
...
@@ -1818,19 +1818,21 @@ typedef struct AVCodecContext {
*/
uint64_t
error
[
4
];
#if FF_API_MB_Q
/**
* minimum MB quantizer
* - encoding: unused
* - decoding: unused
*/
int
mb_qmin
;
attribute_deprecated
int
mb_qmin
;
/**
* maximum MB quantizer
* - encoding: unused
* - decoding: unused
*/
int
mb_qmax
;
attribute_deprecated
int
mb_qmax
;
#endif
/**
* motion estimation comparison function
...
...
libavcodec/options.c
View file @
4a49d2d5
...
...
@@ -259,8 +259,10 @@ static const AVOption options[]={
{
"pf"
,
"forward predicted MVs of P-frames"
,
0
,
FF_OPT_TYPE_CONST
,
FF_DEBUG_VIS_MV_P_FOR
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
{
"bf"
,
"forward predicted MVs of B-frames"
,
0
,
FF_OPT_TYPE_CONST
,
FF_DEBUG_VIS_MV_B_FOR
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
{
"bb"
,
"backward predicted MVs of B-frames"
,
0
,
FF_OPT_TYPE_CONST
,
FF_DEBUG_VIS_MV_B_BACK
,
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
#if FF_API_MB_Q
{
"mb_qmin"
,
"obsolete, use qmin"
,
OFFSET
(
mb_qmin
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"mb_qmax"
,
"obsolete, use qmax"
,
OFFSET
(
mb_qmax
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
},
#endif
{
"cmp"
,
"full pel me compare function"
,
OFFSET
(
me_cmp
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
{
"subcmp"
,
"sub pel me compare function"
,
OFFSET
(
me_sub_cmp
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
{
"mbcmp"
,
"macroblock compare function"
,
OFFSET
(
mb_cmp
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
...
...
libavcodec/version.h
View file @
4a49d2d5
...
...
@@ -77,5 +77,8 @@
#ifndef FF_API_RATE_EMU
#define FF_API_RATE_EMU (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_MB_Q
#define FF_API_MB_Q (LIBAVCODEC_VERSION_MAJOR < 53)
#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