amlogic/deinterlace: Don't bypass if the stream is mixed Interlaced and Progressive
authorRay <1458889+rayelec@users.noreply.github.com>
Wed, 5 Jun 2019 09:15:04 +0000 (11:15 +0200)
committerNick Xie <nick@khadas.com>
Fri, 12 Jul 2019 05:37:05 +0000 (13:37 +0800)
commit343e049ec8dfa03c6d0836942b8e8462f4ac5da6
treea3f2321d4e64fcc953b5e344e1149f319f9a987d
parent2b732f1a87836a196000f8d77bf5cd6c6c79a516
amlogic/deinterlace: Don't bypass if the stream is mixed Interlaced and Progressive

It fixes slowdowns on I/P switching.
Some UK streams switch between I and P (mostly) in commercials. 98% of
the stream is still interlaced so it is safe to DI the whole stream.
drivers/amlogic/media/deinterlace/deinterlace.c