805078a1bf
significantly speeds up file generation. the goal of this change is to convert rtcd.sh to perl as directly as possible to allow for simple comparison. future changes can make it more perl-like. --- Linux [CREATE] vpx_scale_rtcd.h real 0m0.485s -> 0m0.022s [CREATE] vp8_rtcd.h real 0m4.619s -> 0m0.060s [CREATE] vp9_rtcd.h real 0m10.102s -> 0m0.087s Windows [CREATE] vpx_scale_rtcd.h real 0m8.360s -> 0m0.080s [CREATE] vp8_rtcd.h real 1m8.083s -> 0m0.160s [CREATE] vp9_rtcd.h real 2m6.489s -> 0m0.233s Change-Id: Idfb71188206c91237d6a3c3a81dfe00d103f11ee
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
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
|
|
SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM)
|
|
SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copy_y_neon$(ASM)
|
|
SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM)
|
|
SCALE_SRCS-$(HAVE_NEON) += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM)
|
|
SCALE_SRCS-$(HAVE_NEON) += arm/neon/yv12extend_arm.c
|
|
|
|
#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))
|