📄 viddec_copy.xs
字号:
/* * Copyright 2008 by Texas Instruments Incorporated. * * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are * granted through contract. * *//* * ======== VIDDEC_COPY.xs ======== * This file implements the functions specified in the ti.sdo.ce.ICodec * interface. These functions enable the configuration tool to validate * user supplied configuration parameters (e.g., stack size for the * thread running this codec). */var verbose = false; /* set to true to enable verbose output during config *//* * ======== getStackSize ======== */function getStackSize(prog){ if (verbose) { print("getting stack size for " + this.$name + " built for the target " + prog.build.target.$name + ", running on platform " + prog.platformName); } return (1024);}/* * ======== getDaramScratchSize ======== */function getDaramScratchSize(prog){ if (verbose) { print("getting DARAM scratch size for " + this.$name + " built for the target " + prog.build.target.$name + ", running on platform " + prog.platformName); } return (0);}/* * ======== getSaramScratchSize ======== */function getSaramScratchSize(prog){ if (verbose) { print("getting SARAM scratch size for " + this.$name + " built for the target " + prog.build.target.$name + ", running on platform " + prog.platformName); } return (0);}/* * @(#) ti.sdo.ce.examples.codecs.viddec_copy; 1,0,0,104; 1-14-2008 09:54:03; /db/atree/library/trees/ce-g30x/src/ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -