engine.cfg

来自「TI workshop 培训资料。 是关于如何创建DAVINCI平台下codec」· CFG 代码 · 共 33 行

CFG
33
字号
/*  ============================================================================ *   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 + =
减小字号Ctrl + -
显示快捷键?