[vlc-devel] commit: Tie 770 SW scaler to OMAP FB, not to Hildon UI ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 18 16:48:49 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 18 17:45:41 2009 +0300| [22bfd4d8b75e64a95d47d2bf1ea243d5cb1c8972] | committer: Rémi Denis-Courmont 

Tie 770 SW scaler to OMAP FB, not to Hildon UI

Note that this won't work on OMAP1 (ARMv<6). However a trivial change
could enable that (the JIT supports ARMv5 too).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22bfd4d8b75e64a95d47d2bf1ea243d5cb1c8972
---

 configure.ac                                       |    4 ++--
 modules/video_filter/Modules.am                    |    2 +-
 .../video_filter/{swscale_arm.c => swscale_omap.c} |    2 +-
 po/POTFILES.in                                     |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7aea04b..b7dcfd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -733,7 +733,7 @@ AC_CHECK_LIB(m,sqrt,[
   VLC_ADD_LIBS([headphone_channel_mixer normvol speex mono colorthres extract],[-lm])
 ])
 AC_CHECK_LIB(m,ceil,[
-  VLC_ADD_LIBS([hotkeys mosaic swscale_maemo],[-lm])
+  VLC_ADD_LIBS([hotkeys mosaic swscale_omap],[-lm])
 ])
 AC_CHECK_LIB(m,exp,[
   VLC_ADD_LIBS([gaussianblur],[-lm])
@@ -3959,6 +3959,7 @@ AC_ARG_ENABLE(omapfb,
         AC_CHECK_HEADERS(X11/Xlib.h, [
           VLC_ADD_LIBS([omapfb],[${X_LIBS} ${X_PRE_LIBS} -lX11]) ])
       ])
+      VLC_ADD_PLUGIN([swscale_omap])
     fi
 
 dnl
@@ -4323,7 +4324,6 @@ then
     VLC_ADD_CFLAGS([maemo],[${HILDON_CFLAGS}])
     VLC_ADD_LIBS([maemo],[${HILDON_LIBS}])
     VLC_ADD_PLUGIN([maemo])
-    VLC_ADD_PLUGIN([swscale_maemo])
     ALIASES="${ALIASES} mvlc"
   ], [
     AS_IF([test "${enable_maemo}" = "yes"],[
diff --git a/modules/video_filter/Modules.am b/modules/video_filter/Modules.am
index 5af788a..7032375 100644
--- a/modules/video_filter/Modules.am
+++ b/modules/video_filter/Modules.am
@@ -43,7 +43,7 @@ SOURCES_blendbench = blendbench.c
 SOURCES_chain = chain.c
 SOURCES_postproc = postproc.c
 SOURCES_swscale = swscale.c ../codec/avcodec/chroma.c
-SOURCES_swscale_maemo = swscale_maemo.c \
+SOURCES_swscale_omap = swscale_omap.c \
 	libswscale_nokia770/arm_jit_swscale.c \
 	libswscale_nokia770/arm_colorconv.S \
 	libswscale_nokia770/arm_jit_swscale.h \
diff --git a/modules/video_filter/swscale_arm.c b/modules/video_filter/swscale_omap.c
similarity index 98%
rename from modules/video_filter/swscale_arm.c
rename to modules/video_filter/swscale_omap.c
index 6356ca2..24fb386 100644
--- a/modules/video_filter/swscale_arm.c
+++ b/modules/video_filter/swscale_omap.c
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * swscale_maemo.c: scaling and chroma conversion using libswscale_nokia770
+ * swscale_omap.c: scaling and chroma conversion using libswscale_nokia770
  *****************************************************************************
  * Copyright (C) 1999-2008 the VideoLAN team
  * $Id$
diff --git a/po/POTFILES.in b/po/POTFILES.in
index cef4432..750df2d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1225,7 +1225,7 @@ modules/video_filter/scale.c
 modules/video_filter/scene.c
 modules/video_filter/sharpen.c
 modules/video_filter/swscale.c
-modules/video_filter/swscale_maemo.c
+modules/video_filter/swscale_omap.c
 modules/video_filter/transform.c
 modules/video_filter/wall.c
 modules/video_filter/wave.c




More information about the vlc-devel mailing list