Enum SwsFlags
Represents the various flags and scaling algorithms used in FFmpeg's libswscale for sws_getContext.
Namespace: FFmpeg.Images
Assembly: FFmpeg.dll
Syntax
[Flags]
public enum SwsFlags
Fields
| Name | Description |
|---|---|
| AccurateRounding | Use accurate rounding. |
| Area | Area-based rescaling, typically used for downscaling. |
| Bicubic | Bicubic scaling, higher quality but slower performance. |
| Bicublin | Bicublin rescaling, a hybrid of bilinear and bicubic. |
| Bilinear | Standard bilinear scaling, balanced quality and speed. |
| BitExact | Use bit-exact scaling, useful for testing. |
| DirectBGR | Output directly in BGR format. |
| ErrorDiffusion | Apply error diffusion to the output. |
| Experimental | Experimental scaling algorithm. |
| FastBilinear | Fast bilinear scaling, prioritizing speed over quality. |
| FullChromaInput | Use full chroma input for horizontal pixels. |
| FullChromaInterpolation | Use full chroma interpolation for horizontal pixels. |
| Gauss | Gaussian scaling filter, smoothens the output. |
| Lanczos | Lanczos scaling filter, known for high-quality output. |
| NearestNeighbor | Point rescaling, or nearest neighbor, good for sharp edges. |
| PrintInfo | Print additional information during scaling. |
| Sinc | Sinc rescaling filter, produces high-quality scaling. |
| Spline | Spline scaling filter, offers high-quality and smooth scaling. |
| Strict | Return an error on underspecified conversions. |