diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-17 15:02:17 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-23 19:55:34 +0100 |
commit | 8a02a8031ef4f98faf5647f0e01a8922247bf748 (patch) | |
tree | 31665341f54d4f8e5eb95f3634c69b47c047fe2b /doc | |
parent | 98114d70e48caf871b0fe9b8e5bf8ebd989b845d (diff) | |
download | ffmpeg-8a02a8031ef4f98faf5647f0e01a8922247bf748.tar.gz |
lavfi: add an NVIDIA NPP-based scaling filter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 722c8b03b6..23e4286da8 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2181,6 +2181,44 @@ scale="trunc(3/2*iw/hsub)*hsub:trunc(3/2*ih/vsub)*vsub" scale=w='min(500\, iw*3/2):h=-1' @end example +@section scale_npp + +Use the NVIDIA Performance Primitives (libnpp) to perform scaling and/or pixel +format conversion on CUDA video frames. Setting the output width and height +works in the same way as for the @var{scale} filter. + +The following additional options are accepted: +@table @option +@item format +The pixel format of the output CUDA frames. If set to the string "same" (the +default), the input format will be kept. Note that automatic format negotiation +and conversion is not yet supported for hardware frames + +@item interp_algo +The interpolation algorithm used for resizing. One of the following: +@table @option +@item nn +Nearest neighbour. + +@item linear +@item cubic +@item cubic2p_bspline +2-parameter cubic (B=1, C=0) + +@item cubic2p_catmullrom +2-parameter cubic (B=0, C=1/2) + +@item cubic2p_b05c03 +2-parameter cubic (B=1/2, C=3/10) + +@item super +Supersampling + +@item lanczos +@end table + +@end table + @section select Select frames to pass in output. |