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
d1c4e8c7
Commit
d1c4e8c7
authored
Sep 08, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy option
parent
81e52c6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_paletteuse.c
libavfilter/vf_paletteuse.c
+2
-2
No files found.
libavfilter/vf_paletteuse.c
View file @
d1c4e8c7
...
...
@@ -120,8 +120,8 @@ static const AVOption paletteuse_options[] = {
{
"nns_iterative"
,
"iterative search"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
COLOR_SEARCH_NNS_ITERATIVE
},
INT_MIN
,
INT_MAX
,
FLAGS
,
"search"
},
{
"nns_recursive"
,
"recursive search"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
COLOR_SEARCH_NNS_RECURSIVE
},
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_
INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"debug_accuracy"
,
"test color search accuracy"
,
OFFSET
(
debug_accuracy
),
AV_OPT_TYPE_
FLAGS
,
{.
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
},
{
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