1\input texinfo @c -*- texinfo -*- 2@documentencoding UTF-8 3 4@settitle Libswscale Documentation 5@titlepage 6@center @titlefont{Libswscale Documentation} 7@end titlepage 8 9@top 10 11@contents 12 13@chapter Description 14@c man begin DESCRIPTION 15 16The libswscale library performs highly optimized image scaling and 17colorspace and pixel format conversion operations. 18 19Specifically, this library performs the following conversions: 20 21@itemize 22@item 23@emph{Rescaling}: is the process of changing the video size. Several 24rescaling options and algorithms are available. This is usually a 25lossy process. 26 27@item 28@emph{Pixel format conversion}: is the process of converting the image 29format and colorspace of the image, for example from planar YUV420P to 30RGB24 packed. It also handles packing conversion, that is converts 31from packed layout (all pixels belonging to distinct planes 32interleaved in the same buffer), to planar layout (all samples 33belonging to the same plane stored in a dedicated buffer or "plane"). 34 35This is usually a lossy process in case the source and destination 36colorspaces differ. 37@end itemize 38 39@c man end DESCRIPTION 40 41@chapter See Also 42 43@ifhtml 44@url{ffmpeg.html,ffmpeg}, @url{ffplay.html,ffplay}, @url{ffprobe.html,ffprobe}, 45@url{ffmpeg-scaler.html,ffmpeg-scaler}, 46@url{libavutil.html,libavutil} 47@end ifhtml 48 49@ifnothtml 50ffmpeg(1), ffplay(1), ffprobe(1), 51ffmpeg-scaler(1), 52libavutil(3) 53@end ifnothtml 54 55@include authors.texi 56 57@ignore 58 59@setfilename libswscale 60@settitle video scaling and pixel format conversion library 61 62@end ignore 63 64@bye 65