screenshot: improve quality by using additional swscale flags
commit5f27fa97df8b1c1131e1269e0225ba25f0d1a46a
authorwm4 <wm4@mplayer2.org>
Wed, 18 Jan 2012 01:09:43 +0000 (18 02:09 +0100)
committerUoti Urpala <uau@mplayer2.org>
Mon, 27 Aug 2012 21:14:47 +0000 (28 00:14 +0300)
treeab9fbb6cd28ba2f4938051b7822eb7c510e2f434
parent458001463b2252fc56f2e87d4348708ec46d6777
screenshot: improve quality by using additional swscale flags

Adding these flags improves the quality of the YUV->RGB conversion when
screenshots are taken. It trades precision for performance.

This doesn't affect any other swscale uses, such as vf_scale or vo_x11.

Based on a patch by cantabile. Fixes #140.
libmpcodecs/vf_scale.c
libmpcodecs/vf_scale.h
screenshot.c