Recommended xine settings for Arte HD ?

Message ID 20080911100232.GA3263@gmail.com
State New
Headers

Commit Message

Grégoire Favre Sept. 11, 2008, 10:02 a.m. UTC
  On Thu, Sep 11, 2008 at 09:41:19AM +0200, Artem Makhutov wrote:

Hello,

> How have you compiled ffmpeg? Have you patched anything?

I use ffmpeg svn compiled with :

http://gentoo-wiki.com/HOWTO_ICC_and_Portage

The ebuild is from berkano overlay, which include the patch needed for
ffmpeg, namely ffmpeg-icc.patch :


Gentoo is really something if you want to optimise for a purpose :-)
  

Patch

Index: libswscale/yuv2rgb.c
===================================================================
--- libswscale/yuv2rgb.c        (Revision 27482)
+++ libswscale/yuv2rgb.c        (Arbeitskopie)
@@ -157,6 +157,9 @@ 

 // The volatile is required because gcc otherwise optimizes some writes away
 // not knowing that these are read in the ASM block.
+#ifdef __ICC
+#define static
+#endif
 static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither;
 static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
 static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;