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

Signed-off-by: Georg Martius <martius@mis.mpg.de>
pull/37/merge
Georg Martius 11 years ago committed by Clément Bœsch
parent df21537dfb
commit e064d0aaf6
  1. 11
      doc/filters.texi
  2. 2
      libavfilter/vf_vidstabtransform.c

@ -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.

@ -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,

Loading…
Cancel
Save