After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 161079 - [videoscale] implement bilinear or bicubic methods for down-scaling
[videoscale] implement bilinear or bicubic methods for down-scaling
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal enhancement
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-12 13:23 UTC by Tim-Philipp Müller
Modified: 2005-06-30 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2004-12-12 13:23:04 UTC
Currently videoscale only supports Nearest Neighbour as scaling method. 
 
Nearest Neighbour is fast and works pretty well for scaling up, but is just 
not really usable for down-scaling video images. The resulting picture is very 
blocky with 'stair-case' effects that are very easy to notice at almost all 
(picture object) edges. 
 
It would be great if GStreamer would implement scaling methods that produce 
reasonable results for downscaling as well. 
 
gdkpixbufscale is not really an alternative, as it only accepts rgb input, and 
the colorspace conversion seems to be very expensive compared to the actual 
scaling (from a couple of quick tests I made using gst-launch and 
videotestsrc). 
 
Cheers 
 -Tim
Comment 1 Tim-Philipp Müller 2004-12-12 15:11:32 UTC
Just for comparison, check out: 
 
 http://thoggen.net/temp/161079-videoscale.png 
 http://thoggen.net/temp/161079-gdkpixbufscale-bilinear.png 
 
Pay attention to 
 * the curb on the left 
 * the text outline 
 * the left arm where it is set off against the bright sky 
 * the front roof of the building set off against the bright sky 
 
Cheers 
 -Tim 
 
Comment 2 David Schleef 2005-06-16 01:07:18 UTC
Done-diddily-done, neighbors.