From b6954ba2bba2f4fc002e8be4f57d7f3b43871c33 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Tue, 14 Dec 2004 02:04:02 +0000 Subject: [PATCH] rename 'core/' to 'common/', which avoids conflicts with libtool git-svn-id: svn://svn.videolan.org/x264/trunk@67 df754926-b1dd-0310-bc7b-ec298dee348c --- Jamfile | 14 +++--- Makefile | 12 ++--- Makefile.cygwin | 10 ++-- build/cygwin/Makefile | 10 ++-- build/win32/libx264.dsp | 86 ++++++++++++++++---------------- build/win32/x264.dsp | 4 +- {core => common}/bs.h | 0 {core => common}/cabac.c | 0 {core => common}/cabac.h | 0 {core => common}/clip1.h | 0 {core => common}/common.c | 0 {core => common}/common.h | 0 {core => common}/cpu.c | 0 {core => common}/cpu.h | 0 {core => common}/csp.c | 0 {core => common}/csp.h | 0 {core => common}/dct.c | 0 {core => common}/dct.h | 0 {core => common}/frame.c | 0 {core => common}/frame.h | 0 {core => common}/i386/cpu.asm | 0 {core => common}/i386/dct-c.c | 0 {core => common}/i386/dct.asm | 0 {core => common}/i386/dct.h | 0 {core => common}/i386/mc-c.c | 0 {core => common}/i386/mc.asm | 0 {core => common}/i386/mc.h | 0 {core => common}/i386/pixel.asm | 0 {core => common}/i386/pixel.h | 0 {core => common}/i386/predict.c | 0 {core => common}/i386/predict.h | 0 {core => common}/macroblock.c | 0 {core => common}/macroblock.h | 0 {core => common}/mc.c | 0 {core => common}/mc.h | 0 {core => common}/mdate.c | 0 {core => common}/pixel.c | 0 {core => common}/pixel.h | 0 {core => common}/ppc/mc.c | 0 {core => common}/ppc/mc.h | 0 {core => common}/ppc/pixel.c | 0 {core => common}/ppc/pixel.h | 0 {core => common}/ppc/ppccommon.h | 0 {core => common}/predict.c | 0 {core => common}/predict.h | 0 {core => common}/set.h | 0 {core => common}/vlc.h | 0 decoder/decoder.c | 6 +-- decoder/macroblock.c | 4 +- decoder/set.c | 2 +- decoder/vlc.c | 4 +- encoder/analyse.c | 4 +- encoder/cabac.c | 2 +- encoder/cavlc.c | 4 +- encoder/encoder.c | 4 +- encoder/macroblock.c | 2 +- encoder/macroblock.h | 2 +- encoder/me.c | 2 +- encoder/ratecontrol.c | 6 +-- encoder/set.c | 4 +- testing/checkasm.c | 10 ++-- testing/macroblock-dz.c | 4 +- tools/avc2avi.c | 2 +- x264.c | 2 +- 64 files changed, 100 insertions(+), 100 deletions(-) rename {core => common}/bs.h (100%) rename {core => common}/cabac.c (100%) rename {core => common}/cabac.h (100%) rename {core => common}/clip1.h (100%) rename {core => common}/common.c (100%) rename {core => common}/common.h (100%) rename {core => common}/cpu.c (100%) rename {core => common}/cpu.h (100%) rename {core => common}/csp.c (100%) rename {core => common}/csp.h (100%) rename {core => common}/dct.c (100%) rename {core => common}/dct.h (100%) rename {core => common}/frame.c (100%) rename {core => common}/frame.h (100%) rename {core => common}/i386/cpu.asm (100%) rename {core => common}/i386/dct-c.c (100%) rename {core => common}/i386/dct.asm (100%) rename {core => common}/i386/dct.h (100%) rename {core => common}/i386/mc-c.c (100%) rename {core => common}/i386/mc.asm (100%) rename {core => common}/i386/mc.h (100%) rename {core => common}/i386/pixel.asm (100%) rename {core => common}/i386/pixel.h (100%) rename {core => common}/i386/predict.c (100%) rename {core => common}/i386/predict.h (100%) rename {core => common}/macroblock.c (100%) rename {core => common}/macroblock.h (100%) rename {core => common}/mc.c (100%) rename {core => common}/mc.h (100%) rename {core => common}/mdate.c (100%) rename {core => common}/pixel.c (100%) rename {core => common}/pixel.h (100%) rename {core => common}/ppc/mc.c (100%) rename {core => common}/ppc/mc.h (100%) rename {core => common}/ppc/pixel.c (100%) rename {core => common}/ppc/pixel.h (100%) rename {core => common}/ppc/ppccommon.h (100%) rename {core => common}/predict.c (100%) rename {core => common}/predict.h (100%) rename {core => common}/set.h (100%) rename {core => common}/vlc.h (100%) diff --git a/Jamfile b/Jamfile index df0ce44d..b7771bce 100644 --- a/Jamfile +++ b/Jamfile @@ -17,19 +17,19 @@ DEFINES = DEBUG __X264__ ARCH_$(OSPLAT) SYS_$(OS) ; OPTIM = -O3 -funroll-loops ; # Headers rep -HDRS = . core core/i386 decoder encoder ; +HDRS = . common common/i386 decoder encoder ; -SOURCES_C = core/mc.c core/predict.c core/pixel.c core/macroblock.c - core/frame.c core/dct.c core/cpu.c core/cabac.c - core/common.c core/mdate.c core/csp.c +SOURCES_C = common/mc.c common/predict.c common/pixel.c common/macroblock.c + common/frame.c common/dct.c common/cpu.c common/cabac.c + common/common.c common/mdate.c common/csp.c encoder/analyse.c encoder/me.c encoder/ratecontrol.c encoder/set.c encoder/macroblock.c encoder/cabac.c encoder/cavlc.c encoder/encoder.c encoder/eval.c ; -SOURCES_X86 = core/i386/cpu.asm ; -SOURCES_MMX = core/i386/mc-c.c core/i386/dct-c.c core/i386/predict.c core/i386/dct.asm core/i386/pixel.asm core/i386/mc.asm ; +SOURCES_X86 = common/i386/cpu.asm ; +SOURCES_MMX = common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c common/i386/dct.asm common/i386/pixel.asm common/i386/mc.asm ; -SOURCES_ALTIVEC = core/ppc/mc.c core/ppc/pixel.c ; +SOURCES_ALTIVEC = common/ppc/mc.c common/ppc/pixel.c ; # libx264 SOURCES_X264 = $(SOURCES_C) ; diff --git a/Makefile b/Makefile index be33f588..87f6d4cc 100644 --- a/Makefile +++ b/Makefile @@ -5,20 +5,20 @@ # Uncomment this for Mac OS X #SYS_MACOSX=1 -SRCS_COMMON= core/mc.c core/predict.c core/pixel.c core/macroblock.c \ - core/frame.c core/dct.c core/cpu.c core/cabac.c \ - core/common.c core/mdate.c core/csp.c \ +SRCS_COMMON= common/mc.c common/predict.c common/pixel.c common/macroblock.c \ + common/frame.c common/dct.c common/cpu.c common/cabac.c \ + common/common.c common/mdate.c common/csp.c \ encoder/analyse.c encoder/me.c encoder/ratecontrol.c \ encoder/set.c encoder/macroblock.c encoder/cabac.c \ encoder/cavlc.c encoder/encoder.c encoder/eval.c x264.c ifdef SYS_MACOSX PFLAGS=-DARCH_PPC -DSYS_MACOSX -faltivec -SRCS= $(SRCS_COMMON) core/ppc/mc.c core/ppc/pixel.c +SRCS= $(SRCS_COMMON) common/ppc/mc.c common/ppc/pixel.c else PFLAGS=-DARCH_X86 -DHAVE_MMXEXT -DHAVE_SSE2 -DHAVE_MALLOC_H -SRCS= $(SRCS_COMMON) core/i386/mc-c.c core/i386/dct-c.c core/i386/predict.c -ASMSRC= core/i386/dct.asm core/i386/cpu.asm core/i386/pixel.asm core/i386/mc.asm +SRCS= $(SRCS_COMMON) common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c +ASMSRC= common/i386/dct.asm common/i386/cpu.asm common/i386/pixel.asm common/i386/mc.asm OBJASM= $(ASMSRC:%.asm=%.o) endif diff --git a/Makefile.cygwin b/Makefile.cygwin index 7b698883..33b2872a 100644 --- a/Makefile.cygwin +++ b/Makefile.cygwin @@ -4,20 +4,20 @@ PFLAGS=-DARCH_X86 -DHAVE_MMXEXT -DHAVE_SSE2 CC=gcc CFLAGS=-g -Wall -I. -mno-cygwin -DDEBUG -O4 -funroll-loops -D__X264__ -UHAVE_MALLOC_H $(PFLAGS) -SRCS= core/mc.c core/predict.c core/pixel.c core/macroblock.c \ - core/frame.c core/dct.c core/cpu.c core/cabac.c \ - core/common.c core/mdate.c core/csp.c \ +SRCS= common/mc.c common/predict.c common/pixel.c common/macroblock.c \ + common/frame.c common/dct.c common/cpu.c common/cabac.c \ + common/common.c common/mdate.c common/csp.c \ encoder/analyse.c encoder/me.c encoder/ratecontrol.c \ encoder/set.c encoder/macroblock.c encoder/cabac.c encoder/cavlc.c \ encoder/encoder.c \ - core/i386/mc-c.c core/i386/dct-c.c core/i386/predict.c \ + common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c \ x264.c AS= nasm #for cygwin ASFLAGS=-f win32 -DPREFIX $(PFLAGS) -ASMSRC= core/i386/dct.asm core/i386/cpu.asm core/i386/pixel.asm core/i386/mc.asm +ASMSRC= common/i386/dct.asm common/i386/cpu.asm common/i386/pixel.asm common/i386/mc.asm OBJASM= $(ASMSRC:%.asm=%.o) OBJS = $(SRCS:%.c=%.o) diff --git a/build/cygwin/Makefile b/build/cygwin/Makefile index f682b85f..66460e13 100644 --- a/build/cygwin/Makefile +++ b/build/cygwin/Makefile @@ -14,15 +14,15 @@ DIR_CUR=$(shell pwd) DIR_SRC=$(DIR_CUR)/../.. # Sources -SRC_C= core/mc.c core/predict.c core/pixel.c core/macroblock.c \ - core/frame.c core/dct.c core/cpu.c core/cabac.c \ - core/common.c core/mdate.c core/csp.c \ +SRC_C= common/mc.c common/predict.c common/pixel.c common/macroblock.c \ + common/frame.c common/dct.c common/cpu.c common/cabac.c \ + common/common.c common/mdate.c common/csp.c \ encoder/analyse.c encoder/me.c encoder/ratecontrol.c \ encoder/set.c encoder/macroblock.c encoder/cabac.c encoder/cavlc.c \ encoder/encoder.c encoder/eval.c \ - core/i386/mc-c.c core/i386/dct-c.c core/i386/predict.c + common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c -SRC_ASM= core/i386/dct.asm core/i386/cpu.asm core/i386/pixel.asm core/i386/mc.asm +SRC_ASM= common/i386/dct.asm common/i386/cpu.asm common/i386/pixel.asm common/i386/mc.asm # Alias RM= rm -rf diff --git a/build/win32/libx264.dsp b/build/win32/libx264.dsp index 4f517cda..7fa723cc 100644 --- a/build/win32/libx264.dsp +++ b/build/win32/libx264.dsp @@ -41,7 +41,7 @@ RSC=rc.exe # PROP Intermediate_Dir "Release" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "./core" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "NDEBUG" /D "_LIB" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /D "ARCH_X86" /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "./common" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "NDEBUG" /D "_LIB" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /D "ARCH_X86" /FD /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x804 /d "NDEBUG" # ADD RSC /l 0x804 /d "NDEBUG" @@ -65,7 +65,7 @@ LIB32=link.exe -lib # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "./core" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "_DEBUG" /D "_LIB" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /D "ARCH_X86" /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "./common" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "_DEBUG" /D "_LIB" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /D "ARCH_X86" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x804 /d "_DEBUG" # ADD RSC /l 0x804 /d "_DEBUG" @@ -253,59 +253,59 @@ SOURCE=..\..\encoder\set.c # PROP Default_Filter ".h" # Begin Source File -SOURCE=..\..\core\bs.h +SOURCE=..\..\common\bs.h # End Source File # Begin Source File -SOURCE=..\..\core\cabac.h +SOURCE=..\..\common\cabac.h # End Source File # Begin Source File -SOURCE=..\..\core\clip1.h +SOURCE=..\..\common\clip1.h # End Source File # Begin Source File -SOURCE=..\..\core\common.h +SOURCE=..\..\common\common.h # End Source File # Begin Source File -SOURCE=..\..\core\cpu.h +SOURCE=..\..\common\cpu.h # End Source File # Begin Source File -SOURCE=..\..\core\csp.h +SOURCE=..\..\common\csp.h # End Source File # Begin Source File -SOURCE=..\..\core\dct.h +SOURCE=..\..\common\dct.h # End Source File # Begin Source File -SOURCE=..\..\core\frame.h +SOURCE=..\..\common\frame.h # End Source File # Begin Source File -SOURCE=..\..\core\macroblock.h +SOURCE=..\..\common\macroblock.h # End Source File # Begin Source File -SOURCE=..\..\core\mc.h +SOURCE=..\..\common\mc.h # End Source File # Begin Source File -SOURCE=..\..\core\pixel.h +SOURCE=..\..\common\pixel.h # End Source File # Begin Source File -SOURCE=..\..\core\predict.h +SOURCE=..\..\common\predict.h # End Source File # Begin Source File -SOURCE=..\..\core\set.h +SOURCE=..\..\common\set.h # End Source File # Begin Source File -SOURCE=..\..\core\vlc.h +SOURCE=..\..\common\vlc.h # End Source File # End Group # Begin Group "I386" @@ -313,13 +313,13 @@ SOURCE=..\..\core\vlc.h # PROP Default_Filter "*.h,*.c,*.asm" # Begin Source File -SOURCE=..\..\core\i386\cpu.asm +SOURCE=..\..\common\i386\cpu.asm !IF "$(CFG)" == "libx264 - Win32 Release" # Begin Custom Build - Assembly $(InputPath) IntDir=.\Release -InputPath=..\..\core\i386\cpu.asm +InputPath=..\..\common\i386\cpu.asm InputName=cpu "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -331,7 +331,7 @@ InputName=cpu # Begin Custom Build - Assembly $(InputPath) IntDir=.\Debug -InputPath=..\..\core\i386\cpu.asm +InputPath=..\..\common\i386\cpu.asm InputName=cpu "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -344,17 +344,17 @@ InputName=cpu # End Source File # Begin Source File -SOURCE="..\..\core\i386\dct-c.c" +SOURCE="..\..\common\i386\dct-c.c" # End Source File # Begin Source File -SOURCE=..\..\core\i386\dct.asm +SOURCE=..\..\common\i386\dct.asm !IF "$(CFG)" == "libx264 - Win32 Release" # Begin Custom Build - Assembly $(InputPath) IntDir=.\Release -InputPath=..\..\core\i386\dct.asm +InputPath=..\..\common\i386\dct.asm InputName=dct "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -366,7 +366,7 @@ InputName=dct # Begin Custom Build - Assembly $(InputPath) IntDir=.\Debug -InputPath=..\..\core\i386\dct.asm +InputPath=..\..\common\i386\dct.asm InputName=dct "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -379,11 +379,11 @@ InputName=dct # End Source File # Begin Source File -SOURCE=..\..\core\i386\dct.h +SOURCE=..\..\common\i386\dct.h # End Source File # Begin Source File -SOURCE="..\..\core\i386\mc-c.c" +SOURCE="..\..\common\i386\mc-c.c" !IF "$(CFG)" == "libx264 - Win32 Release" @@ -396,13 +396,13 @@ SOURCE="..\..\core\i386\mc-c.c" # End Source File # Begin Source File -SOURCE=..\..\core\i386\mc.asm +SOURCE=..\..\common\i386\mc.asm !IF "$(CFG)" == "libx264 - Win32 Release" # Begin Custom Build - Assembly $(InputPath) IntDir=.\Release -InputPath=..\..\core\i386\mc.asm +InputPath=..\..\common\i386\mc.asm InputName=mc "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -414,7 +414,7 @@ InputName=mc # Begin Custom Build - Assembly $(InputPath) IntDir=.\Debug -InputPath=..\..\core\i386\mc.asm +InputPath=..\..\common\i386\mc.asm InputName=mc "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -427,13 +427,13 @@ InputName=mc # End Source File # Begin Source File -SOURCE=..\..\core\i386\pixel.asm +SOURCE=..\..\common\i386\pixel.asm !IF "$(CFG)" == "libx264 - Win32 Release" # Begin Custom Build - Assembly $(InputPath) IntDir=.\Release -InputPath=..\..\core\i386\pixel.asm +InputPath=..\..\common\i386\pixel.asm InputName=pixel "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -445,7 +445,7 @@ InputName=pixel # Begin Custom Build - Assembly $(InputPath) IntDir=.\Debug -InputPath=..\..\core\i386\pixel.asm +InputPath=..\..\common\i386\pixel.asm InputName=pixel "$(IntDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" @@ -458,12 +458,12 @@ InputName=pixel # End Source File # Begin Source File -SOURCE=..\..\core\i386\pixel.h +SOURCE=..\..\common\i386\pixel.h # End Source File # End Group # Begin Source File -SOURCE=..\..\core\cabac.c +SOURCE=..\..\common\cabac.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -478,7 +478,7 @@ SOURCE=..\..\core\cabac.c # End Source File # Begin Source File -SOURCE=..\..\core\common.c +SOURCE=..\..\common\common.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -493,7 +493,7 @@ SOURCE=..\..\core\common.c # End Source File # Begin Source File -SOURCE=..\..\core\cpu.c +SOURCE=..\..\common\cpu.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -508,11 +508,11 @@ SOURCE=..\..\core\cpu.c # End Source File # Begin Source File -SOURCE=..\..\core\csp.c +SOURCE=..\..\common\csp.c # End Source File # Begin Source File -SOURCE=..\..\core\dct.c +SOURCE=..\..\common\dct.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -527,7 +527,7 @@ SOURCE=..\..\core\dct.c # End Source File # Begin Source File -SOURCE=..\..\core\frame.c +SOURCE=..\..\common\frame.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -542,7 +542,7 @@ SOURCE=..\..\core\frame.c # End Source File # Begin Source File -SOURCE=..\..\core\macroblock.c +SOURCE=..\..\common\macroblock.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -557,7 +557,7 @@ SOURCE=..\..\core\macroblock.c # End Source File # Begin Source File -SOURCE=..\..\core\mc.c +SOURCE=..\..\common\mc.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -572,7 +572,7 @@ SOURCE=..\..\core\mc.c # End Source File # Begin Source File -SOURCE=..\..\core\mdate.c +SOURCE=..\..\common\mdate.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -587,7 +587,7 @@ SOURCE=..\..\core\mdate.c # End Source File # Begin Source File -SOURCE=..\..\core\pixel.c +SOURCE=..\..\common\pixel.c !IF "$(CFG)" == "libx264 - Win32 Release" @@ -602,7 +602,7 @@ SOURCE=..\..\core\pixel.c # End Source File # Begin Source File -SOURCE=..\..\core\predict.c +SOURCE=..\..\common\predict.c !IF "$(CFG)" == "libx264 - Win32 Release" diff --git a/build/win32/x264.dsp b/build/win32/x264.dsp index 9fe8398f..4b7d59bd 100644 --- a/build/win32/x264.dsp +++ b/build/win32/x264.dsp @@ -42,7 +42,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "./core" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "./common" /I "./encode" /I "./decode" /I "../../extras" /I "../.." /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /YX /FD /c # ADD BASE RSC /l 0x804 /d "NDEBUG" # ADD RSC /l 0x804 /d "NDEBUG" BSC32=bscmake.exe @@ -66,7 +66,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "../../core" /I "../../encode" /I "../../decode" /I "../../extras" /I "../.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "../../common" /I "../../encode" /I "../../decode" /I "../../extras" /I "../.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D "_MBCS" /D "__X264__" /D "HAVE_MMXEXT" /YX /FD /GZ /c # ADD BASE RSC /l 0x804 /d "_DEBUG" # ADD RSC /l 0x804 /d "_DEBUG" BSC32=bscmake.exe diff --git a/core/bs.h b/common/bs.h similarity index 100% rename from core/bs.h rename to common/bs.h diff --git a/core/cabac.c b/common/cabac.c similarity index 100% rename from core/cabac.c rename to common/cabac.c diff --git a/core/cabac.h b/common/cabac.h similarity index 100% rename from core/cabac.h rename to common/cabac.h diff --git a/core/clip1.h b/common/clip1.h similarity index 100% rename from core/clip1.h rename to common/clip1.h diff --git a/core/common.c b/common/common.c similarity index 100% rename from core/common.c rename to common/common.c diff --git a/core/common.h b/common/common.h similarity index 100% rename from core/common.h rename to common/common.h diff --git a/core/cpu.c b/common/cpu.c similarity index 100% rename from core/cpu.c rename to common/cpu.c diff --git a/core/cpu.h b/common/cpu.h similarity index 100% rename from core/cpu.h rename to common/cpu.h diff --git a/core/csp.c b/common/csp.c similarity index 100% rename from core/csp.c rename to common/csp.c diff --git a/core/csp.h b/common/csp.h similarity index 100% rename from core/csp.h rename to common/csp.h diff --git a/core/dct.c b/common/dct.c similarity index 100% rename from core/dct.c rename to common/dct.c diff --git a/core/dct.h b/common/dct.h similarity index 100% rename from core/dct.h rename to common/dct.h diff --git a/core/frame.c b/common/frame.c similarity index 100% rename from core/frame.c rename to common/frame.c diff --git a/core/frame.h b/common/frame.h similarity index 100% rename from core/frame.h rename to common/frame.h diff --git a/core/i386/cpu.asm b/common/i386/cpu.asm similarity index 100% rename from core/i386/cpu.asm rename to common/i386/cpu.asm diff --git a/core/i386/dct-c.c b/common/i386/dct-c.c similarity index 100% rename from core/i386/dct-c.c rename to common/i386/dct-c.c diff --git a/core/i386/dct.asm b/common/i386/dct.asm similarity index 100% rename from core/i386/dct.asm rename to common/i386/dct.asm diff --git a/core/i386/dct.h b/common/i386/dct.h similarity index 100% rename from core/i386/dct.h rename to common/i386/dct.h diff --git a/core/i386/mc-c.c b/common/i386/mc-c.c similarity index 100% rename from core/i386/mc-c.c rename to common/i386/mc-c.c diff --git a/core/i386/mc.asm b/common/i386/mc.asm similarity index 100% rename from core/i386/mc.asm rename to common/i386/mc.asm diff --git a/core/i386/mc.h b/common/i386/mc.h similarity index 100% rename from core/i386/mc.h rename to common/i386/mc.h diff --git a/core/i386/pixel.asm b/common/i386/pixel.asm similarity index 100% rename from core/i386/pixel.asm rename to common/i386/pixel.asm diff --git a/core/i386/pixel.h b/common/i386/pixel.h similarity index 100% rename from core/i386/pixel.h rename to common/i386/pixel.h diff --git a/core/i386/predict.c b/common/i386/predict.c similarity index 100% rename from core/i386/predict.c rename to common/i386/predict.c diff --git a/core/i386/predict.h b/common/i386/predict.h similarity index 100% rename from core/i386/predict.h rename to common/i386/predict.h diff --git a/core/macroblock.c b/common/macroblock.c similarity index 100% rename from core/macroblock.c rename to common/macroblock.c diff --git a/core/macroblock.h b/common/macroblock.h similarity index 100% rename from core/macroblock.h rename to common/macroblock.h diff --git a/core/mc.c b/common/mc.c similarity index 100% rename from core/mc.c rename to common/mc.c diff --git a/core/mc.h b/common/mc.h similarity index 100% rename from core/mc.h rename to common/mc.h diff --git a/core/mdate.c b/common/mdate.c similarity index 100% rename from core/mdate.c rename to common/mdate.c diff --git a/core/pixel.c b/common/pixel.c similarity index 100% rename from core/pixel.c rename to common/pixel.c diff --git a/core/pixel.h b/common/pixel.h similarity index 100% rename from core/pixel.h rename to common/pixel.h diff --git a/core/ppc/mc.c b/common/ppc/mc.c similarity index 100% rename from core/ppc/mc.c rename to common/ppc/mc.c diff --git a/core/ppc/mc.h b/common/ppc/mc.h similarity index 100% rename from core/ppc/mc.h rename to common/ppc/mc.h diff --git a/core/ppc/pixel.c b/common/ppc/pixel.c similarity index 100% rename from core/ppc/pixel.c rename to common/ppc/pixel.c diff --git a/core/ppc/pixel.h b/common/ppc/pixel.h similarity index 100% rename from core/ppc/pixel.h rename to common/ppc/pixel.h diff --git a/core/ppc/ppccommon.h b/common/ppc/ppccommon.h similarity index 100% rename from core/ppc/ppccommon.h rename to common/ppc/ppccommon.h diff --git a/core/predict.c b/common/predict.c similarity index 100% rename from core/predict.c rename to common/predict.c diff --git a/core/predict.h b/common/predict.h similarity index 100% rename from core/predict.h rename to common/predict.h diff --git a/core/set.h b/common/set.h similarity index 100% rename from core/set.h rename to common/set.h diff --git a/core/vlc.h b/common/vlc.h similarity index 100% rename from core/vlc.h rename to common/vlc.h diff --git a/decoder/decoder.c b/decoder/decoder.c index 17c70327..fa47454d 100644 --- a/decoder/decoder.c +++ b/decoder/decoder.c @@ -26,9 +26,9 @@ #include #include -#include "../core/common.h" -#include "../core/cpu.h" -#include "../core/vlc.h" +#include "../common/common.h" +#include "../common/cpu.h" +#include "../common/vlc.h" #include "macroblock.h" #include "set.h" diff --git a/decoder/macroblock.c b/decoder/macroblock.c index 0d580e45..55e8ea4b 100644 --- a/decoder/macroblock.c +++ b/decoder/macroblock.c @@ -26,8 +26,8 @@ #include #include -#include "../core/common.h" -#include "../core/vlc.h" +#include "../common/common.h" +#include "../common/vlc.h" #include "vlc.h" #include "macroblock.h" diff --git a/decoder/set.c b/decoder/set.c index fb489970..e3f10aff 100644 --- a/decoder/set.c +++ b/decoder/set.c @@ -26,7 +26,7 @@ #include #include -#include "../core/common.h" +#include "../common/common.h" #include "set.h" /* return -1 if invalid, else the id */ diff --git a/decoder/vlc.c b/decoder/vlc.c index 2109e8c6..dc7f8d7e 100644 --- a/decoder/vlc.c +++ b/decoder/vlc.c @@ -25,8 +25,8 @@ #include #include -#include "../core/common.h" -#include "../core/vlc.h" +#include "../common/common.h" +#include "../common/vlc.h" #include "vlc.h" diff --git a/encoder/analyse.c b/encoder/analyse.c index da79c64e..7893513c 100644 --- a/encoder/analyse.c +++ b/encoder/analyse.c @@ -27,8 +27,8 @@ #include #include -#include "../core/common.h" -#include "../core/macroblock.h" +#include "../common/common.h" +#include "../common/macroblock.h" #include "macroblock.h" #include "me.h" #include "ratecontrol.h" diff --git a/encoder/cabac.c b/encoder/cabac.c index ce218247..0dc3228c 100644 --- a/encoder/cabac.c +++ b/encoder/cabac.c @@ -25,7 +25,7 @@ #include #include -#include "../core/common.h" +#include "../common/common.h" #include "macroblock.h" static const uint8_t block_idx_x[16] = diff --git a/encoder/cavlc.c b/encoder/cavlc.c index d2488c4c..5f19be00 100644 --- a/encoder/cavlc.c +++ b/encoder/cavlc.c @@ -25,8 +25,8 @@ #include #include -#include "../core/common.h" -#include "../core/vlc.h" +#include "../common/common.h" +#include "../common/vlc.h" #include "macroblock.h" static const uint8_t intra4x4_cbp_to_golomb[48]= diff --git a/encoder/encoder.c b/encoder/encoder.c index 214237c0..891ef73a 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -27,8 +27,8 @@ #include -#include "../core/common.h" -#include "../core/cpu.h" +#include "../common/common.h" +#include "../common/cpu.h" #include "set.h" #include "analyse.h" diff --git a/encoder/macroblock.c b/encoder/macroblock.c index 21a097e9..97334068 100644 --- a/encoder/macroblock.c +++ b/encoder/macroblock.c @@ -25,7 +25,7 @@ #include #include -#include "../core/common.h" +#include "../common/common.h" #include "macroblock.h" diff --git a/encoder/macroblock.h b/encoder/macroblock.h index b030755c..0b297cc9 100644 --- a/encoder/macroblock.h +++ b/encoder/macroblock.h @@ -24,7 +24,7 @@ #ifndef _ENCODER_MACROBLOCK_H #define _ENCODER_MACROBLOCK_H 1 -#include "../core/macroblock.h" +#include "../common/macroblock.h" int x264_macroblock_probe_pskip( x264_t *h ); diff --git a/encoder/me.c b/encoder/me.c index e105031c..75d08699 100644 --- a/encoder/me.c +++ b/encoder/me.c @@ -25,7 +25,7 @@ #include #include -#include "../core/common.h" +#include "../common/common.h" #include "me.h" /* presets selected from good points on the speed-vs-quality curve of several test videos diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c index 36030c07..bb944ddb 100644 --- a/encoder/ratecontrol.c +++ b/encoder/ratecontrol.c @@ -32,9 +32,9 @@ #include #include -#include "../core/common.h" -#include "../core/cpu.h" -#include "../core/macroblock.h" +#include "../common/common.h" +#include "../common/cpu.h" +#include "../common/macroblock.h" #include "ratecontrol.h" #ifdef SYS_MACOSX diff --git a/encoder/set.c b/encoder/set.c index e0c9504b..2f43f4ce 100644 --- a/encoder/set.c +++ b/encoder/set.c @@ -32,8 +32,8 @@ #include #include "../x264.h" -#include "../core/bs.h" -#include "../core/set.h" +#include "../common/bs.h" +#include "../common/set.h" void x264_sps_init( x264_sps_t *sps, int i_id, x264_param_t *param ) { diff --git a/testing/checkasm.c b/testing/checkasm.c index 1c5ab7e0..0d83c8e6 100644 --- a/testing/checkasm.c +++ b/testing/checkasm.c @@ -3,14 +3,14 @@ #include # -#include "core/common.h" +#include "common/common.h" #ifdef HAVE_MMXEXT -#include "core/i386/pixel.h" -#include "core/i386/dct.h" -#include "core/i386/mc.h" +#include "common/i386/pixel.h" +#include "common/i386/dct.h" +#include "common/i386/mc.h" #endif #ifdef ARCH_PPC -#include "core/ppc/pixel.h" +#include "common/ppc/pixel.h" #endif /* buf1, buf2: initialised to randome data and shouldn't write into them */ diff --git a/testing/macroblock-dz.c b/testing/macroblock-dz.c index 719edcbb..a81f9440 100644 --- a/testing/macroblock-dz.c +++ b/testing/macroblock-dz.c @@ -26,8 +26,8 @@ #include #include -#include "../core/common.h" -#include "../core/vlc.h" +#include "../common/common.h" +#include "../common/vlc.h" #include "macroblock.h" static const uint8_t intra4x4_cbp_to_golomb[48]= diff --git a/tools/avc2avi.c b/tools/avc2avi.c index 07f142bb..36f11c44 100644 --- a/tools/avc2avi.c +++ b/tools/avc2avi.c @@ -35,7 +35,7 @@ #include /* _O_BINARY */ #endif -#include "../core/bs.h" +#include "../common/bs.h" #define DATA_MAX 3000000 uint8_t data[DATA_MAX]; diff --git a/x264.c b/x264.c index 9ced41be..3c1185e3 100644 --- a/x264.c +++ b/x264.c @@ -36,7 +36,7 @@ #include /* _O_BINARY */ #endif -#include "core/common.h" +#include "common/common.h" #include "x264.h" #define DATA_MAX 3000000 -- 2.47.3