[vlc-devel] commit: libmpeg2: enable ARM optimizations ( Rémi Denis-Courmont )
    git version control 
    git at videolan.org
       
    Thu Sep 17 18:13:59 CEST 2009
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 17 19:12:24 2009 +0300| [7a89ce3e54a561952b0006861668e923e9a6d5ea] | committer: Rémi Denis-Courmont 
libmpeg2: enable ARM optimizations
(libmpeg2 does not autodetect on that architecture)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a89ce3e54a561952b0006861668e923e9a6d5ea
---
 modules/codec/libmpeg2.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index 479b49f..632a9c3 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -211,6 +211,9 @@ static int OpenDecoder( vlc_object_t *p_this )
         i_accel |= MPEG2_ACCEL_PPC_ALTIVEC;
     }
 
+#elif defined(__arm__)
+    i_accel | MPEG2_ACCEL_ARM;
+
 #else
     /* If we do not know this CPU, trust libmpeg2's feature detection */
     i_accel = MPEG2_ACCEL_DETECT;
    
    
More information about the vlc-devel
mailing list