public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Javier Martin <javiermartin@by.com.es>
To: linux-media <linux-media@vger.kernel.org>
Subject: Re: imx-drm: Color issues scanning out YUV420 frames through the overlay plane.
Date: Fri, 07 Aug 2015 13:04:13 +0200	[thread overview]
Message-ID: <55C490AD.1010904@by.com.es> (raw)
In-Reply-To: <55C45D72.1030204@by.com.es>

Sorry for sending this to the wrong list.

On 07/08/15 09:25, Javier Martin wrote:
> Hi,
> I am using mainline kernel 4.1 and I was writing a small application
> that uses double buffering to read YUV420 frames from a file at 30fps
> and displays them using the overlay plane in the imx-drm driver.
>
> The first issue I noticed is that the image was green so I had to apply
> the following patches to make the U and V components be scanned out
> properly:
>
> http://lists.freedesktop.org/archives/dri-devel/2014-October/071052.html
> http://lists.freedesktop.org/archives/dri-devel/2014-October/071025.html
> http://lists.freedesktop.org/archives/dri-devel/2014-October/071048.html
>
> The thing is that, even after applying the 3 patches above, colors are a
> bit strange. They seem about right but there are some artifacts, like a
> saturation effect that spoils the image. You can see some snapshots here
> to see what I am talking about:
> https://imageshack.com/i/f0nAM5Xbj
> https://imageshack.com/i/hl7bZMNjj
> https://imageshack.com/i/eyRjURxRj
>
> And the original video is the first one in this page:
> http://media.xiph.org/video/derf/
>
> On the other hand, colors in the primary plane using the fbdev interface
> and RGB look correct.
>
> Has anyone seen something similar or is YUV420 working fine for you?
>
> Regards,
> Javier.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



      reply	other threads:[~2015-08-07 11:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07  7:25 imx-drm: Color issues scanning out YUV420 frames through the overlay plane Javier Martin
2015-08-07 11:04 ` Javier Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55C490AD.1010904@by.com.es \
    --to=javiermartin@by.com.es \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox