mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
lavfi/vf_colorconstancy: change option ranges
This commit is contained in:
parent
1f18a633c6
commit
729ebd3cd0
@ -9955,13 +9955,13 @@ The order of differentiation to be applied on the scene. Must be chosen in the r
|
|||||||
|
|
||||||
@item minknorm
|
@item minknorm
|
||||||
The Minkowski parameter to be used for calculating the Minkowski distance. Must
|
The Minkowski parameter to be used for calculating the Minkowski distance. Must
|
||||||
be chosen in the range [0,65535] and default value is 1. Set to 0 for getting
|
be chosen in the range [0,20] and default value is 1. Set to 0 for getting
|
||||||
max value instead of calculating Minkowski distance.
|
max value instead of calculating Minkowski distance.
|
||||||
|
|
||||||
@item sigma
|
@item sigma
|
||||||
The standard deviation of Gaussian blur to be applied on the scene. Must be
|
The standard deviation of Gaussian blur to be applied on the scene. Must be
|
||||||
chosen in the range [0,1024.0] and default value = 1. Sigma can't be set to 0
|
chosen in the range [0,1024.0] and default value = 1. floor( @var{sigma} * break_off_sigma(3) )
|
||||||
if @var{difford} is greater than 0.
|
can't be euqal to 0 if @var{difford} is greater than 0.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@subsection Examples
|
@subsection Examples
|
||||||
|
@ -735,9 +735,9 @@ static const AVFilterPad colorconstancy_outputs[] = {
|
|||||||
#if CONFIG_GREYEDGE_FILTER
|
#if CONFIG_GREYEDGE_FILTER
|
||||||
|
|
||||||
static const AVOption greyedge_options[] = {
|
static const AVOption greyedge_options[] = {
|
||||||
{ "difford", "set differentiation order", OFFSET(difford), AV_OPT_TYPE_INT, {.i64=1}, 0, 2, FLAGS },
|
{ "difford", "set differentiation order", OFFSET(difford), AV_OPT_TYPE_INT, {.i64=1}, 0, 2, FLAGS },
|
||||||
{ "minknorm", "set Minkowski norm", OFFSET(minknorm), AV_OPT_TYPE_INT, {.i64=1}, 0, 65535, FLAGS },
|
{ "minknorm", "set Minkowski norm", OFFSET(minknorm), AV_OPT_TYPE_INT, {.i64=1}, 0, 20, FLAGS },
|
||||||
{ "sigma", "set sigma", OFFSET(sigma), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.0, 1024.0, FLAGS },
|
{ "sigma", "set sigma", OFFSET(sigma), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.0, 1024.0, FLAGS },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user