swsscale
Swsscale, commonly referred to as libswscale, is a software library in the FFmpeg project that performs image scaling and pixel format conversion for video frames. It provides a set of utilities to resize images and convert between various color spaces and pixel formats, independently of the surrounding decoding or encoding pipeline.
The library supports a broad range of resizing algorithms, from nearest neighbor to high-quality filters such
Usage is through a SwsContext, created with sws_getContext, configured with input and output formats, sizes, and
Libswscale is a core component in FFmpeg’s workflow, enabling efficient conversion and scaling when bridging different