This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 803ac771874db4e672af13a5e57e6f9541d63f27 Author: Niklas Haas <[email protected]> AuthorDate: Wed Feb 18 17:51:12 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Thu Mar 12 22:09:13 2026 +0100 swscale: mark scale-related SwsFlags as deprecated Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <[email protected]> --- libswscale/swscale.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 14c7d4cc57..5532826a99 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -108,21 +108,6 @@ typedef enum SwsScaler { } SwsScaler; typedef enum SwsFlags { - /** - * Scaler selection options. Only one may be active at a time. - */ - SWS_FAST_BILINEAR = 1 << 0, ///< fast bilinear filtering - SWS_BILINEAR = 1 << 1, ///< bilinear filtering - SWS_BICUBIC = 1 << 2, ///< 2-tap cubic B-spline - SWS_X = 1 << 3, ///< experimental - SWS_POINT = 1 << 4, ///< nearest neighbor - SWS_AREA = 1 << 5, ///< area averaging - SWS_BICUBLIN = 1 << 6, ///< bicubic luma, bilinear chroma - SWS_GAUSS = 1 << 7, ///< gaussian approximation - SWS_SINC = 1 << 8, ///< unwindowed sinc - SWS_LANCZOS = 1 << 9, ///< 3-tap sinc/sinc - SWS_SPLINE = 1 << 10, ///< unwindowed natural cubic spline - /** * Return an error on underspecified conversions. Without this flag, * unspecified fields are defaulted to sensible values. @@ -183,6 +168,22 @@ typedef enum SwsFlags { */ SWS_DIRECT_BGR = 1 << 15, ///< This flag has no effect SWS_ERROR_DIFFUSION = 1 << 23, ///< Set `SwsContext.dither` instead + + /** + * Scaler selection options. Only one may be active at a time. + * Deprecated in favor of `SwsContext.scaler`. + */ + SWS_FAST_BILINEAR = 1 << 0, ///< fast bilinear filtering + SWS_BILINEAR = 1 << 1, ///< bilinear filtering + SWS_BICUBIC = 1 << 2, ///< 2-tap cubic B-spline + SWS_X = 1 << 3, ///< experimental + SWS_POINT = 1 << 4, ///< nearest neighbor + SWS_AREA = 1 << 5, ///< area averaging + SWS_BICUBLIN = 1 << 6, ///< bicubic luma, bilinear chroma + SWS_GAUSS = 1 << 7, ///< gaussian approximation + SWS_SINC = 1 << 8, ///< unwindowed sinc + SWS_LANCZOS = 1 << 9, ///< 3-tap sinc/sinc + SWS_SPLINE = 1 << 10, ///< unwindowed natural cubic spline } SwsFlags; typedef enum SwsIntent { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
