avfilter/vidstabtransform: update optzoom range values for recent vid.stab update.

Signed-off-by: Georg Martius <martius@mis.mpg.de>
This commit is contained in:
Georg Martius 2013-09-14 02:54:39 +02:00 committed by Clément Bœsch
parent df21537dfb
commit e064d0aaf6
2 changed files with 10 additions and 3 deletions

View File

@ -7853,8 +7853,15 @@ percentage to zoom (default: 0)
@end table
@item optzoom
if 1 then optimal zoom value is determined (default).
Optimal zoom means no (or only little) border should be visible.
set optimal zooming to avoid borders
@table @samp
@item 0
disabled
@item 1
optimal static zoom value is determined (only very strong movements will lead to visible borders) (default)
@item 2
optimal adaptive zoom value is determined (no borders will be visible)
@end table
Note that the value given at zoom is added to the one calculated
here.

View File

@ -67,7 +67,7 @@ static const AVOption vidstabtransform_options[] = {
{"zoom", "percentage to zoom >0: zoom in, <0 zoom out", OFFSETC(zoom),
AV_OPT_TYPE_DOUBLE, {.dbl = 0}, -100, 100, FLAGS},
{"optzoom", "0: nothing, 1: determine optimal zoom (added to 'zoom')", OFFSETC(optZoom),
AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS},
AV_OPT_TYPE_INT, {.i64 = 1}, 0, 2, FLAGS},
{"interpol", "type of interpolation", OFFSETC(interpolType),
AV_OPT_TYPE_INT, {.i64 = 2}, 0, 3, FLAGS, "interpol"},
{ "no", "no interpolation", 0,