summaryrefslogtreecommitdiff
path: root/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omapl138.cfg
blob: c0d3550eac6c6cf8aaf28b4afed996a084c9730f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright (C) 2008-2010 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify 
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation version 2.1 of the License.
 *
 * This program is distributed #as is# WITHOUT ANY WARRANTY of any kind,
 * whether express or implied; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 */

prog.build.platform = "ti.platforms.evmOMAPL138";

/* Load support for the Codec Engine OSAL */
var osalGlobal = xdc.useModule('ti.sdo.ce.osal.Global');

/* Configure CE to use it's DSP Link Linux version */
osalGlobal.runtimeEnv = osalGlobal.DSPLINK_LINUX;

/* Enable SoCrates tracing in the demo */
/* var TraceUtil = xdc.useModule('ti.sdo.ce.utils.trace.TraceUtil'); */
/* TraceUtil.attrs = TraceUtil.SOCRATES_TRACING; */

/*
 *  ======== Engine Configuration ========
 */
var Engine = xdc.useModule('ti.sdo.ce.Engine');
var demoEngine = Engine.createFromServer(
    "codecServer",
    "./bin/cs.x674",
    "ti.sdo.server.cs"
    );

/* Remote server image */
var combopath = "" + java.lang.System.getenv("CODEC_SERVER");
if (combopath != "" && combopath != "null") {
	demoEngine.server = java.lang.System.getenv("CODEC_SERVER");
}
else {
	demoEngine.server = "./cs.x674";
}

/* Load support for the 'Davinci Multimedia Application Interface' modules */
var DMAI = xdc.loadPackage('ti.sdo.dmai');