[转载] http://blog.csdn.net/chenbang110/article/details/8769873
codec engine代码是适用于XDC tools而写的,因此看代码之前要对XDC tools有一些基本的了解,可以参考:TI XDC工具入门简介
http://blog.csdn.net/u010186001/article/details/52863787
Package.xdc可用于描述该包的名称,版本信息,依赖文件,模块信息等。
根目录下的package.xdc,不看版权声明部分,正文的前几行是:- /* This "requires" list describes what packages to import into this bundle */
- requires ti.sdo.ce;
- requires ti.sdo.ce.node;
- requires ti.sdo.ce.ipc;
- requires ti.sdo.ce.ipc.bios;
- requires ti.sdo.ce.ipc.dsplink;
- requires ti.sdo.ce.ipc.dsplink.dsp;
- requires ti.sdo.ce.ipc.linux;
- requires ti.sdo.ce.ipc.noOS;
- /*!
- * ======== codec_engine ========
- * The Codec Engine product package. //codec engine产品包
- *
- * This package is a "bundle" of packages required to use the Codec Engine//这个包是一个要使用codec engine api来运行
- * API's to run algorithms. It also includes packages required to add new //算法所需要的包的bundle.这也包含了一些
- * algorithms to a system using the Codec Engine. //加使用codec engine的系统增加新算法所需的包.
- *
- */
- package codec_engine_2_23_01 [1, 0, 0] {
- } //这个结构的含义还不了解.
附上所有的require语句(上述只是一小部分):
- requires ti.sdo.ce; //ce-codec engine
- requires ti.sdo.ce.node; //codec engine节点
- requires ti.sdo.ce.ipc; //ipc=inter process communication 进程间通信的包.
- requires ti.sdo.ce.ipc.bios; //进程间通信的bios部分
- requires ti.sdo.ce.ipc.dsplink; //进程间通信用到的dsplink
- requires ti.sdo.ce.ipc.dsplink.dsp; //进程间通信用到的dsplink中的dsp部分
- requires ti.sdo.ce.ipc.linux; //进程间通信的linux部分
- requires ti.sdo.ce.ipc.noOS; //无操作系统情况下的进程间通信.
- requires ti.sdo.ce.osal; //这个不懂
- requires ti.sdo.ce.osal.bios;
- requires ti.sdo.ce.osal.linux;
- requires ti.sdo.ce.osal.noOS;
- requires ti.sdo.ce.alg; //alg=algorithm 算法
- requires ti.sdo.ce.trace; //调试追踪
- requires ti.sdo.ce.speech; //语音部分
- requires ti.sdo.ce.speech1;
- requires ti.sdo.ce.video; //视频部分
- requires ti.sdo.ce.video1;
- requires ti.sdo.ce.video2;
- requires ti.sdo.ce.audio; //音频部分
- requires ti.sdo.ce.audio1;
- requires ti.sdo.ce.global; //全局部分
- requires ti.sdo.ce.image; //图像部分
- requires ti.sdo.ce.image1;
- requires ti.sdo.ce.universal;
- requires ti.sdo.ce.vidtranscode; //视频转码
- requires ti.sdo.ce.vidanalytics; //视频分析
- requires ti.sdo.ce.video2.split; //视频分割
- requires ti.sdo.ce.bioslog; //bios日志
- requires ti.sdo.ce.utils; //附加工具
- requires ti.sdo.ce.utils.trace;//附加工具的调试部分
- requires ti.sdo.ce.utils.xdm;
- requires ti.dsplink.utils.lad;
- requires ti.dsplink.utils.ladclient;
- requires ti.sdo.ce.examples.codecs;//示例编解码器
- requires ti.sdo.ce.examples.codecs.viddec1_copy;//示例视频编码器
- requires ti.sdo.ce.examples.codecs.videnc1_copy;
- requires ti.sdo.ce.examples.codecs.imgdec1_copy;//示例图像编解码器
- requires ti.sdo.ce.examples.codecs.imgenc1_copy;
- requires ti.sdo.ce.examples.codecs.sphdec1_copy;//示例语音编解码器
- requires ti.sdo.ce.examples.codecs.sphenc1_copy;
- requires ti.sdo.ce.examples.codecs.auddec1_copy;//示例音频编解码器
- requires ti.sdo.ce.examples.codecs.audenc1_copy;
- requires ti.sdo.ce.examples.codecs.auddec1_ires; //音频资源
- requires ti.sdo.ce.examples.codecs.viddec2_copy;
- requires ti.sdo.ce.examples.codecs.viddec_copy;
- requires ti.sdo.ce.examples.codecs.videnc_copy;
- requires ti.sdo.ce.examples.codecs.imgdec_copy;
- requires ti.sdo.ce.examples.codecs.imgenc_copy;
- requires ti.sdo.ce.examples.codecs.sphdec_copy;
- requires ti.sdo.ce.examples.codecs.sphenc_copy;
- requires ti.sdo.ce.examples.codecs.auddec_copy;
- requires ti.sdo.ce.examples.codecs.audenc_copy;
- requires ti.sdo.ce.examples.codecs.g711;
- requires ti.sdo.ce.examples.codecs.scale;
- requires ti.sdo.ce.examples.codecs.vidtranscode_copy;
- requires ti.sdo.ce.examples.codecs.vidanalytics_copy;
- requires ti.sdo.ce.examples.codecs.viddec2split_copy;
- requires ti.sdo.ce.examples.codecs.universal_copy;
- requires ti.sdo.ce.examples.extensions;//扩展部分
- requires ti.sdo.ce.examples.extensions.scale;
- requires ti.sdo.ce.examples.servers;//服务器部分
- requires ti.sdo.ce.examples.servers.all_codecs;
- requires ti.sdo.ce.examples.servers.all_codecs_new_config;
- requires ti.sdo.ce.examples.servers.video_copy;
- requires ti.sdo.ce.examples.servers.video_copy.evmDM6446;
- requires ti.sdo.ce.examples.servers.video_copy.evmDM6467;
- requires ti.sdo.ce.examples.servers.video_copy.evm2530;
- requires ti.sdo.ce.examples.servers.video_copy.evm3530;
- requires ti.sdo.ce.examples.servers.video_copy.evmOMAPL137;
- requires ti.sdo.ce.examples.servers.server_api_example;
- requires ti.sdo.ce.examples.servers.audio1_ires;
- requires ti.sdo.ce.examples.buildutils;
- requires ti.sdo.ce.examples.apps;//应用部分
- requires ti.sdo.ce.examples.apps.video_copy.singlecpu;
- requires ti.sdo.ce.examples.apps.video_copy.singlecpu_configuro.evmDM365;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu.evmDM6446;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu.evmDM6467;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu.evm2530;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu.evm3530;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu.evmOMAPL137;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu_separateconfig;
- requires ti.sdo.ce.examples.apps.video_copy.dualcpu_separateconfig_dll;
- requires ti.sdo.ce.examples.apps.image_copy;
- requires ti.sdo.ce.examples.apps.speech_copy;
- requires ti.sdo.ce.examples.apps.audio_copy.singlecpu;
- requires ti.sdo.ce.examples.apps.audio_copy.dualcpu;
- requires ti.sdo.ce.examples.apps.audio_copy.dualcpu.evmDM6446;
- requires ti.sdo.ce.examples.apps.audio_copy.dualcpu.evmDM6467;
- requires ti.sdo.ce.examples.apps.audio_copy.dualcpu.evm2530;
- requires ti.sdo.ce.examples.apps.audio_copy.dualcpu.evm3530;
- requires ti.sdo.ce.examples.apps.server_api_example;
- requires ti.sdo.ce.examples.apps.server_trace;
- requires ti.sdo.ce.examples.apps.video2_copy;
- requires ti.sdo.ce.examples.apps.video1_copy;
- requires ti.sdo.ce.examples.apps.image1_copy;
- requires ti.sdo.ce.examples.apps.speech1_copy;
- requires ti.sdo.ce.examples.apps.audio1_copy.sync;
- requires ti.sdo.ce.examples.apps.audio1_copy.async;
- requires ti.sdo.ce.examples.apps.audio1_ires;
- requires ti.sdo.ce.examples.apps.video2split_copy;
- requires ti.sdo.ce.examples.apps.vidtranscode;
- requires ti.sdo.ce.examples.apps.vidanalytics;
- requires ti.sdo.ce.examples.apps.universal_copy;
- requires ti.sdo.ce.examples.apps.scale;
- requires ti.sdo.ce.examples.apps.speech;
- requires ti.sdo.ce.examples.apps.speech_copy_LAD;
- requires ti.sdo.ce.wizards.genserver;