From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 82255] [VP2] Chroma planes are vertically stretched during VDPAU playback Date: Mon, 01 Sep 2014 06:50:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0211614247==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0211614247== Content-Type: multipart/alternative; boundary="1409554228.Ad3Ec1.10904"; charset="us-ascii" --1409554228.Ad3Ec1.10904 Date: Mon, 1 Sep 2014 06:50:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=82255 --- Comment #12 from Ilia Mirkin --- The source data is messed up. Just look at the luma/chroma planes that you captured. The overall image is 1280x544. Which means that each field is 1280x272. And chroma would be 640x136 These look great: gm display -size 1280x272 gray:sv0-texture0 gm display -size 1280x272 gray:sv0-texture1 These... don't: gm display -size 640x136 gray:sv1-texture0 gm display -size 640x136 gray:sv1-texture1 Note that texture1 has *some* stuff in it... and trying to display it as gm display -size 1280x68 gray:sv1-texture1 Shows *some* stuff, but not that much. Of course, vdpau *generally speaking* works on vp2, so it's highly unlikely that the decoding step is entirely broken. It must be some bit of sampler view setup, I guess. I'm also guessing that you somehow messed up capturing the contents of the chroma since it should have had 2 components, not 1 (which is probably why the 1280 stride works out for the chroma image that has something in it). -- You are receiving this mail because: You are the assignee for the bug. --1409554228.Ad3Ec1.10904 Date: Mon, 1 Sep 2014 06:50:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 82255 from
The source data is messed up. Just look at the luma/chroma planes that you
captured.

The overall image is 1280x544. Which means that each field is 1280x272. And
chroma would be 640x136

These look great:
gm display -size 1280x272 gray:sv0-texture0
gm display -size 1280x272 gray:sv0-texture1

These... don't:
gm display -size 640x136 gray:sv1-texture0
gm display -size 640x136 gray:sv1-texture1

Note that texture1 has *some* stuff in it... and trying to display it as

gm display -size 1280x68 gray:sv1-texture1

Shows *some* stuff, but not that much. Of course, vdpau *generally speaking*
works on vp2, so it's highly unlikely that the decoding step is entirely
broken. It must be some bit of sampler view setup, I guess.

I'm also guessing that you somehow messed up capturing the contents of the
chroma since it should have had 2 components, not 1 (which is probably why the
1280 stride works out for the chroma image that has something in it).


You are receiving this mail because:
  • You are the assignee for the bug.
--1409554228.Ad3Ec1.10904-- --===============0211614247== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0211614247==--