📄 ceapp.cfg
字号:
/* * Copyright 2008 * 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;/* * ======== Engine Configuration ======== */var Engine = xdc.useModule('ti.sdo.ce.Engine');var myEngine = Engine.createFromServer( "video_copy", // Engine name (as referred to in the C app) "./video_copy.x64P", // path to server exe, relative to its package dir "ti.sdo.ce.examples.servers.video_copy.evmDM6446" // server package // NOTE: you can see the list of available codecs in the build log; // look for line "Info: Configuring engine ..." in the build output );/* * The above statement (Engine.createFromServer) is equivalent * to the following block of code: * * // 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'); * // configure Engine with those codecs * var myEngine = Engine.create("video_copy", [ * {name: "videnc_copy", mod: VIDENC_COPY, local: false}, * {name: "viddec_copy", mod: VIDDEC_COPY, local: false} * ]); * // specify server executable * 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. * myEngine.armDspLinkConfig = { * memTable: [ * ["DDRALGHEAP", {addr: 0x88000000, size: 0x07A00000, type: "other"}], * ["DDR2", {addr: 0x8FA00000, size: 0x00400000, type: "main" }], * ["DSPLINKMEM", {addr: 0x8FE00000, size: 0x00100000, type: "link" }], * ["RESETCTRL", {addr: 0x8FF00000, size: 0x00000080, type: "reset"}], * ], * }; *//* * @(#) ti.sdo.ce.examples.apps.video_copy.dualcpu.evmDM6446; 1, 0, 0,55; 1-14-2008 09:51:44; /db/atree/library/trees/ce-g30x/src/ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -