shithub: openh264

ref: 7f7f69f5de3820eb8ac7414f64c82d567c1858a1
dir: /codec/processing/targets.mk/

View raw version
# This file is autogenerated, do not edit it directly, edit build/mktargets.py
# instead. To regenerate files, run build/mktargets.sh.

PROCESSING_SRCDIR=codec/processing
PROCESSING_CPP_SRCS=\
	$(PROCESSING_SRCDIR)/src/adaptivequantization/AdaptiveQuantization.cpp\
	$(PROCESSING_SRCDIR)/src/backgrounddetection/BackgroundDetection.cpp\
	$(PROCESSING_SRCDIR)/src/common/memory.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/scrolldetection/ScrollDetection.cpp\
	$(PROCESSING_SRCDIR)/src/scrolldetection/ScrollDetectionFuncs.cpp\
	$(PROCESSING_SRCDIR)/src/vaacalc/vaacalcfuncs.cpp\
	$(PROCESSING_SRCDIR)/src/vaacalc/vaacalculation.cpp\

PROCESSING_OBJS += $(PROCESSING_CPP_SRCS:.cpp=.$(OBJ))

PROCESSING_ASM_SRCS=\
	$(PROCESSING_SRCDIR)/src/x86/denoisefilter.asm\
	$(PROCESSING_SRCDIR)/src/x86/downsample_bilinear.asm\
	$(PROCESSING_SRCDIR)/src/x86/vaa.asm\

PROCESSING_OBJSASM += $(PROCESSING_ASM_SRCS:.asm=.$(OBJ))
ifeq ($(ASM_ARCH), x86)
PROCESSING_OBJS += $(PROCESSING_OBJSASM)
endif
OBJS += $(PROCESSING_OBJSASM)

PROCESSING_ASM_ARM_SRCS=\
	$(PROCESSING_SRCDIR)/src/arm/adaptive_quantization.S\
	$(PROCESSING_SRCDIR)/src/arm/down_sample_neon.S\
	$(PROCESSING_SRCDIR)/src/arm/pixel_sad_neon.S\
	$(PROCESSING_SRCDIR)/src/arm/vaa_calc_neon.S\

PROCESSING_OBJSARM += $(PROCESSING_ASM_ARM_SRCS:.S=.$(OBJ))
ifeq ($(ASM_ARCH), arm)
PROCESSING_OBJS += $(PROCESSING_OBJSARM)
endif
OBJS += $(PROCESSING_OBJSARM)

PROCESSING_ASM_ARM64_SRCS=\
	$(PROCESSING_SRCDIR)/src/arm64/adaptive_quantization_aarch64_neon.S\
	$(PROCESSING_SRCDIR)/src/arm64/down_sample_aarch64_neon.S\
	$(PROCESSING_SRCDIR)/src/arm64/pixel_sad_aarch64_neon.S\
	$(PROCESSING_SRCDIR)/src/arm64/vaa_calc_aarch64_neon.S\

PROCESSING_OBJSARM64 += $(PROCESSING_ASM_ARM64_SRCS:.S=.$(OBJ))
ifeq ($(ASM_ARCH), arm64)
PROCESSING_OBJS += $(PROCESSING_OBJSARM64)
endif
OBJS += $(PROCESSING_OBJSARM64)

PROCESSING_ASM_MIPS_MMI_SRCS=\
	$(PROCESSING_SRCDIR)/src/mips/vaa_mmi.c\

PROCESSING_OBJSMIPS_MMI += $(PROCESSING_ASM_MIPS_MMI_SRCS:.c=.$(OBJ))

PROCESSING_ASM_MIPS_MSA_SRCS=\

PROCESSING_OBJSMIPS_MSA += $(PROCESSING_ASM_MIPS_MSA_SRCS:.c=.$(OBJ))
ifeq ($(ASM_ARCH), mips)
ifeq ($(ENABLE_MMI), Yes)
PROCESSING_OBJS += $(PROCESSING_OBJSMIPS_MMI)
endif
ifeq ($(ENABLE_MSA), Yes)
PROCESSING_OBJS += $(PROCESSING_OBJSMIPS_MSA)
endif
endif
OBJS += $(PROCESSING_OBJSMIPS_MMI)
OBJS += $(PROCESSING_OBJSMIPS_MSA)

OBJS += $(PROCESSING_OBJS)

$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.cpp
	$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c $(CXX_O) $<

$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.c
	$(QUIET_CC)$(CC) $(CFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c $(CXX_O) $<

$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.asm
	$(QUIET_ASM)$(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(PROCESSING_ASMFLAGS) $(PROCESSING_ASM_INCLUDES) -o $@ $<

$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.S
	$(QUIET_CCAS)$(CCAS) $(CCASFLAGS) $(ASMFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c -o $@ $<

$(LIBPREFIX)processing.$(LIBSUFFIX): $(PROCESSING_OBJS)
	$(QUIET)rm -f $@
	$(QUIET_AR)$(AR) $(AR_OPTS) $+

libraries: $(LIBPREFIX)processing.$(LIBSUFFIX)
LIBRARIES += $(LIBPREFIX)processing.$(LIBSUFFIX)