[BLFS Trac] #1762: GStreamer Base Plug-ins-0.10.1

BLFS Trac trac at linuxfromscratch.org
Mon May 29 14:10:32 PDT 2006


#1762: GStreamer Base Plug-ins-0.10.1
----------------------------------------+-----------------------------------
 Reporter:  randy at linuxfromscratch.org  |        Owner:  randy at linuxfromscratch.org
     Type:  task                        |       Status:  assigned                  
 Priority:  normal                      |    Milestone:  6.2                       
Component:  BOOK                        |      Version:  SVN                       
 Severity:  normal                      |   Resolution:                            
 Keywords:                              |  
----------------------------------------+-----------------------------------
Comment (by randy at linuxfromscratch.org):

 This worked for me:

 {{

 diff -Naur libvisual-0.2.0-orig/libvisual/lv_video_mmx.c
 libvisual-0.2.0/libvisual/lv_video_mmx.c
 --- libvisual-0.2.0-orig/libvisual/lv_video_mmx.c       2005-01-11
 19:06:42.000000000 +0000
 +++ libvisual-0.2.0/libvisual/lv_video_mmx.c    2006-01-27
 15:15:05.000000000 +0000
 @@ -59,7 +59,7 @@
         /* Reset some regs */
         __asm __volatile
                 ("\n\t pxor %%mm6, %%mm6"
 -                ::: "mm6");
 +                ::);

         destbuf += ((y > 0 ? y : 0) * dest->pitch) + (x > 0 ? x * 4 : 0);
         srcbuf += ((y < 0 ? abs(y) : 0) * src->pitch) + (x < 0 ? abs(x) *
 4 : 0);
 @@ -89,8 +89,7 @@
                                  "\n\t movd %%mm0, %[dest]"
                                  : [dest] "=m" (*destbuf)
                                  : [dpix] "m" (*destbuf)
 -                                , [spix] "m" (*srcbuf)
 -                                : "mm0", "mm1", "mm2", "mm3", "mm4",
 "mm5", "mm6", "mm7");
 +                                , [spix] "m" (*srcbuf));

                         destbuf += 4;
                         srcbuf += 4;
 @@ -236,8 +235,7 @@
                                 : [pixel_u] "m"(src_pixel_rowu[u>>16])
                                 , [pixel_l] "m"(src_pixel_rowl[u>>16])
                                 , [fracu]   "g"(fracU)
 -                               , [fracv]   "g"(fracV)
 -                               : "mm0", "mm1", "mm2", "mm3", "mm4",
 "mm5", "mm6", "mm7");
 +                               , [fracv]   "g"(fracV));

                         ++dest_pixel;
                 }


 }}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1762>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list