Commit 8840ce92 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Fix typos found by ispell.

Originally committed as revision 15320 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 88cdf2f4
...@@ -24,7 +24,7 @@ Current (simplified) Architecture: ...@@ -24,7 +24,7 @@ Current (simplified) Architecture:
output output
Swscale has 2 scaler pathes, each side must be capable to handle Swscale has 2 scaler paths, each side must be capable to handle
slices, that is consecutive non overlapping rectangles of dimension slices, that is consecutive non overlapping rectangles of dimension
(0,slice_top) - (picture_width, slice_bottom) (0,slice_top) - (picture_width, slice_bottom)
...@@ -51,7 +51,7 @@ Input to YUV Converter ...@@ -51,7 +51,7 @@ Input to YUV Converter
When the input to the main path is not planar 8bit per component yuv or When the input to the main path is not planar 8bit per component yuv or
8bit gray then it is converted to planar 8bit YUV, 2 sets of converters 8bit gray then it is converted to planar 8bit YUV, 2 sets of converters
exist for this currently one performing horizontal downscaling by 2 exist for this currently one performing horizontal downscaling by 2
before the convertion and the other leaving the full chroma resolution before the conversion and the other leaving the full chroma resolution
but being slightly slower. The scaler will try to preserve full chroma but being slightly slower. The scaler will try to preserve full chroma
here when the output uses it, its possible to force full chroma with here when the output uses it, its possible to force full chroma with
SWS_FULL_CHR_H_INP though even for cases where the scaler thinks its SWS_FULL_CHR_H_INP though even for cases where the scaler thinks its
...@@ -59,12 +59,12 @@ Input to YUV Converter ...@@ -59,12 +59,12 @@ Input to YUV Converter
Horizontal scaler Horizontal scaler
There are several horizontal scalers, a special case worth mentioning is 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 MMX2 code
using specially tuned pshufw instructions. using specially tuned pshufw instructions.
The remaining scalers are specially tuned for various filter lengths The remaining scalers are specially tuned for various filter lengths
they scale 8bit unsigned planar data to 16bit signed planar data. they scale 8bit unsigned planar data to 16bit signed planar data.
Future >8bit per component inputs will need to add a new scaler here Future >8bit per component inputs will need to add a new scaler here
that preserves the input precission. that preserves the input precision.
Vertical scaler and output converter Vertical scaler and output converter
There is a large number of combined vertical scalers+output converters There is a large number of combined vertical scalers+output converters
...@@ -88,8 +88,8 @@ Filter coefficients: ...@@ -88,8 +88,8 @@ Filter coefficients:
-------------------- --------------------
There are several different scalers (bilinear, bicubic, lanczos, area, sinc, ...) There are several different scalers (bilinear, bicubic, lanczos, area, sinc, ...)
Their coefficients are calculated in initFilter(). Their coefficients are calculated in initFilter().
Horinzontal filter coeffs have a 1.0 point at 1<<14, vertical ones at 1<<12. Horizontal filter coeffs have a 1.0 point at 1<<14, vertical ones at 1<<12.
The 1.0 points have been choosen to maximize precission while leaving a The 1.0 points have been chosen to maximize precision while leaving a
little headroom for convolutional filters like sharpening filters and little headroom for convolutional filters like sharpening filters and
minimizing SIMD instructions needed to apply them. minimizing SIMD instructions needed to apply them.
It would be trivial to use a different 1.0 point if some specific scaler It would be trivial to use a different 1.0 point if some specific scaler
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment