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
5c8e904e
Commit
5c8e904e
authored
Oct 28, 2017
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/paletteuse: move "new" option before debugging options
parent
aba926e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_paletteuse.c
libavfilter/vf_paletteuse.c
+1
-1
No files found.
libavfilter/vf_paletteuse.c
View file @
5c8e904e
...
@@ -118,6 +118,7 @@ static const AVOption paletteuse_options[] = {
...
@@ -118,6 +118,7 @@ static const AVOption paletteuse_options[] = {
{
"bayer_scale"
,
"set scale for bayer dithering"
,
OFFSET
(
bayer_scale
),
AV_OPT_TYPE_INT
,
{.
i64
=
2
},
0
,
5
,
FLAGS
},
{
"bayer_scale"
,
"set scale for bayer dithering"
,
OFFSET
(
bayer_scale
),
AV_OPT_TYPE_INT
,
{.
i64
=
2
},
0
,
5
,
FLAGS
},
{
"diff_mode"
,
"set frame difference mode"
,
OFFSET
(
diff_mode
),
AV_OPT_TYPE_INT
,
{.
i64
=
DIFF_MODE_NONE
},
0
,
NB_DIFF_MODE
-
1
,
FLAGS
,
"diff_mode"
},
{
"diff_mode"
,
"set frame difference mode"
,
OFFSET
(
diff_mode
),
AV_OPT_TYPE_INT
,
{.
i64
=
DIFF_MODE_NONE
},
0
,
NB_DIFF_MODE
-
1
,
FLAGS
,
"diff_mode"
},
{
"rectangle"
,
"process smallest different rectangle"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DIFF_MODE_RECTANGLE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
"diff_mode"
},
{
"rectangle"
,
"process smallest different rectangle"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DIFF_MODE_RECTANGLE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
"diff_mode"
},
{
"new"
,
"take new palette for each output frame"
,
OFFSET
(
new
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"alpha_threshold"
,
"set the alpha threshold for transparency"
,
OFFSET
(
trans_thresh
),
AV_OPT_TYPE_INT
,
{.
i64
=
128
},
0
,
255
},
{
"alpha_threshold"
,
"set the alpha threshold for transparency"
,
OFFSET
(
trans_thresh
),
AV_OPT_TYPE_INT
,
{.
i64
=
128
},
0
,
255
},
/* following are the debug options, not part of the official API */
/* following are the debug options, not part of the official API */
...
@@ -128,7 +129,6 @@ static const AVOption paletteuse_options[] = {
...
@@ -128,7 +129,6 @@ static const AVOption paletteuse_options[] = {
{
"bruteforce"
,
"brute-force into the palette"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
COLOR_SEARCH_BRUTEFORCE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
"search"
},
{
"bruteforce"
,
"brute-force into the palette"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
COLOR_SEARCH_BRUTEFORCE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
"search"
},
{
"mean_err"
,
"compute and print mean error"
,
OFFSET
(
calc_mean_err
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"mean_err"
,
"compute and print mean error"
,
OFFSET
(
calc_mean_err
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"debug_accuracy"
,
"test color search accuracy"
,
OFFSET
(
debug_accuracy
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"debug_accuracy"
,
"test color search accuracy"
,
OFFSET
(
debug_accuracy
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"new"
,
"take new palette for each output frame"
,
OFFSET
(
new
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
NULL
}
{
NULL
}
};
};
...
...
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