Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
51705951
Commit
51705951
authored
Sep 06, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed numerous bugs with the Altivec IDCT (still not compiling).
parent
49771833
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
200 additions
and
187 deletions
+200
-187
Makefile
Makefile
+1
-1
configure
configure
+184
-180
configure.in
configure.in
+1
-0
plugins/idct/Makefile
plugins/idct/Makefile
+12
-4
plugins/motion/Makefile
plugins/motion/Makefile
+2
-2
No files found.
Makefile
View file @
51705951
...
...
@@ -18,7 +18,7 @@ PLUGINS_DIR := alsa beos darwin directx dsp dummy dvd esd fb ggi glide gtk downm
#
# All possible plugin objects
#
PLUGINS_TARGETS
:=
alsa/alsa beos/beos darwin/darwin directx/directx dsp/dsp dummy/dummy dummy/null dvd/dvd esd/esd fb/fb ggi/ggi glide/glide gtk/gnome gtk/gtk downmix/downmix downmix/downmixsse downmix/downmix3dn idct/idct idct/idctclassic idct/idctmmx idct/idctmmxext i
mdct/imdct imdct/imdct3dn imdct/imdctsse kde/kde macosx/macosx mga/mga motion/motion motion/motionmmx motion/motionmmxext
mpeg/es mpeg/ps mpeg/ts qt/qt sdl/sdl text/ncurses text/rc x11/x11 x11/xvideo yuv/yuv yuv/yuvmmx
PLUGINS_TARGETS
:=
alsa/alsa beos/beos darwin/darwin directx/directx dsp/dsp dummy/dummy dummy/null dvd/dvd esd/esd fb/fb ggi/ggi glide/glide gtk/gnome gtk/gtk downmix/downmix downmix/downmixsse downmix/downmix3dn idct/idct idct/idctclassic idct/idctmmx idct/idctmmxext i
dct/idctaltivec imdct/imdct imdct/imdct3dn imdct/imdctsse kde/kde macosx/macosx mga/mga motion/motion motion/motionmmx motion/motionmmxext motion/motion3dnow motion/motionaltivec
mpeg/es mpeg/ps mpeg/ts qt/qt sdl/sdl text/ncurses text/rc x11/x11 x11/xvideo yuv/yuv yuv/yuvmmx
#
# C Objects
...
...
configure
View file @
51705951
This diff is collapsed.
Click to expand it.
configure.in
View file @
51705951
...
...
@@ -218,6 +218,7 @@ MMX_MODULES="yuvmmx idctmmx motionmmx"
MMXEXT_MODULES="idctmmxext motionmmxext"
THREEDNOW_MODULES="imdct3dn downmix3dn"
SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES="idctaltivec motionaltivec"
AC_MSG_CHECKING([if \$CC groks MMX inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}],,
...
...
plugins/idct/Makefile
View file @
51705951
...
...
@@ -11,13 +11,15 @@ PLUGIN_IDCT = idct.o
PLUGIN_IDCTCLASSIC
=
idctclassic.o
PLUGIN_IDCTMMX
=
idctmmx.o
PLUGIN_IDCTMMXEXT
=
idctmmxext.o
PLUGIN_IDCTALTIVEC
=
idctaltivec.o idctaltivecasm.o
PLUGIN_IDCTALTIVEC
=
idctaltivec.o
PLUGIN_IDCTALTIVECASM
=
idctaltivecasm.o
BUILTIN_IDCT
=
$(PLUGIN_IDCT:%.o=BUILTIN_IDCT_%.o)
BUILTIN_IDCTCLASSIC
=
$(PLUGIN_IDCTCLASSIC:%.o=BUILTIN_IDCTCLASSIC_%.o)
BUILTIN_IDCTMMX
=
$(PLUGIN_IDCTMMX:%.o=BUILTIN_IDCTM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CFLAGS)
-DBUILTIN
-DMODULE_NAME
=
idctaltivec
-faltivec
-c
-o
$@
$<
$(BUILTIN_IDCTALTIVECASM)
:
BUILTIN_IDCTALTIVEC_%.o: %.S
$(CC)
$(CFLAGS)
-DBUILTIN
-DMODULE_NAME
=
idctaltivec
-faltivec
-c
-o
$@
$<
#
# Real targets
...
...
@@ -84,10 +92,10 @@ $(BUILTIN_IDCTALTIVEC): BUILTIN_IDCTALTIVEC_%.o: %.c
ar r
$@
$^
$(RANLIB)
$@
../idctaltivec.so
:
$(PLUGIN_IDCTALTIVEC)
../idctaltivec.so
:
$(PLUGIN_IDCTALTIVEC)
$(PLUGIN_IDCTALTIVECASM)
$(CC)
$(PCFLAGS)
-o
$@
$^
$(PLCFLAGS)
$(LIB_ALTIVEC)
../idctaltivec.a
:
$(BUILTIN_IDCTALTIVEC)
../idctaltivec.a
:
$(BUILTIN_IDCTALTIVEC)
$(BUILTIN_IDCTALTIVECASM)
ar r
$@
$^
$(RANLIB)
$@
plugins/motion/Makefile
View file @
51705951
...
...
@@ -50,7 +50,7 @@ $(BUILTIN_MOTION3DNOW): BUILTIN_MOTION3DNOW_%.o: %.c
$(BUILTIN_MOTIONALTIVEC)
:
BUILTIN_MOTIONALTIVEC_%.o: .dep/%.d
$(BUILTIN_MOTIONALTIVEC)
:
BUILTIN_MOTIONALTIVEC_%.o: %.c
$(CC)
$(CFLAGS)
-DBUILTIN
-DMODULE_NAME
=
motionaltivec
-c
-o
$@
$<
$(CC)
$(CFLAGS)
-DBUILTIN
-DMODULE_NAME
=
motionaltivec
-
faltivec
-
c
-o
$@
$<
#
# Real targets
...
...
@@ -87,7 +87,7 @@ $(BUILTIN_MOTIONALTIVEC): BUILTIN_MOTIONALTIVEC_%.o: %.c
../motion3dnow.so
:
$(PLUGIN_MOTION3DNOW)
$(CC)
$(PCFLAGS)
-o
$@
$^
$(PLCFLAGS)
../motion
m
3dnow.a
:
$(BUILTIN_MOTION3DNOW)
../motion3dnow.a
:
$(BUILTIN_MOTION3DNOW)
ar r
$@
$^
$(RANLIB)
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment