[Libva] [PATCH][G45] Add RGBA subpicture formats (take 2)

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Wed Nov 4 02:48:56 PST 2009


Hi,

On Tue, 3 Nov 2009, Gwenole Beauchesne wrote:

> This patch tries to add RGBA subpicture format with 
> I965_SURFACEFORMAT_R8G8B8A8_UNORM. However, this is not fully working as this 
> looks like B&W only. What am I missing?

Actually, the shader render program turned out to be wrong. It was 
sampling YCbCr instead of ARGB pixels. I finally fixed that by reusing the 
exa_wm_src_sample_argb shader program.

Here is a new patch attached that also brings BGRA surfaces.

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-G45-Add-RGBA-subpictures.patch
Type: text/x-diff
Size: 4682 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/libva/attachments/20091104/893741dc/attachment.patch 


More information about the Libva mailing list