<div dir="auto">Peter<div dir="auto"><br></div><div dir="auto">Thanks for testing.</div><div dir="auto"><br></div><div dir="auto">Re extra stage - I still have no idea why the extra stage is needed but was hoping it was fixed by 80b501c.</div><div dir="auto"><br></div><div dir="auto">With respect to HQUYV v UYVY, the HQ version should give better quality on interlaced content - it will only really manifest though on certain material and material that is properly encoded in the first place.</div><div dir="auto"><br></div><div dir="auto">Performance wise, it's telling that the rgba profile outperforms the HQ profile. The HQ code really needs some NEON help. Full software YUV to RGBA is pretty CPU intensive but the FFmpeg libs presumably have some pretty good neon support.</div><div dir="auto"><br></div><div dir="auto">As the other Mark has also noticed, the YV12 shaders are degrading quality slightly with what I think is an attempt at handling the interlaced chroma issue - but it is not working properly. I didn't want to remove the offending code before release and without time to test alternatives.</div><div dir="auto"><br></div><div dir="auto">Also worth noting that the opengl-lite profile tests are probably actually falling back to UYVY (opengl) as I doubt the required extensions are available on the fire stick - though possibly available on the shield (NVidia usually support a good range of extensions).</div><div class="gmail_quote" dir="auto"><div dir="ltr"><br></div><div dir="ltr">Next steps are to start optimising the shaders a little, perhaps in a device specific manor and to optimise the renderers generally to ensure we are getting the best performance. For example, some GLSL compilers/devices will probably perform better without any branching in the shaders.</div><div dir="ltr"><br></div><div dir="ltr">I'm fairly sure we can improve the YV12 speed by using a texture for each plane which will reduce memory access speed/latency in the shaders. Likewise, for deinterlacing, by binding the same video texture multiple times with a slightly different vertex offset, we can again improve memory access.</div><div dir="ltr"><br></div><div dir="ltr">And of course this all moot on android if we can sort out direct mediacodec rendering:)</div><div dir="ltr"><br></div><div dir="ltr">Regards</div><div dir="ltr">Mark</div><div dir="ltr"><br></div><div dir="ltr">due, Jan 8, 2019, 9:08 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did some testing on Android devices of the latest Master version with <br>
OpenGL changes. Everything looks good.<br>
<br>
The fire 4K still need "Extra Stage" turned on, the Shield does not need <br>
the extra stage.<br>
opengl-yv12 with Bob 2x HW  and Linear blend HW deinterlace seems the <br>
best for Fire 4K.<br>
Some of the new OpenGL options have fewer deinterlace options.<br>
<br>
  - fire 4K<br>
Extra stage, 1080i, Bob 2x HW-GL<br>
opengl - Bob 2x HW-GL - perfect<br>
opengl-yv12 - Bob 2x HW-GL - perfect<br>
opengl-lite - SW Bob 2x - perfect<br>
opengl-hquyvy - Bob 2x HW-GL - drops 17 frames per second<br>
opengl-rgba - interlaced 2x - drops 2 frames per second, jerky<br>
opengl-rgba - linear blend (software) - perfect<br>
<br>
Extra stage, 720p 60 fps<br>
opengl-yv12 - perfect<br>
<br>
No green lines<br>
<br>
  - Shield<br>
NO Extra stage, 1080i, Bob 2x HW-GL<br>
opengl - Bob 2x HW-GL - perfect<br>
opengl-yv12 - Bob 2x HW-GL - perfect<br>
opengl-lite - SW Bob 2x - perfect<br>
opengl-hquyvy -  Bob 2x HW-GL - perfect<br>
opengl-rgba - interlaced 2x  - perfect<br>
<br>
NO Extra stage, 720p 60 fps<br>
opengl - perfect<br>
opengl-yv12 - perfect<br>
<br>
No green lines for any size video<br>
<br>
Peter<br>
_______________________________________________<br>
mythtv-dev mailing list<br>
<a href="mailto:mythtv-dev@mythtv.org" target="_blank" rel="noreferrer">mythtv-dev@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-dev" rel="noreferrer noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-dev</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div></div>