summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-07 13:07:48 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-07 13:15:37 +0300
commit267a3f4c9c00848f32c341595d2d831157a79bee (patch)
treecdef15bb746e3a41b1813076f24035fcc8385c30 /libmpcodecs
parent5484215d044522bcd30516e458e421f403ca8e35 (diff)
parent96fa9c4e249e9467f21e32191882e511e762fb1f (diff)
downloadmpv-267a3f4c9c00848f32c341595d2d831157a79bee.tar.bz2
mpv-267a3f4c9c00848f32c341595d2d831157a79bee.tar.xz
Merge svn changes up to r26680
Conflicts: Makefile configure osdep/timer-darwin.c
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_libmpeg2.c11
-rw-r--r--libmpcodecs/ve_x264.c22
2 files changed, 21 insertions, 12 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c
index 8be6d7f841..3bd17a4e0e 100644
--- a/libmpcodecs/vd_libmpeg2.c
+++ b/libmpcodecs/vd_libmpeg2.c
@@ -78,7 +78,16 @@ static int init(sh_video_t *sh){
accel |= MPEG2_ACCEL_X86_SSE2;
if(gCpuCaps.hasAltiVec)
accel |= MPEG2_ACCEL_PPC_ALTIVEC;
- #ifdef HAVE_VIS
+ #ifdef ARCH_ALPHA
+ accel |= MPEG2_ACCEL_ALPHA;
+ #elif ARCH_ARM
+ accel |= MPEG2_ACCEL_ARM;
+ #endif
+ #ifdef HAVE_IWMMXT
+ accel |= MPEG2_ACCEL_ARM_IWMMXT;
+ #elif HAVE_MVI
+ accel |= MPEG2_ACCEL_ALPHA_MVI;
+ #elif HAVE_VIS
accel |= MPEG2_ACCEL_SPARC_VIS;
#endif
mpeg2_accel(accel);
diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c
index ec85de4929..bc2eb6014f 100644
--- a/libmpcodecs/ve_x264.c
+++ b/libmpcodecs/ve_x264.c
@@ -7,21 +7,21 @@
*
* Written by Bernhard Rosenkraenzer <bero@arklinux.org>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation, or if, and only if,
- * version 2 is ruled invalid in a court of law, any later version
- * of the GNU General Public License published by the Free Software
- * Foundation.
+ * This file is part of MPlayer.
*
- * This program is distributed in the hope that it will be useful,
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*****************************************************************************/