📄 pkg_x470mv.c
字号:
/* * Do not modify this file; it is automatically * generated and any modifications will be overwritten. */#define __nested__#define __config__#ifndef xdc_std__include#ifndef __nested__#define __nested__#include <xdc/std.h>#undef __nested__#else#include <xdc/std.h>#endif#endif#ifndef ti_sdo_ce_CERuntime__include#ifndef __nested__#define __nested__#include <ti/sdo/ce/CERuntime.h>#undef __nested__#else#include <ti/sdo/ce/CERuntime.h>#endif#endif#define ti_sdo_ce_CERuntime__used#define ti_sdo_ce_CERuntime___FXNTAB/* * ======== instance types ======== *//* * ======== declarations ======== *//* module ti.sdo.ce.CERuntime *//* * ======== module templates ======== *//* module xdc.cfg.Program *//* * ======== __PLAT__ ======== * Define the name of the platform that can run this executable. This * symbol is used by platform independent "exec" commands */char* __PLAT__ = "@(#)__PLAT__ = ti.platforms.evmDM6446";/* * ======== __ISA__ ======== * Define the ISA of this executable. This symbol is used by platform * specific "exec" commands that support more than one ISA; e.g., gdb */char* __ISA__ = "@(#)__ISA__ = v5t";/* module ti.platforms.evmDM6446.Platform *//* * ======== Platform Configuration ======== * Do not modify following; it is automatically generated from the template * Server.xdt in the ti.sdo.ce package and will be overwritten next time the * executable is configured *//* module ti.sdo.ce.osal.Global *//* * ======== Global Configuration ======== * Do not modify following; it is automatically generated from the template * Server.xdt in the ti.sdo.ce package and will be overwritten next time the * executable is configured */Void Power_init() {}Int Power_on(Ptr handle) { return 0; }Int Power_off(Ptr handle) { return 0; }Int Power_connect(Ptr handle) { return 0; }Int Power_disconnect(Ptr handle) { return 0; }/* configure GT: each runtime library defines _GT_params */#include <ti/sdo/ce/trace/gt.h>GT_Config *GT = &_GT_params;Int Comm_LOCATERETRIES = 20;Void DMAN3_CE_init(){}Void DMAN3_CE_exit(){}/* module ti.sdo.ce.utils.trace.TraceUtil */String TraceUtil_localTraceMask = "*=67";String TraceUtil_localTraceFile = "/tmp/cearmlog.txt";String TraceUtil_dsp0TraceMask = "*=67";String TraceUtil_dsp0TraceFile = "/tmp/cedsp0log.txt";String TraceUtil_dsp0BiosFile = "/tmp/bioslog.dat";String TraceUtil_traceFileFlags = "w";Int TraceUtil_refreshPeriod = 0;String TraceUtil_cmdPipeFile = "/tmp/cecmdpipe";static String TraceUtil_cmdAlias_0[] = { "socrates=on", "tracemask=*+5", "dsp0tracemask=*+5,ti.bios+3", "refreshperiod=200", NULL };static String TraceUtil_cmdAlias_1[] = { "socrates=off", "tracemask=*-5", "refreshperiod=0", "dsp0tracemask=*-5,ti.bios-3", NULL };String *TraceUtil_cmdAliases[] = { TraceUtil_cmdAlias_0, TraceUtil_cmdAlias_1, NULL };/* module ti.sdo.ce.Engine *//* * ======== Engine Configuration ======== * Do not modify following; it is automatically generated from the template * Engine.xdt in the ti.sdo.ce package and will be overwritten next time the * executable is configured */#include <ti/sdo/ce/Engine.h>#include <ti/xdais/ialg.h>#define MdUns UInt16#define SmUns UInt8#ifndef IDMA3_USEFULLPACKAGEPATH#define IDMA3_USEFULLPACKAGEPATH#endif#include <ti/xdais/idma3.h>#undef MdUns#undef SmUns/* type tables for algorithms */extern IALG_Fxns MP3DEC_TII_IMP3DEC;static String typeTab_MP3DEC_TII_IMP3DEC[] = { "ti.sdo.ce.audio.IAUDDEC", NULL};extern IALG_Fxns H264VDEC_TI_IALG;static String typeTab_H264VDEC_TI_IALG[] = { "ti.sdo.ce.video.IVIDDEC", NULL};extern IALG_Fxns G711DEC_TII_IG711DEC;static String typeTab_G711DEC_TII_IG711DEC[] = { "ti.sdo.ce.speech.ISPHDEC", NULL};extern IALG_Fxns AACDEC_TII_IAACDEC;static String typeTab_AACDEC_TII_IAACDEC[] = { "ti.sdo.ce.audio.IAUDDEC", NULL};extern IALG_Fxns MPEG2VDEC_TI_IALG;static String typeTab_MPEG2VDEC_TI_IALG[] = { "ti.sdo.ce.video.IVIDDEC", NULL};extern IALG_Fxns M4H3DEC_TI_IM4H3DEC;static String typeTab_M4H3DEC_TI_IM4H3DEC[] = { "ti.sdo.ce.video.IVIDDEC", NULL};/* tables of engine algorithms */extern IALG_Fxns SPHDEC_STUBS;extern IALG_Fxns SPHDEC_STUBS;extern IALG_Fxns AUDDEC_STUBS;extern IALG_Fxns AUDDEC_STUBS;extern IALG_Fxns AUDDEC_STUBS;extern IALG_Fxns AUDDEC_STUBS;extern IALG_Fxns VIDDEC_STUBS;extern IDMA3_Fxns H264VDEC_TI_IDMA3;extern IALG_Fxns VIDDEC_STUBS;extern IALG_Fxns VIDDEC_STUBS;extern IDMA3_Fxns MPEG2VDEC_TI_IDMA3;extern IALG_Fxns VIDDEC_STUBS;extern IALG_Fxns VIDDEC_STUBS;extern IDMA3_Fxns M4H3DEC_TI_IDMA3;extern IALG_Fxns VIDDEC_STUBS;static Engine_AlgDesc engineAlgs0[] = { { "g711dec", /* name */ {4027179937U}, /* uuid */ &SPHDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_G711DEC_TII_IG711DEC, /* typeTab */ FALSE, /* isLocal */ 0, /* groupId */ 3 /* protocol */ }, { "aacdec", /* name */ {1317360324U}, /* uuid */ &AUDDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_AACDEC_TII_IAACDEC, /* typeTab */ FALSE, /* isLocal */ 1, /* groupId */ 3 /* protocol */ }, { "mp3dec", /* name */ {2051098973U}, /* uuid */ &AUDDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_MP3DEC_TII_IMP3DEC, /* typeTab */ FALSE, /* isLocal */ 2, /* groupId */ 3 /* protocol */ }, { "h264dec", /* name */ {3867800161U}, /* uuid */ &VIDDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_H264VDEC_TI_IALG, /* typeTab */ FALSE, /* isLocal */ 3, /* groupId */ 3 /* protocol */ }, { "mpeg2dec", /* name */ {3800302491U}, /* uuid */ &VIDDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_MPEG2VDEC_TI_IALG, /* typeTab */ FALSE, /* isLocal */ 4, /* groupId */ 3 /* protocol */ }, { "mpeg4dec", /* name */ {1728742298U}, /* uuid */ &VIDDEC_STUBS, /* fxns */ NULL, /* idma3Fxns */ typeTab_M4H3DEC_TI_IM4H3DEC, /* typeTab */ FALSE, /* isLocal */ 5, /* groupId */ 3 /* protocol */ }, {NULL},};static Engine_AlgDesc engineAlgs1[] = { {NULL},};/* table of all engines available in this application */static Engine_Desc engineTab[] = { {"decode", /* engine name */ engineAlgs0, /* alg table */ "./decodeCombo.x64P" /* (optional) server name */ }, {"local", /* engine name */ engineAlgs1, /* alg table */ NULL /* (optional) server name */ }, {NULL, NULL, NULL} /* NULL-terminate the engine table */};Engine_Config Engine_config = { engineTab, /* table of all engines */ "local" /* local RMS engine name */};/* module ti.sdo.ce.CERuntime */#include <ti/sdo/ce/osal/Global.h>#include <ti/sdo/ce/osal/Comm.h>#include <ti/sdo/ce/osal/Memory.h>#include <ti/sdo/ce/osal/Thread.h>#include <ti/sdo/ce/osal/Process.h>#include <ti/sdo/ce/osal/AlgMem.h>#include <ti/sdo/ce/trace/gt.h>#include <ti/sdo/ce/Server.h>/* * ======== CERuntime_init ======== */Void ti_sdo_ce_CERuntime_init__F(Void){ GT_init(); /* allow user to over-ride via CE_TRACE. */ GT_set(Global_getenv("CE_TRACE")); /* init code contribution from ti.sdo.ce.utils.trace */ { extern Void TraceUtil_init(); TraceUtil_init(); } Global_init(); Comm_init(); Memory_init(); Thread_init(); Process_init(); AlgMem_init(); Engine_init(); /* init code contribution from ti.sdo.ce.bioslog */ { extern Void LogClient_init(); LogClient_init(); }}/* * ======== module configuration ======== *//* module ti.sdo.ce.CERuntime */const ti_sdo_ce_CERuntime_Config ti_sdo_ce_CERuntime_CONFIG = { sizeof (ti_sdo_ce_CERuntime_Config), /* __size */};/* * ======== module postInit ======== *//* * ======== program globals ======== *//* * ======== package stubs ======== */#include "xdc/package/package.c"#include "xdc/rts/package/package.c"#include "xdc/platform/package/package.c"#include "xdc/cfg/package/package.c"#include "xdc/shelf/package/package.c"#include "xdc/spec/package/package.c"#include "xdc/spec/jserver/package/package.c"#include "xdc/utils/package/package.c"#include "ti/catalog/c6000/package/package.c"#include "ti/platforms/evmDM6446/package/package.c"#include "gnu/targets/rts470MV/package/package.c"#include "ti/sdo/linuxutils/cmem/package/package.c"#include "ti/sdo/ce/trace/package/package.c"#include "dsplink/gpp/package/package.c"#include "decode_hd_package/package/package.c"#include "ti/sdo/ce/osal/alg/package/package.c"#include "ti/sdo/ce/osal/package/package.c"#include "ti/sdo/ce/bioslog/package/package.c"#include "ti/sdo/ce/utils/trace/package/package.c"#include "ti/xdais/package/package.c"#include "ti/sdo/ce/node/package/package.c"#include "ti/sdo/ce/package/package.c"#include "ti/xdais/dm/package/package.c"#include "ti/sdo/ce/speech/package/package.c"#include "ti/sdo/codecs/g711dec/package/package.c"#include "ti/sdo/ce/audio/package/package.c"#include "ti/sdo/codecs/aacdec/package/package.c"#include "ti/sdo/codecs/mp3dec/package/package.c"#include "ti/sdo/ce/video/package/package.c"#include "ti/sdo/codecs/h264dec/package/package.c"#include "ti/sdo/codecs/mpeg2dec/package/package.c"#include "ti/sdo/codecs/mpeg4dec/package/package.c"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -