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

📄 engine.cfg

📁 TI workshop 培训资料。 是关于如何创建DAVINCI平台下codec engine
💻 CFG
字号:
/*  ============================================================================ *   Copyright (c)  Texas Instruments Incorporated 2005 * *   Use of this software is controlled by the terms and conditions found in the *   license agreement under which this software has been supplied or provided. *  ============================================================================ *//* Load support for the Codec Engine */var osalGlobal = xdc.useModule( 'ti.sdo.ce.osal.Global' );/* Configure CE to use it's DSP Link Linux version */osalGlobal.runtimeEnv = osalGlobal.DSPLINK_LINUX;/* Load support for encode and decode */var VIDDEC = xdc.useModule('codecs.viddec_copy.VIDDEC_COPY'); var VIDENC = xdc.useModule('codecs.videnc_copy.VIDENC_COPY');var AUDDEC = xdc.useModule('codecs.auddec_copy.AUDDEC_COPY');var AUDENC = xdc.useModule('codecs.audenc_copy.AUDENC_COPY');/* *  ======== Engine Configuration ======== */var Engine = xdc.useModule('ti.sdo.ce.Engine');var demoEngine = Engine.create("encodedecode", [    {name: "video_encoder", mod: VIDENC, local: true, groupId: 0},    {name: "video_decoder", mod: VIDDEC, local: true, groupId: 0},     {name: "audio_encoder", mod: AUDENC, local: true, groupId: 1},    {name: "audio_decoder", mod: AUDDEC, local: true, groupId: 1}, ]);Program.main = Program.system = null;

⌨️ 快捷键说明

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