⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的各种滤波器源码
💻
字号:
# examples/cookbook/dct Makefile 11/20/00# pass in TCS, or set this here:HOSTCC = accENDIAN=elcheck:	-mkdir ref tmp	make clean	make fdct	@for endian in el eb ; \		do \		echo Endian $${endian}, ... Compiling -- ; \		make TCS=$(TCS) ENDIAN=$${endian} compile ; \		for a in input.linear input.rand test2d.2 blksample.1 blksample.2 blksample.3 blksample.4 blksample.5 blksample.6 input.2 ; \			do \			echo -n ... Input $$a "..."  ; \			$(TCS)/bin/tmsim dct.out <data/$$a >tmp/$$a ; \			fdct data/$$a >ref/$$a; \			echo `cmp -l ref/$$a tmp/$$a | wc -l` Differences;\			done ; \		doneprofile: compile	$(TCS)/bin/tmsim -target tm1100 -statfile dct.stf dct.out <data/input.linear >tmp/input.linear	$(TCS)/bin/tmprof dct.stf dct.out -nomm -scale 1 -fcs _dct8x8fixrun: dct.out	$(TCS)/bin/tmsim -target tm1100 -statfile dct.stf dct.out <input.linear >output.linearcompile: main.c dctfix.c	@$(TCS)/bin/tmcc -$(ENDIAN) -target tm1 -o dct.out dctfix.c main.c # -DONEPASSref : check	input.linear input.rand dct.out	$(TCS)/bin/tmsim dct.out -scale 8 input.linear >ref.linear	$(TCS)/bin/tmsim dct.out -scale 8 input.rand >ref.rand	echo "DCT Differences, input linear ::" 	-diff ref.linear output.linear	echo "DCT Differences, input rand ::" 	-diff ref.rand output.randfdct: fdct.c	$(HOSTCC) fdct.c -lm -o fdctone_d.out: one_d.c	$(TCS)/bin/tmcc -$(ENDIAN) -target tm1 one_d.c -o one_d.outinput.rand input.linear: gen.c	$(TCS)/bin/tmcc -$(ENDIAN) gen.c	$(TCS)/bin/tmsim a.out -rand >input.rand	$(TCS)/bin/tmsim a.out 10 >input.linearclean:	@-rm dct.stf dct.out *.o *.out fdctclobber: clean	@-rm input.rand input.linear output.rand output.linear ref.linear ref.randtar:	-tar cvf /tmp/dct.tar ./*.[ch] ./data ./Makefile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -