scaler.texi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @chapter Scaler Options
  2. @c man begin SCALER OPTIONS
  3. The video scaler supports the following named options.
  4. Options may be set by specifying -@var{option} @var{value} in the
  5. FFmpeg tools. For programmatic use, they can be set explicitly in the
  6. @code{SwsContext} options or through the @file{libavutil/opt.h} API.
  7. @table @option
  8. @item sws_flags
  9. Set the scaler flags. This is also used to set the scaling
  10. algorithm. Only a single algorithm should be selected.
  11. It accepts the following values:
  12. @table @samp
  13. @item fast_bilinear
  14. Select fast bilinear scaling algorithm.
  15. @item bilinear
  16. Select bilinear scaling algorithm.
  17. @item bicubic
  18. Select bicubic scaling algorithm.
  19. @item experimental
  20. Select experimental scaling algorithm.
  21. @item neighbor
  22. Select nearest neighbor rescaling algorithm.
  23. @item area
  24. Select averaging area rescaling algorithm.
  25. @item bicublin
  26. Select bicubic scaling algorithm for the luma component, bilinear for
  27. chroma components.
  28. @item gauss
  29. Select Gaussian rescaling algorithm.
  30. @item sinc
  31. Select sinc rescaling algorithm.
  32. @item lanczos
  33. Select lanczos rescaling algorithm.
  34. @item spline
  35. Select natural bicubic spline rescaling algorithm.
  36. @item print_info
  37. Enable printing/debug logging.
  38. @item accurate_rnd
  39. Enable accurate rounding.
  40. @item full_chroma_int
  41. Enable full chroma interpolation.
  42. @item full_chroma_inp
  43. Select full chroma input.
  44. @item bitexact
  45. Enable bitexact output.
  46. @end table
  47. @item srcw
  48. Set source width.
  49. @item srch
  50. Set source height.
  51. @item dstw
  52. Set destination width.
  53. @item dsth
  54. Set destination height.
  55. @item src_format
  56. Set source pixel format (must be expressed as an integer).
  57. @item dst_format
  58. Set destination pixel format (must be expressed as an integer).
  59. @item src_range
  60. Select source range.
  61. @item dst_range
  62. Select destination range.
  63. @item param0, param1
  64. Set scaling algorithm parameters. The specified values are specific of
  65. some scaling algorithms and ignored by others. The specified values
  66. are floating point number values.
  67. @end table
  68. @c man end SCALER OPTIONS