Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8840ce92
Commit
8840ce92
authored
Sep 14, 2008
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos found by ispell.
Originally committed as revision 15320 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
88cdf2f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
swscale.txt
doc/swscale.txt
+6
-6
No files found.
doc/swscale.txt
View file @
8840ce92
...
...
@@ -24,7 +24,7 @@ Current (simplified) Architecture:
output
Swscale has 2 scaler path
e
s, 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
(0,slice_top) - (picture_width, slice_bottom)
...
...
@@ -51,7 +51,7 @@ Input to YUV Converter
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
exist for this currently one performing horizontal downscaling by 2
before the conver
t
ion and the other leaving the full chroma resolution
before the conver
s
ion and the other leaving the full chroma resolution
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
SWS_FULL_CHR_H_INP though even for cases where the scaler thinks its
...
...
@@ -59,12 +59,12 @@ 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
mmx
2 code
the fast bilinear scaler that is made of runtime generated
MMX
2 code
using specially tuned pshufw instructions.
The remaining scalers are specially tuned for various filter lengths
they scale 8bit unsigned planar data to 16bit signed planar data.
Future >8bit per component inputs will need to add a new scaler here
that preserves the input precis
s
ion.
that preserves the input precision.
Vertical scaler and output converter
There is a large number of combined vertical scalers+output converters
...
...
@@ -88,8 +88,8 @@ Filter coefficients:
--------------------
There are several different scalers (bilinear, bicubic, lanczos, area, sinc, ...)
Their coefficients are calculated in initFilter().
Hori
n
zontal filter coeffs have a 1.0 point at 1<<14, vertical ones at 1<<12.
The 1.0 points have been cho
osen to maximize precis
sion while leaving a
Horizontal filter coeffs have a 1.0 point at 1<<14, vertical ones at 1<<12.
The 1.0 points have been cho
sen to maximize preci
sion while leaving a
little headroom for convolutional filters like sharpening filters and
minimizing SIMD instructions needed to apply them.
It would be trivial to use a different 1.0 point if some specific scaler
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment