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
59b55c49
Commit
59b55c49
authored
Oct 08, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate unused me_threshold field
parent
66a68ddd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
avconv.c
avconv.c
+1
-2
avcodec.h
libavcodec/avcodec.h
+4
-5
options_table.h
libavcodec/options_table.h
+2
-0
No files found.
avconv.c
View file @
59b55c49
...
...
@@ -564,8 +564,7 @@ static void do_video_out(AVFormatContext *s,
in_picture
->
top_field_first
=
!!
ost
->
top_field_first
;
in_picture
->
quality
=
enc
->
global_quality
;
if
(
!
enc
->
me_threshold
)
in_picture
->
pict_type
=
0
;
in_picture
->
pict_type
=
0
;
if
(
ost
->
forced_kf_index
<
ost
->
forced_kf_count
&&
in_picture
->
pts
>=
ost
->
forced_kf_pts
[
ost
->
forced_kf_index
])
{
in_picture
->
pict_type
=
AV_PICTURE_TYPE_I
;
...
...
libavcodec/avcodec.h
View file @
59b55c49
...
...
@@ -1608,14 +1608,13 @@ typedef struct AVCodecContext {
*/
int
noise_reduction
;
#if FF_API_MPV_OPT
/**
* Motion estimation threshold below which no motion estimation is
* performed, but instead the user specified motion vectors are used.
*
* - encoding: Set by user.
* - decoding: unused
* @deprecated this field is unused
*/
attribute_deprecated
int
me_threshold
;
#endif
/**
* Macroblock threshold below which the user specified macroblock types will be used.
...
...
libavcodec/options_table.h
View file @
59b55c49
...
...
@@ -320,7 +320,9 @@ static const AVOption avcodec_options[] = {
#endif
{
"threads"
,
NULL
,
OFFSET
(
thread_count
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
INT_MAX
,
V
|
E
|
D
,
"threads"
},
{
"auto"
,
"autodetect a suitable number of threads to use"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
0
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"threads"
},
#if FF_API_MPV_OPT
{
"me_threshold"
,
"motion estimation threshold"
,
OFFSET
(
me_threshold
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
#endif
{
"mb_threshold"
,
"macroblock threshold"
,
OFFSET
(
mb_threshold
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"dc"
,
"intra_dc_precision"
,
OFFSET
(
intra_dc_precision
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"nssew"
,
"nsse weight"
,
OFFSET
(
nsse_weight
),
AV_OPT_TYPE_INT
,
{.
i64
=
8
},
INT_MIN
,
INT_MAX
,
V
|
E
},
...
...
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