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
a1504eee
Commit
a1504eee
authored
Oct 27, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate AVCodecContext.debug_mv
It has been unused since
37045e42
.
parent
fae753af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
avcodec.h
libavcodec/avcodec.h
+4
-3
options_table.h
libavcodec/options_table.h
+2
-0
pthread.c
libavcodec/pthread.c
+0
-1
No files found.
libavcodec/avcodec.h
View file @
a1504eee
...
...
@@ -2324,15 +2324,16 @@ typedef struct AVCodecContext {
#define FF_DEBUG_BUFFERS 0x00008000
#define FF_DEBUG_THREADS 0x00010000
#if FF_API_DEBUG_MV
/**
* debug
* - encoding: Set by user.
* - decoding: Set by user.
* @deprecated this option does not have any effect
*/
attribute_deprecated
int
debug_mv
;
#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames
#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames
#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames
#endif
/**
* Error recognition; may misdetect some more or less valid parts as errors.
...
...
libavcodec/options_table.h
View file @
a1504eee
...
...
@@ -223,10 +223,12 @@ static const AVOption avcodec_options[] = {
{
"vis_mb_type"
,
"visualize block types"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_VIS_MB_TYPE
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug"
},
{
"buffers"
,
"picture buffer allocations"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_BUFFERS
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug"
},
{
"thread_ops"
,
"threading operations"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_THREADS
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug"
},
#if FF_API_DEBUG_MV
{
"vismv"
,
"visualize motion vectors (MVs)"
,
OFFSET
(
debug_mv
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
0
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
{
"pf"
,
"forward predicted MVs of P-frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_VIS_MV_P_FOR
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
{
"bf"
,
"forward predicted MVs of B-frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_VIS_MV_B_FOR
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
{
"bb"
,
"backward predicted MVs of B-frames"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_DEBUG_VIS_MV_B_BACK
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"debug_mv"
},
#endif
{
"cmp"
,
"full-pel ME compare function"
,
OFFSET
(
me_cmp
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
{
"subcmp"
,
"sub-pel ME compare function"
,
OFFSET
(
me_sub_cmp
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
{
"mbcmp"
,
"macroblock compare function"
,
OFFSET
(
mb_cmp
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"cmp_func"
},
...
...
libavcodec/pthread.c
View file @
a1504eee
...
...
@@ -423,7 +423,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
dst
->
opaque
=
src
->
opaque
;
dst
->
debug
=
src
->
debug
;
dst
->
debug_mv
=
src
->
debug_mv
;
dst
->
slice_flags
=
src
->
slice_flags
;
dst
->
flags2
=
src
->
flags2
;
...
...
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