Mercurial > mplayer.hg
changeset 6685:ca8da0cc0cdf
swscaler methods recommendation & artifact types
author | michael |
---|---|
date | Tue, 09 Jul 2002 21:36:37 +0000 |
parents | da6af57c48fc |
children | d7a83bb5fec9 |
files | DOCS/tech/swscaler_methods.txt |
diffstat | 1 files changed, 68 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/tech/swscaler_methods.txt Tue Jul 09 21:36:37 2002 +0000 @@ -0,0 +1,68 @@ + +artifact types: +--------------------------------------------------------------------- +ringing + wave or noise like patterns around sharp edges + bad: sinc, lanczos (with high filter length) + acceptable: lanczos (with low filter length), cubic, spline + ok: area, (fast)blinear, gauss, point + +blur + loss of detail / high frequency + bad: gauss with high variance + acceptable: (fast)bilinear, area + ok: others + +aliassing (only downscale) + straight lines look like staircases + areas of high detail look worse + regular patterns turn into a funny looking mess (moire patterns) + bad: fast bilinear, point, gauss with low variance + acceptable: area + ok: others + +blocky (upscale only) + looks like the image is made of rectangular blocks like a mosaic + bad: point + ok: others + +recommanditions: (based upon my personal oppinion many ppl might disagree ...) +--------------------------------------------------------------------- + +the recomanded scalers for upscaling: +fast_bilinear, point if speed is important +cubic, spline, lanczos if quality is important + +the recomanded scalers for downscaling: +fast_bilinear, point if speed is important +gauss, bilinear if quality is important +cubic, spline, lanczos if a sharper picture is important + +note: when encoding at a limited amount of bits (not constant quantizer) +than a slightly blured input might look better after decoding than a slightly +sharpend one, especially for lower bitrates + +sws numbers / names / artefact types +------------------------------------------------------------------------- +r ringing +b blurry +a aliasing (downscale only) +m mosaic (blocky) (upscale only) + +-sws 0 fast bilinear bA +-sws 1 bilinear b +-sws 2 bicubic high sharpness r + low sharpness b +-sws 3 experimental ???? +-sws 4 nearest neighbour AM +-sws 5 area ba +-sws 6 luma bicubic / chroma bilinear r +-sws 7 gauss low sharpness B + high sharpness AM +-sws 8 sinc R +-sws 9 lanczos long filter R + short filter b +-sws 10 bicubic spline r + +Notes: + area upscale is identical to bilinear \ No newline at end of file