X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fswscale.txt;h=4c62e67321727c67b3f8aa56ba2a837897b4d1b5;hb=ee42716b07073549cefabec466a33fad39ed5eb6;hp=5909bf150a0cc8e99a04e8fb7bda8c3ee1111a6c;hpb=f236aa47ca1cb29b514707aa4059820622d5df7e;p=ffmpeg diff --git a/doc/swscale.txt b/doc/swscale.txt index 5909bf150a0..4c62e673217 100644 --- a/doc/swscale.txt +++ b/doc/swscale.txt @@ -30,7 +30,7 @@ slices, that is, consecutive non-overlapping rectangles of dimension special converter These generally are unscaled converters of common - formats, like YUV 4:2:0/4:2:2 -> RGB15/16/24/32. Though it could also + formats, like YUV 4:2:0/4:2:2 -> RGB12/15/16/24/32. Though it could also in principle contain scalers optimized for specific common cases. Main path @@ -49,11 +49,11 @@ Main path Input to YUV Converter When the input to the main path is not planar 8 bits per component YUV or - 8-bit gray then it is converted to planar 8-bit YUV. 2 sets of converters + 8-bit gray, it is converted to planar 8-bit YUV. Two sets of converters exist for this currently: One performs horizontal downscaling by 2 - before the conversion, the other leaves the full chroma resolution + before the conversion, the other leaves the full chroma resolution, but is slightly slower. The scaler will try to preserve full chroma - here when the output uses it. It is possible to force full chroma with + when the output uses it. It is possible to force full chroma with SWS_FULL_CHR_H_INP even for cases where the scaler thinks it is useless. Horizontal scaler @@ -62,8 +62,8 @@ Horizontal scaler using specially tuned pshufw instructions. The remaining scalers are specially-tuned for various filter lengths. They scale 8-bit unsigned planar data to 16-bit signed planar data. - Future >8 bits per component inputs will need to add a new scaler here - that preserves the input precision. + Future >8 bits per component inputs will need to add a new horizontal + scaler that preserves the input precision. Vertical scaler and output converter There is a large number of combined vertical scalers + output converters.