logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

libswscale - video scaling and pixel format conversion library

Authors

The FFmpeg developers. For details about the authorship, see the Git history of the project (https://git.ffmpeg.org/ffmpeg), e.g. by typing the command gitlog in the FFmpeg source directory, or browsing the online repository at <https://git.ffmpeg.org/ffmpeg>. Maintainers for the specific components are listed in the file MAINTAINERS in the source code tree. doc::libswscale(3)

Description

The libswscale library performs highly optimized image scaling and colorspace and pixel format conversion operations. Specifically, this library performs the following conversions: • Rescaling: is the process of changing the video size. Several rescaling options and algorithms are available. This is usually a lossy process. • Pixelformatconversion: is the process of converting the image format and colorspace of the image, for example from planar YUV420P to RGB24 packed. It also handles packing conversion, that is converts from packed layout (all pixels belonging to distinct planes interleaved in the same buffer), to planar layout (all samples belonging to the same plane stored in a dedicated buffer or "plane"). This is usually a lossy process in case the source and destination colorspaces differ.

Name

libswscale - video scaling and pixel format conversion library

See Also

ffmpeg(1), ffplay(1), ffprobe(1), ffmpeg-scaler(1), libavutil(3)

See Also