Libswscale 文档编制

1 描述

libswscale 库履行高度优化的图像缩放、色彩空间及像素格式转换操作。

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.
  • Pixel format conversion : 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.

2 另请参阅

ffmpeg , ffplay , ffprobe , ffmpeg-scaler , libavutil

3 作者

FFmpeg 开发者。

For details about the authorship, see the Git history of the project (git://, e.g. by typing the command git log in the FFmpeg source directory, or browsing the online repository at .

Maintainers for the specific components are listed in the file ‘ MAINTAINERS ’ in the source code tree.