• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is autogenerated, do not edit it directly, edit build/mktargets.py
2# instead. To regenerate files, run build/mktargets.sh.
3
4PROCESSING_SRCDIR=codec/processing
5PROCESSING_CPP_SRCS=\
6	$(PROCESSING_SRCDIR)/src/adaptivequantization/AdaptiveQuantization.cpp\
7	$(PROCESSING_SRCDIR)/src/backgrounddetection/BackgroundDetection.cpp\
8	$(PROCESSING_SRCDIR)/src/common/memory.cpp\
9	$(PROCESSING_SRCDIR)/src/common/WelsFrameWork.cpp\
10	$(PROCESSING_SRCDIR)/src/common/WelsFrameWorkEx.cpp\
11	$(PROCESSING_SRCDIR)/src/complexityanalysis/ComplexityAnalysis.cpp\
12	$(PROCESSING_SRCDIR)/src/denoise/denoise.cpp\
13	$(PROCESSING_SRCDIR)/src/denoise/denoise_filter.cpp\
14	$(PROCESSING_SRCDIR)/src/downsample/downsample.cpp\
15	$(PROCESSING_SRCDIR)/src/downsample/downsamplefuncs.cpp\
16	$(PROCESSING_SRCDIR)/src/imagerotate/imagerotate.cpp\
17	$(PROCESSING_SRCDIR)/src/imagerotate/imagerotatefuncs.cpp\
18	$(PROCESSING_SRCDIR)/src/scenechangedetection/SceneChangeDetection.cpp\
19	$(PROCESSING_SRCDIR)/src/scrolldetection/ScrollDetection.cpp\
20	$(PROCESSING_SRCDIR)/src/scrolldetection/ScrollDetectionFuncs.cpp\
21	$(PROCESSING_SRCDIR)/src/vaacalc/vaacalcfuncs.cpp\
22	$(PROCESSING_SRCDIR)/src/vaacalc/vaacalculation.cpp\
23
24PROCESSING_OBJS += $(PROCESSING_CPP_SRCS:.cpp=.$(OBJ))
25
26PROCESSING_ASM_SRCS=\
27	$(PROCESSING_SRCDIR)/src/x86/denoisefilter.asm\
28	$(PROCESSING_SRCDIR)/src/x86/downsample_bilinear.asm\
29	$(PROCESSING_SRCDIR)/src/x86/vaa.asm\
30
31PROCESSING_OBJSASM += $(PROCESSING_ASM_SRCS:.asm=.$(OBJ))
32ifeq ($(ASM_ARCH), x86)
33PROCESSING_OBJS += $(PROCESSING_OBJSASM)
34endif
35OBJS += $(PROCESSING_OBJSASM)
36
37PROCESSING_ASM_ARM_SRCS=\
38	$(PROCESSING_SRCDIR)/src/arm/adaptive_quantization.S\
39	$(PROCESSING_SRCDIR)/src/arm/down_sample_neon.S\
40	$(PROCESSING_SRCDIR)/src/arm/pixel_sad_neon.S\
41	$(PROCESSING_SRCDIR)/src/arm/vaa_calc_neon.S\
42
43PROCESSING_OBJSARM += $(PROCESSING_ASM_ARM_SRCS:.S=.$(OBJ))
44ifeq ($(ASM_ARCH), arm)
45PROCESSING_OBJS += $(PROCESSING_OBJSARM)
46endif
47OBJS += $(PROCESSING_OBJSARM)
48
49PROCESSING_ASM_ARM64_SRCS=\
50	$(PROCESSING_SRCDIR)/src/arm64/adaptive_quantization_aarch64_neon.S\
51	$(PROCESSING_SRCDIR)/src/arm64/down_sample_aarch64_neon.S\
52	$(PROCESSING_SRCDIR)/src/arm64/pixel_sad_aarch64_neon.S\
53	$(PROCESSING_SRCDIR)/src/arm64/vaa_calc_aarch64_neon.S\
54
55PROCESSING_OBJSARM64 += $(PROCESSING_ASM_ARM64_SRCS:.S=.$(OBJ))
56ifeq ($(ASM_ARCH), arm64)
57PROCESSING_OBJS += $(PROCESSING_OBJSARM64)
58endif
59OBJS += $(PROCESSING_OBJSARM64)
60
61PROCESSING_ASM_MIPS_MMI_SRCS=\
62	$(PROCESSING_SRCDIR)/src/mips/vaa_mmi.c\
63
64PROCESSING_OBJSMIPS_MMI += $(PROCESSING_ASM_MIPS_MMI_SRCS:.c=.$(OBJ))
65
66PROCESSING_ASM_MIPS_MSA_SRCS=\
67
68PROCESSING_OBJSMIPS_MSA += $(PROCESSING_ASM_MIPS_MSA_SRCS:.c=.$(OBJ))
69ifeq ($(ASM_ARCH), mips)
70ifeq ($(ENABLE_MMI), Yes)
71PROCESSING_OBJS += $(PROCESSING_OBJSMIPS_MMI)
72endif
73ifeq ($(ENABLE_MSA), Yes)
74PROCESSING_OBJS += $(PROCESSING_OBJSMIPS_MSA)
75endif
76endif
77OBJS += $(PROCESSING_OBJSMIPS_MMI)
78OBJS += $(PROCESSING_OBJSMIPS_MSA)
79
80PROCESSING_ASM_LOONGARCH_LSX_SRCS=\
81	$(PROCESSING_SRCDIR)/src/loongarch/vaa_lsx.c\
82
83PROCESSING_OBJSLOONGARCH_LSX += $(PROCESSING_ASM_LOONGARCH_LSX_SRCS:.c=.$(OBJ))
84
85PROCESSING_ASM_LOONGARCH_LASX_SRCS=\
86
87PROCESSING_OBJSLOONGARCH_LASX += $(PROCESSING_ASM_LOONGARCH_LASX_SRCS:.c=.$(OBJ))
88ifeq ($(ASM_ARCH), loongarch)
89ifeq ($(ENABLE_LSX), Yes)
90PROCESSING_OBJS += $(PROCESSING_OBJSLOONGARCH_LSX)
91endif
92ifeq ($(ENABLE_LASX), Yes)
93PROCESSING_OBJS += $(PROCESSING_OBJSLOONGARCH_LASX)
94endif
95endif
96
97OBJS += $(PROCESSING_OBJS)
98
99$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.cpp
100	$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c $(CXX_O) $<
101
102$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.c
103	$(QUIET_CC)$(CC) $(CFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c $(CXX_O) $<
104
105$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.asm
106	$(QUIET_ASM)$(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(PROCESSING_ASMFLAGS) $(PROCESSING_ASM_INCLUDES) -o $@ $<
107
108$(PROCESSING_SRCDIR)/%.$(OBJ): $(PROCESSING_SRCDIR)/%.S
109	$(QUIET_CCAS)$(CCAS) $(CCASFLAGS) $(ASMFLAGS) $(INCLUDES) $(PROCESSING_CFLAGS) $(PROCESSING_INCLUDES) -c -o $@ $<
110
111$(LIBPREFIX)processing.$(LIBSUFFIX): $(PROCESSING_OBJS)
112	$(QUIET)rm -f $@
113	$(QUIET_AR)$(AR) $(AR_OPTS) $+
114
115libraries: $(LIBPREFIX)processing.$(LIBSUFFIX)
116LIBRARIES += $(LIBPREFIX)processing.$(LIBSUFFIX)
117