📄 main.c
字号:
/* * Copyright 2006 * Texas Instruments Incorporated * * All rights reserved. Property of Texas Instruments Incorporated * Restricted rights to use, duplicate or disclose this code are * granted through contract. * *//* * ======== main.c ======== */#include <xdc/std.h>#include <ti/sdo/ce/CERuntime.h>#include <ti/sdo/ce/trace/gt.h>/* trace info: module name, mask */static GT_Mask gtMask = {0,0};/* * ======== main ======== */Void main(Int argc, Char *argv[]){ /* init Codec Engine */ CERuntime_init(); /* init trace */ GT_init(); /* create a mask to allow a trace-print welcome message below */ GT_create(>Mask, "servers.video_copy"); /* ...and initialize all masks in this module to "on" */ GT_set("servers.video_copy=01234567"); /* ... and finally, if an override is passed in via argv[1], set _that_ */ if (argc > 1 && argv[1] != NULL) { GT_set(argv[1]); } GT_0trace(gtMask, GT_4CLASS, "main> Welcome to DSP server's main().\n");}/* * @(#) codec_engine_1_02 1,0,0,147 7-14-2006 ce-d14*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -