deinterlace: Better alternate support
authorVivia Nikolaidou <vivia@ahiru.eu>
Sat, 30 Jan 2021 13:49:23 +0000 (15:49 +0200)
committerVivia Nikolaidou <vivia@ahiru.eu>
Wed, 3 Feb 2021 14:30:15 +0000 (16:30 +0200)
commit4c4e1b580e92dc2c6a2e95786ac56eab20b4927e
treed1c777ab71bf9fe5a6d0d4d54b9ecb348dbb8a1f
parent5f00810ee0ba63c54862135e577c8d792f72928c
deinterlace: Better alternate support

Improve line offset halving based on whether this field is top or
bottom.

Also handle the buffer state the same as mixed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/866>
gst/deinterlace/gstdeinterlace.c
gst/deinterlace/gstdeinterlacemethod.c