summaryrefslogtreecommitdiff
path: root/source/libvpx/vpx_scale/vpx_scale.mk
blob: 6123cff397858ec92a46c62c740a0200e5c11215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SCALE_SRCS-yes += vpx_scale.mk
SCALE_SRCS-yes += yv12config.h
SCALE_SRCS-yes += vpx_scale.h
SCALE_SRCS-yes += generic/vpx_scale.c
SCALE_SRCS-yes += generic/yv12config.c
SCALE_SRCS-yes += generic/yv12extend.c
SCALE_SRCS-$(CONFIG_SPATIAL_RESAMPLING) += generic/gen_scalers.c
SCALE_SRCS-yes += vpx_scale_asm_offsets.c
SCALE_SRCS-yes += vpx_scale_rtcd.c
SCALE_SRCS-yes += vpx_scale_rtcd.pl

#neon
# Hack. Check ESDP for no asm offsets.
ifeq ($(HAVE_EDSP),yes)
  SCALE_SRCS-$(HAVE_NEON_ASM)  += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM)
  SCALE_SRCS-$(HAVE_NEON_ASM)  += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM)
  SCALE_SRCS-$(HAVE_NEON_ASM)  += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM)
  SCALE_SRCS-$(HAVE_NEON_ASM)  += arm/neon/yv12extend_arm.c
endif

#mips(dspr2)
SCALE_SRCS-$(HAVE_DSPR2)  += mips/dspr2/yv12extend_dspr2.c

SCALE_SRCS-no += $(SCALE_SRCS_REMOVE-yes)

$(eval $(call asm_offsets_template,\
	         vpx_scale_asm_offsets.asm, vpx_scale/vpx_scale_asm_offsets.c))

$(eval $(call rtcd_h_template,vpx_scale_rtcd,vpx_scale/vpx_scale_rtcd.pl))