viddec_copy.xs

来自「这是达芬奇开发下的一个例程」· XS 代码 · 共 66 行

XS
66
字号
/* *  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 + =
减小字号Ctrl + -
显示快捷键?