1 Index: common/i386/mc-a.asm
2 ===================================================================
3 --- common/i386/mc-a.asm (revision 346)
4 +++ common/i386/mc-a.asm (working copy)
8 ;=============================================================================
10 -;=============================================================================
15 -SECTION .rodata data align=16
24 -;=============================================================================
26 ;=============================================================================
33 +;=============================================================================
35 +;=============================================================================
40 +SECTION .rodata data align=16
49 Index: common/i386/deblock-a.asm
50 ===================================================================
51 --- common/i386/deblock-a.asm (revision 346)
52 +++ common/i386/deblock-a.asm (working copy)
57 -SECTION .rodata align=16
58 -pb_01: times 16 db 0x01
59 -pb_3f: times 16 db 0x3f
60 -pb_ff: times 16 db 0xff
63 cglobal x264_deblock_v8_luma_mmxext
64 cglobal x264_deblock_h_luma_mmxext
69 +;=============================================================================
70 +; Local Data (Read Only)
71 +;=============================================================================
72 +SECTION .rodata align=16
73 +pb_01: times 16 db 0x01
74 +pb_3f: times 16 db 0x3f
75 +pb_ff: times 16 db 0xff
77 Index: common/i386/dct-a.asm
78 ===================================================================
79 --- common/i386/dct-a.asm (revision 346)
80 +++ common/i386/dct-a.asm (working copy)
84 ;=============================================================================
85 -; Local Data (Read Only)
86 -;=============================================================================
91 -SECTION .rodata data align=16
94 -;-----------------------------------------------------------------------------
95 -; Various memory constants (trigonometric values or rounding values)
96 -;-----------------------------------------------------------------------------
99 -x264_mmx_1: dw 1, 1, 1, 1
100 -x264_mmx_32: dw 32, 32, 32, 32
101 -x264_mmx_PPNN: dw 1, 1, -1, -1
102 -x264_mmx_PNPN: dw 1, -1, 1, -1
103 -x264_mmx_PNNP: dw 1, -1, -1, 1
104 -x264_mmx_PPPN: dw 1, 1, 1, -1
105 -x264_mmx_PPNP: dw 1, 1, -1, 1
106 -x264_mmx_2121: dw 2, 1, 2, 1
107 -x264_mmx_p2n2p1p1: dw 2, -2, 1, 1
109 -;=============================================================================
111 ;=============================================================================
117 +;=============================================================================
118 +; Local Data (Read Only)
119 +;=============================================================================
122 +SECTION .rodata data
124 +SECTION .rodata data align=16
127 +;-----------------------------------------------------------------------------
128 +; Various memory constants (trigonometric values or rounding values)
129 +;-----------------------------------------------------------------------------
132 +x264_mmx_1: dw 1, 1, 1, 1
133 +x264_mmx_32: dw 32, 32, 32, 32
134 +x264_mmx_PPNN: dw 1, 1, -1, -1
135 +x264_mmx_PNPN: dw 1, -1, 1, -1
136 +x264_mmx_PNNP: dw 1, -1, -1, 1
137 +x264_mmx_PPPN: dw 1, 1, 1, -1
138 +x264_mmx_PPNP: dw 1, 1, -1, 1
139 +x264_mmx_2121: dw 2, 1, 2, 1
140 +x264_mmx_p2n2p1p1: dw 2, -2, 1, 1
142 Index: common/i386/pixel-sse2.asm
143 ===================================================================
144 --- common/i386/pixel-sse2.asm (revision 346)
145 +++ common/i386/pixel-sse2.asm (working copy)
151 -SECTION .rodata data
153 -SECTION .rodata data align=16
156 -pd_0000ffff: times 4 dd 0x0000ffff
166 +;=============================================================================
167 +; Local Data (Read Only)
168 +;=============================================================================
170 +SECTION .rodata data
172 +SECTION .rodata data align=16
175 +pd_0000ffff: times 4 dd 0x0000ffff
178 Index: common/i386/mc-a2.asm
179 ===================================================================
180 --- common/i386/mc-a2.asm (revision 346)
181 +++ common/i386/mc-a2.asm (working copy)
186 -;=============================================================================
188 -;=============================================================================
190 -SECTION .rodata data align=16
210 +;=============================================================================
212 +;=============================================================================
214 +SECTION .rodata data align=16
226 --- configure.crosscompile~ 2005-10-23 14:48:21.000000000 +0200
227 +++ configure 2005-10-27 17:04:09.000000000 +0200
229 echo "available options:"
231 echo " --help print this message"
232 +echo " --crosscompile=ARCH crosscompile for ARCH"
233 echo " --enable-avis-input enables avisynth input (win32 only)"
234 echo " --enable-mp4-output enables mp4 output (using gpac)"
235 echo " --enable-vfw compiles the VfW frontend"
245 +UNAMES="`uname -s |tr A-Z a-z`"
246 +UNAMEM="`uname -m |tr A-Z a-z`"
257 + RANLIB="$CROSS-ranlib"
258 + UNAMES="`echo $CROSS | cut -d- -f3`"
259 + UNAMEM="`echo $CROSS | cut -d- -f1`"
274 + includedir="$optarg"
276 + --enable-avis-input)
277 + if [ $SYS = CYGWIN -o $SYS = MINGW ]; then
278 + CFLAGS="$CFLAGS -DAVIS_INPUT"
279 + LDFLAGS="$LDFLAGS -lvfw32"
283 + --enable-mp4-output)
284 + CFLAGS="$CFLAGS -DMP4_OUTPUT"
285 + LDFLAGS="$LDFLAGS -lgpac_static"
286 + if [ $SYS = CYGWIN -o $SYS = MINGW ]; then
287 + LDFLAGS="$LDFLAGS -lwinmm"
292 + ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
295 + CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
296 + VFW_CFLAGS="${opt#--extra-cflags=}"
299 + LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
300 + VFW_LDFLAGS="${opt#--extra-ldflags=}"
303 + CFLAGS="$CFLAGS -DHAVE_PTHREAD=1"
309 + LDFLAGS="$LDFLAGS -lpthread"
314 + CFLAGS="$CFLAGS -g"
318 + CFLAGS="$CFLAGS -pg"
319 + LDFLAGS="$LDFLAGS -pg"
325 + --enable-visualize)
326 + LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
327 + CFLAGS="$CFLAGS -DVISUALIZE=1"
331 + echo "Unknown option $opt, ignored"
341 CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
346 CFLAGS="$CFLAGS -falign-loops=16"
347 LDFLAGS="$LDFLAGS -lm -lmx"
352 LDFLAGS="$LDFLAGS -lm"
357 LDFLAGS="$LDFLAGS -lm"
362 CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
363 LDFLAGS="$LDFLAGS -lm"
368 CFLAGS="$CFLAGS -mno-cygwin"
369 LDFLAGS="$LDFLAGS -mno-cygwin"
370 ASFLAGS="-f win32 -DPREFIX"
376 ASFLAGS="-f win32 -DPREFIX"
382 CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
383 LDFLAGS="$LDFLAGS -lm"
390 - i386|i486|i586|i686|BePC)
391 + i386|i486|i586|i686|bepc)
393 CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
397 ASFLAGS="-f elf -m amd64"
399 - "Power Macintosh"|ppc)
400 + "power macintosh"|ppc)
406 CFLAGS="$CFLAGS -DARCH_$ARCH -DSYS_$SYS"
426 - includedir="$optarg"
428 - --enable-avis-input)
429 - if [ $SYS = CYGWIN -o $SYS = MINGW ]; then
430 - CFLAGS="$CFLAGS -DAVIS_INPUT"
431 - LDFLAGS="$LDFLAGS -lvfw32"
435 - --enable-mp4-output)
436 - CFLAGS="$CFLAGS -DMP4_OUTPUT"
437 - LDFLAGS="$LDFLAGS -lgpac_static"
438 - if [ $SYS = CYGWIN -o $SYS = MINGW ]; then
439 - LDFLAGS="$LDFLAGS -lwinmm"
444 - ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
447 - CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
448 - VFW_CFLAGS="${opt#--extra-cflags=}"
451 - LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
452 - VFW_LDFLAGS="${opt#--extra-ldflags=}"
455 - CFLAGS="$CFLAGS -DHAVE_PTHREAD=1"
461 - LDFLAGS="$LDFLAGS -lpthread"
466 - CFLAGS="$CFLAGS -g"
470 - CFLAGS="$CFLAGS -pg"
471 - LDFLAGS="$LDFLAGS -pg"
477 - --enable-visualize)
478 - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
479 - CFLAGS="$CFLAGS -DVISUALIZE=1"
483 - echo "Unknown option $opt, ignored"
489 if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
490 CFLAGS="$CFLAGS -s -fomit-frame-pointer"
499 HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
501 --- x264/Makefile.crosscompile~ 2005-10-27 17:01:35.000000000 +0200
502 +++ x264/Makefile 2005-10-27 17:02:51.000000000 +0200
504 default: $(DEP) x264$(EXE)
506 libx264.a: .depend $(OBJS) $(OBJASM)
507 - ar rc libx264.a $(OBJS) $(OBJASM)
509 + $(AR) $(AROPTS) libx264.a $(OBJS) $(OBJASM)
510 + $(RANLIB) libx264.a
512 x264$(EXE): libx264.a x264.o matroska.o
513 $(CC) -o $@ x264.o matroska.o libx264.a $(LDFLAGS)
514 @@ -100,12 +100,12 @@
516 rm -f config.mak vfw/build/cygwin/config.mak
520 install -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
521 install -m 644 x264.h $(DESTDIR)$(includedir)
522 install -m 644 libx264.a $(DESTDIR)$(libdir)
523 - install x264 $(DESTDIR)$(bindir)
524 - ranlib $(DESTDIR)$(libdir)/libx264.a
525 + install x264$(EXE) $(DESTDIR)$(bindir)
526 + $(RANLIB) $(DESTDIR)$(libdir)/libx264.a