[Intel-gfx] HD XvMC on i915

Nathan A. Stine nathan.stine at gmail.com
Tue Oct 20 02:02:37 CEST 2009


On Mon, 2009-10-19 at 13:14 +0100, Sergio Monteiro Basto wrote:
> Hi, 
> On Sat, 2009-10-17 at 18:34 -0400, Nathan A. Stine wrote:
> > Changing this to 1920x1080 gave a clean compile and would still
> > properly accelerate and display 720x576 content, but not 1920x1080
> > content.  The video was heavily distorted and had a green overlay.
> > 
> 
> I like to learn 
> How you had test this ? 
> 
> Thanks, 

Sergio,

All I did was apply the following patch:

--- i915_hwmc_old.c 2009-10-19 19:58:54.661422758 -0400
+++ i915_hwmc.c	2009-10-19 19:54:52.901422645 -0400
@@ -113,10 +113,10 @@
     SURFACE_TYPE_MPEG2_MPML,
     XVMC_CHROMA_FORMAT_420,
     0,
-    720,
-    576,
-    720,
-    576,
+    1920,
+    1080,
+    1920,
+    1080,
     XVMC_MPEG_2,
     /* XVMC_OVERLAID_SURFACE | XVMC_SUBPICTURE_INDEPENDENT_SCALING,*/
     0,

It is attached for your convenience.

Best regards,

Nathan A. Stine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i915_hd_xmvc.diff
Type: text/x-patch
Size: 378 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091019/2b2a851c/attachment.bin>


More information about the Intel-gfx mailing list