deinterlace: rewrite how neighboring scan lines are calculated
authorDavid Schleef <ds@schleef.org>
Wed, 12 Jan 2011 22:03:57 +0000 (14:03 -0800)
committerRobert Swain <robert.swain@collabora.co.uk>
Tue, 18 Jan 2011 10:04:08 +0000 (11:04 +0100)
commitc2b343cd7694822f0c2a5a77ace37cf9a0691e17
tree7b0ec979d24a20763331956510bb7162f3138235
parent7d9b7abbd45947d107da19f9e5248d8884cfeb5d
deinterlace: rewrite how neighboring scan lines are calculated

Old code was difficult to understand exactly how the neighboring
scan lines are calculated, and it appeared that some were off by
+2 or -2, depending on the field flag.  Fixes #639321.
gst/deinterlace/gstdeinterlacemethod.c