X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fswscale.txt;h=dbb4e2901ecc83bfaa2f2557f1e6e474e605a26a;hb=6992c806e60df2ce2ad5096e47e9e35befc76abc;hp=98541f13e5f91e0cc9b731789421c4b709db2654;hpb=4d6a1161c78d726e7a394b6249a83a3319bc75b9;p=ffmpeg diff --git a/doc/swscale.txt b/doc/swscale.txt index 98541f13e5f..dbb4e2901ec 100644 --- a/doc/swscale.txt +++ b/doc/swscale.txt @@ -10,12 +10,12 @@ Current (simplified) Architecture: / \ special converter [Input to YUV converter] | | - | (8bit YUV 4:4:4 / 4:2:2 / 4:2:0 / 4:0:0 ) + | (8-bit YUV 4:4:4 / 4:2:2 / 4:2:0 / 4:0:0 ) | | | v | Horizontal scaler | | - | (15bit YUV 4:4:4 / 4:2:2 / 4:2:0 / 4:1:1 / 4:0:0 ) + | (15-bit YUV 4:4:4 / 4:2:2 / 4:2:0 / 4:1:1 / 4:0:0 ) | | | v | Vertical scaler and output converter @@ -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 @@ -58,7 +58,7 @@ Input to YUV Converter Horizontal scaler There are several horizontal scalers. A special case worth mentioning is - the fast bilinear scaler that is made of runtime-generated MMX2 code + the fast bilinear scaler that is made of runtime-generated MMXEXT code 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. @@ -96,4 +96,3 @@ would benefit from it. Also, as already hinted at, initFilter() accepts an optional convolutional filter as input that can be used for contrast, saturation, blur, sharpening shift, chroma vs. luma shift, ... -