Summary: | h264 libva capture corrupted results in rgb565 format | ||
---|---|---|---|
Product: | Wayland | Reporter: | U. Artie Eoff <ullysses.a.eoff> |
Component: | weston | Assignee: | Ander Conselvan de Oliveira <conselvan2> |
Status: | VERIFIED FIXED | QA Contact: | Wayland bug list <wayland-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screenshot of captured playback |
Description
U. Artie Eoff
2014-05-02 16:16:05 UTC
Created attachment 98344 [details]
Screenshot of captured playback
The problem is that we don't appropriately set the format when initializing the VA pipeline, so it just assumes the buffer is in 24 bit depth. However, at the moment libva doesn't even define a RGB565 format. I'm looking into implementing support for this format in libva. (In reply to comment #2) > The problem is that we don't appropriately set the format when initializing > the VA pipeline, so it just assumes the buffer is in 24 bit depth. However, > at the moment libva doesn't even define a RGB565 format. I'm looking into > implementing support for this format in libva. This doesn't seem like a trivial task, so for the moment I sent a patch to the mailing list so that we don't attempt to record from an output with an unsupported format. commit 2ef1cd177e73173d8cd25325ce691a09187134cb Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Date: Tue May 6 16:49:06 2014 +0300 compositor-drm: Don't use vaapi recorder with unsupported formats We only support recording with GBM_FORMAT_XRGB888 format, so don't try to record if the output has a differnt format. https://bugs.freedesktop.org/show_bug.cgi?id=78199 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.