GNOME Bugzilla – Bug 588761
[videoscale] Needs special support for interlaced content
Last modified: 2009-08-06 06:08:21 UTC
+++ This bug was initially created as a clone of Bug #588535 +++ First of all the same as in bug #588535 applies to videoscale too but additional it needs to handle all interlaced content different from progressive content. Currently videoscale simply mixes the lines from the two fields (with all three algorithms) as the algorithms interpolate lines from the next lines and not from every second next line. This needs to be fixed.
I'll push this after 0.10.24 release. commit 7a850800475753663faff7fc5d5bf6579424ed33 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue Jul 28 15:54:14 2009 +0200 videoscale: Make sure to allocate enough memory for the temporary buffer and fix scaling of odd-height interlaced video. commit 9a48ff70048044e23a273a147a1422dbeae21647 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue Jul 28 15:18:56 2009 +0200 videoscale: Fix interlaced scaling for I420 ...and some other minor mistakes in the previous change. commit f2faf39fcdd7f507f0e1ce96d056f428ddcba1d0 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue Jul 28 13:55:30 2009 +0200 videoscale: Add support for interlaced content videoscale is not mixing content of two seperate fields anymore and does scaling on every field separately. Fixes bug #588761.
Scaling fields isn't any more correct than scaling interlaced frames, and will tend to cause artifacts that are visible in more frames. The correct way to do this would be to disallow vertical scaling of interlaced video or deinterlacing, scaling, and then reinterlacing.