Skip to content

Add missing SWS_SPLINE interpolation#2188

Open
lgeiger wants to merge 2 commits intoPyAV-Org:mainfrom
lgeiger:spline
Open

Add missing SWS_SPLINE interpolation#2188
lgeiger wants to merge 2 commits intoPyAV-Org:mainfrom
lgeiger:spline

Conversation

@lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Mar 11, 2026

This is already part of the typehints, but wasn't implemented

SPLINE = cast(int, ...)

GAUSS: "Gaussian" = SWS_GAUSS
SINC: "Sinc" = SWS_SINC
LANCZOS: "Bicubic spline" = SWS_LANCZOS
LANCZOS: "Lanczos" = SWS_LANCZOS
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to use "3-tap sinc/sinc" as a description here to match ffmpeg. Let me know what you prefer

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants