.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "doc::libswscale 3" .TH doc::libswscale 3 " " " " " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME libswscale \- video scaling and pixel format conversion library .SH DESCRIPTION .IX Header "DESCRIPTION" The libswscale library performs highly optimized image scaling and colorspace and pixel format conversion operations. .PP Specifically, this library performs the following conversions: .IP \(bu 4 \&\fIRescaling\fR: is the process of changing the video size. Several rescaling options and algorithms are available. This is usually a lossy process. .IP \(bu 4 \&\fIPixel format conversion\fR: 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"). .Sp This is usually a lossy process in case the source and destination colorspaces differ. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBffmpeg\fR\|(1), \fBffplay\fR\|(1), \fBffprobe\fR\|(1), \&\fBffmpeg\-scaler\fR\|(1), \&\fBlibavutil\fR\|(3) .SH AUTHORS .IX Header "AUTHORS" The FFmpeg developers. .PP For details about the authorship, see the Git history of the project (https://git.ffmpeg.org/ffmpeg), e.g. by typing the command \&\fBgit log\fR in the FFmpeg source directory, or browsing the online repository at <\fBhttps://git.ffmpeg.org/ffmpeg\fR>. .PP Maintainers for the specific components are listed in the file \&\fIMAINTAINERS\fR in the source code tree.