ceapp.cfg

来自「Introduce how to Change the DVEVM6446 Me」· CFG 代码 · 共 60 行

CFG
60
字号
/*  *  Copyright 2007 *  Texas Instruments Incorporated * *  All rights reserved.  Property of Texas Instruments Incorporated *  Restricted rights to use, duplicate or disclose this code are *  granted through contract. *  *//* *  ======== ceapp.cfg ======== *//* use the tracing utility module */var TraceUtil = xdc.useModule('ti.sdo.ce.utils.trace.TraceUtil');//TraceUtil.attrs = TraceUtil.SOCRATES_TRACING;/* set up OSAL */var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');osalGlobal.runtimeEnv = osalGlobal.DSPLINK_LINUX;/* get various codec modules; i.e., implementation of codecs */var VIDDEC_COPY =    xdc.useModule('ti.sdo.ce.examples.codecs.viddec_copy.VIDDEC_COPY');var VIDENC_COPY =    xdc.useModule('ti.sdo.ce.examples.codecs.videnc_copy.VIDENC_COPY');/* *  ======== Engine Configuration ======== */var Engine = xdc.useModule('ti.sdo.ce.Engine');var myEngine = Engine.create("video_copy", [    {name: "videnc_copy", mod: VIDENC_COPY, local: false},    {name: "viddec_copy", mod: VIDDEC_COPY, local: false}]);myEngine.server = "./video_copy.x64P";/* *  ======== Server memory map (DSPLINK) configuration ======== *  This table must match exactly the addresses and sizes of *  segments in the Server's BIOS configuration (.tcf) script. *  There is exactly one "main", one "link", and one "reset" *  segment type, and zero or more of "other" types. */osalGlobal.armDspLinkConfig = {    memTable: [        ["DDRALGHEAP",   {addr: 0x83800000, size: 0x00400000, type: "other"}],        ["RESET_VECTOR", {addr: 0x83F00000, size: 0x00000080, type: "reset"}],        ["DDR",          {addr: 0x83C00000, size: 0x00300000, type: "main" }],        ["DSPLINKMEM",   {addr: 0x83F00080, size: 0x000FFF80, type: "link" }],    ],};Program.main = Program.system = null;/* *  @(#) ti.sdo.ce.examples.apps.video_copy.dualcpu; 1,0,0,33; 4-6-2007 17:42:32; /db/atree/library/trees/ce-f22x/src/ */

⌨️ 快捷键说明

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