目录:~/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples
要修改的文件夹内容:
apps codecs extensions servers
1.复制apps codecs extensions 下的scale文件夹到一处,更改里面的内容
scale换为convert
SCALE换为CONVERT
文件名字也这样换
2.apps codecs extensions 下的makefile分别改为:
include ../../../../../xdcpaths.mak all: %:: echo DEVICES=$(DEVICES) $(MAKE) -C convert $@
all: %:: $(MAKE) -C convert $@
all: %:: #$(MAKE) -C scale $@ $(MAKE) -C convert $@
all.cfg文件
模仿
var SCALE = xdc.useModule('ti.sdo.ce.examples.codecs.scale.SCALE_TI');
{name: "scale", mod: SCALE, threadAttrs: { stackMemId: 0, priority: Server.MINPRI + 1} },
增加2句话:
var CONVERT = xdc.useModule('ti.sdo.ce.examples.codecs.convert.CONVERT_TI');
{name: "convert", mod: CONVERT, threadAttrs: { stackMemId: 0, priority: Server.MINPRI + 1} }
顺序1:
servers
apps
不行的话:
extensions
codecs
servers
apps
5.完结