2014-01-03 07:49:45 +01:00
|
|
|
PROCESSING_SRCDIR=codec/processing
|
2013-12-10 09:19:42 +01:00
|
|
|
PROCESSING_CPP_SRCS=\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(PROCESSING_SRCDIR)/src/adaptivequantization/AdaptiveQuantization.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/backgrounddetection/BackgroundDetection.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/common/memory.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/common/thread.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/common/WelsFrameWork.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/common/WelsFrameWorkEx.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/complexityanalysis/ComplexityAnalysis.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/denoise/denoise.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/denoise/denoise_filter.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/downsample/downsample.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/downsample/downsamplefuncs.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/imagerotate/imagerotate.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/imagerotate/imagerotatefuncs.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/scenechangedetection/SceneChangeDetection.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/scenechangedetection/SceneChangeDetectionCommon.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/vaacalc/vaacalcfuncs.cpp\
|
|
|
|
$(PROCESSING_SRCDIR)/src/vaacalc/vaacalculation.cpp\
|
2013-12-10 09:19:42 +01:00
|
|
|
|
|
|
|
PROCESSING_OBJS += $(PROCESSING_CPP_SRCS:.cpp=.o)
|
2014-02-12 21:11:05 +01:00
|
|
|
|
2014-02-25 22:52:36 +01:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
2013-12-10 09:19:42 +01:00
|
|
|
PROCESSING_ASM_SRCS=\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(PROCESSING_SRCDIR)/src/asm/denoisefilter.asm\
|
|
|
|
$(PROCESSING_SRCDIR)/src/asm/downsample_bilinear.asm\
|
|
|
|
$(PROCESSING_SRCDIR)/src/asm/vaa.asm\
|
2013-12-10 09:19:42 +01:00
|
|
|
|
|
|
|
PROCESSING_OBJS += $(PROCESSING_ASM_SRCS:.asm=.o)
|
|
|
|
endif
|
|
|
|
|
|
|
|
OBJS += $(PROCESSING_OBJS)
|
2014-01-09 10:21:35 +01:00
|
|
|
$(PROCESSING_SRCDIR)/%.o: $(PROCESSING_SRCDIR)/%.cpp
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c $(CXX_O) $<
|
2013-12-10 09:19:42 +01:00
|
|
|
|
2014-01-09 10:21:35 +01:00
|
|
|
$(PROCESSING_SRCDIR)/%.o: $(PROCESSING_SRCDIR)/%.asm
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET_ASM)$(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(PROCESSING_ASMFLAGS) $(PROCESSING_ASM_INCLUDES) -o $@ $<
|
2013-12-10 11:57:32 +01:00
|
|
|
|
2013-12-10 09:19:42 +01:00
|
|
|
$(LIBPREFIX)processing.$(LIBSUFFIX): $(PROCESSING_OBJS)
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET)rm -f $@
|
|
|
|
$(QUIET_AR)$(AR) $(AR_OPTS) $+
|
2013-12-10 09:19:42 +01:00
|
|
|
|
|
|
|
libraries: $(LIBPREFIX)processing.$(LIBSUFFIX)
|
|
|
|
LIBRARIES += $(LIBPREFIX)processing.$(LIBSUFFIX)
|