[mythtv] Playback next steps

David Engel david at istwok.net
Wed Dec 19 20:45:48 UTC 2018


On Wed, Dec 19, 2018 at 10:02:35AM -0600, David Engel wrote:
> On Wed, Dec 19, 2018 at 07:10:31AM +0000, Mark Kendall wrote:
> > On Wed, Dec 19, 2018, 2:52 AM David Engel <david at istwok.net wrote:
> > 
> > > On Mon, Dec 17, 2018 at 08:20:57PM +0000, Mark Kendall wrote:
> > > > I have a patch for the UYVY code ready to go. It will fix the
> > > > interlaced chroma issue and the precision problem. It is not at all
> > > > invasive. If OpenGLVideo currently works without YV12 or UYVY, it will
> > > > work after the change. It effectively removes the custom UYVY code. We
> > > > still use UYVY but it is not as densely packed - so there is a larger
> > > > texture in video memory but no sampling problem and no need for the
> > > > extra filter stage.
> > >
> > > Mark, the colors are now messed up on my nvidia shield and firetv
> > > stick 4k when the YV12 option is not enabled.  It looks like the red
> > > and blue are reversed.  I suspect commit 43b64d5c.  The colors are
> > > correct when YV12 is enabled and on Linux regardless of the YV12
> > > setting.
> > >
> > > David
> > > --
> > >
> > 
> > Sounds like the UV planes are swapped.
> 
> Yes, what I figured.
> 
> > Must be an issue with the non-mmx packing code - which is the only thing I
> > didn't think to check.
> 
> Also waht I figured.
> 
> > Or perhaps an endianness issue?
> 
> All indications are the Shield is little endian so that's probably not
> it.
> 
> > Sitting on tarmac waiting for delayed flight to leave and won't be back
> > until after Christmas - so can't look at it for a few days.
> 
> I'll see if I can figure it out.

I don't see the obvious fix.  My best guess is something is not
accounting for GL_BGRA being set to GL_RGBA because the former is
missing in Android's gl.h.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list