<html><body><div style="font-family:Calibri, Arial, Helvetica, sans-serif; font-size:12.0pt; line-height:1.3; color:#1F497D"><!-- ##### NINE BODY BEGIN ##### --><div>YV12 (same as yuv420p) is 3 planes, nv12 is 2 planes (u and v planes interleaved). <br><br>Modifying the OGL deinterlacer to handle nv12 should be trivial. I don't know of any hardware decoder outputting 3 planes yuv. <br><br>Next month I'm back in Oz permanently where I have a working mythtv system. I'll be able to get back into coding a bit (plus I need a new hobby). <br>Happy to give a hand then. <br></div><div><br></div><div id="signature-x" style="-webkit-user-select:none; font-family:Calibri, Arial, Helvetica, sans-serif; font-size:12.0pt; color:#1F497D" class = "signature_editor">Get Firefox on Android<br></div><!-- ##### NINE BODY END ##### --></div><div class="quoted_output_body"><div id="quoted_header" class="quoted_header_editor" style="clear:both;"><hr style="border:none; height:1px; color:#E1E1E1; background-color:#E1E1E1;"/><div style="border:none; padding:3.0pt 0cm 0cm 0cm"><span style="font-size:11.0pt;font-family:Calibri, Arial, Helvetica, sans-serif"><b>From:</b> Peter Bennett<br><b>Sent:</b> Tuesday, 11 December 2018 23:27<br><b>To:</b> David Engel; Development of MythTV<br><b>Subject:</b> Re: [mythtv] YV12 problem<br></span></div></div><br type='attribution'><div id="quoted_body" class="quoted_body_editor"><p dir="ltr"></p>
<p dir="ltr">On 12/11/18 3:13 PM, Peter Bennett wrote:<br>
> Hi David<br>
><br>
> Please can you point me to the patches that you are planning to <br>
> install, or specific instructions on which commits you will reverse, <br>
> so that I can do a test.<br>
><br>
> Here are close-up photos of the screen from current master with UYVY <br>
> and YV12 when using fire stick (non-4k) or "mi box s" or other devices <br>
> that do not support high precision opengl es.<br>
><br>
> Screen using YV12 checked ---> https://imgur.com/lbfyEWQ<br>
> Screen using YV12 unchecked (i.e. using UYVY) ---> <br>
> https://imgur.com/dLoMUau<br>
><br>
> If you send me your patches I will test with those and see how the <br>
> picture looks.<br>
><br>
> Peter</p>
<p dir="ltr">I have tried your patch on ticket #13358. It produces the jagged result <br>
(https://imgur.com/dLoMUau) on the Fire TV (non-4k), without any ability <br>
to fix it.</p>
<p dir="ltr">I agree that the code you are removing is flawed, as stated by Mark. I <br>
recommend that we change the default for the "enable YV12" setting  to <br>
be "false" for everybody, which bypasses that flawed code and achieves <br>
the same effect as removing it. The users of fire tv non-4k, mi box s, <br>
or other android devices that do not support high precision can still <br>
enable that check box to fix the jaggies, albeit with flawed code that <br>
does not properly support kernel deinterlace. However, using Linear <br>
blend deinterlace with YV12 is better than looking at that jagged picture.</p>
<p dir="ltr">If somebody can come up with better code that supports these android <br>
devices without the jaggies, we can then remove that faulty YV12 code.</p>
<p dir="ltr">If my recommendation is not taken and the code is removed, then we need <br>
to remove the setting from the frontend setup for enabling/disabling <br>
YV12, since that will no longer have any effect. I will also need to <br>
update the wiki to remove the recommendations around YV12 for android.</p>
<p dir="ltr">Peter<br>
_______________________________________________<br>
mythtv-dev mailing list<br>
mythtv-dev@mythtv.org<br>
http://lists.mythtv.org/mailman/listinfo/mythtv-dev<br>
http://wiki.mythtv.org/Mailing_List_etiquette<br>
MythTV Forums: https://forum.mythtv.org</p>
</div></div></div></body></html>