亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? utl.h

?? mpeg2_encoder為MPEG2算法的DEMO
?? H
?? 第 1 頁 / 共 2 頁
字號:
    #define UTL_logDebug( format )  \
            LOG_printf( UTL_logDebugHandle, (format) )
    #define UTL_logDebug0( format )  \
            LOG_printf( UTL_logDebugHandle, (format) )
    #define UTL_logDebug1( format, arg1 )  \
            LOG_printf( UTL_logDebugHandle, (format), (arg1) )
    #define UTL_logDebug2( format, arg1, arg2 )  \
            LOG_printf( UTL_logDebugHandle, (format), (arg1), (arg2) )
#else   /* UTL_LOGDEBUG == 0 */
    #define UTL_logDebug( format )
    #define UTL_logDebug0( format )
    #define UTL_logDebug1( format, arg1 )
    #define UTL_logDebug2( format, arg1, arg2 )
#endif  /* UTL_LOGDEBUG */

        
/*
 *  UTL_ALGMEM class comprises two related funtions:
 *  UTL_showAlgMem() which displays algorithm instance's memory usage, and
 *  UTL_showHeapUsage() which reports a particular heap's usage 
 */
#if UTL_ALGMEM == 1
    /* 
     *  ======== UTL_showAlgMem ==========
     *
     *  Reporting XDAIS algorithm memory usage
     *
     *  This macro provides size and memory type information for each allocated
     *  memory segment of the given algorithm (by calling the function below),
     *  as well as the total size broken down by memory type.
     *  If the third argument is set to 1, it will also show the actual
     *  memory address of the segment. That can be accomplished by defining
     *  flag UTL_ALGMEMVERBOSE to 1.
     */
    #define UTL_showAlgMem( alg )       \
        UTL_showAlgMemFunc( (Ptr)(alg), UTL_stringify( alg ), \
                            UTL_ALGMEMVERBOSE )
    /* Variant of UTL_showAlgMem() where name is specified directly. */
    #define UTL_showAlgMemName( alg, algName )       \
        UTL_showAlgMemFunc( (Ptr)(alg), algName, UTL_ALGMEMVERBOSE )
    #ifndef     UTL_ALGMEMVERBOSE
        #define UTL_ALGMEMVERBOSE 0   /* by default, don't display addresses */
    #endif
    
    /*
     *  ======== UTL_showAlgMemFunc ==========
     *
     *  Declaration of the actual function implementing the above macro.
     */
    extern Void UTL_showAlgMemFunc( Ptr algHandle, String algName, 
                                    Int boolVerbose );

    /* 
     *  ======== UTL_showHeapUsage ==========
     *
     *  A small utility function that shows the size and usage of the
     *  given segment. Similarly to a function above, it is a macro that
     *  expands the argument for printing and calls the actual function.
     */
    #define UTL_showHeapUsage( SEGID ) /* name such as IDATA */     \
        UTL_showHeapUsageFunc( SEGID, UTL_stringify( SEGID ) )
        
    /*
     *  ======== UTL_showHeapUsageFunc ==========
     *
     *  Declaration of the actual function implementing the above macro.
     */
    extern Void UTL_showHeapUsageFunc( Int segid, String segname );
    
#else                           /* UTL_ALGMEM */
    #define UTL_showAlgMem( alg )
    #define UTL_showAlgMemName( alg, algName )
    #define UTL_showHeapUsage( SEGID ) 
#endif                          /* UTL_ALGMEM */


/*  
 *  ======== UTL_sts* ==========
 *
 *  There are several utility functions for time measurement: measuring
 *  periods, execution times, and phases between periodic events.
 *
 *  Arguments to UTL_sts* functions are names of STS objects as defined
 *  in the DSP/BIOS configuration file (not the addresses). The only 
 *  prerequisite for using an  STS object with any UTL_sts function 
 *  is to use the following macro in any of the .c modules of the application: 
 *  UTL_stsDefine( <sts> );
 *  where <sts> is the name of the STS object as defined in the configuration 
 *  (e.g. "stsTime0" or "stsTransfer").
 *  This macro allocates a space for an internal structure used by UTL_sts* 
 *  functions and initializes that object.
 *
 *  Supported functions (macros) are the following: 
 * 
 *  UTL_stsStart( <sts> ), UTL_stsStop( <sts> ) -- start/stop sequence
 *  for measuring execution time. UTL_stsStart() also returns current time,
 *  UTL_stsStop() returns the measured difference. NOTE: for accurate
 *  results, it is recommended that you DISABLE INTERRUPTS before calling
 *  UTL_stsStart() and to enable them after returning from UTL_stsStop().
 * 
 *  UTL_stsPeriod( <sts> ) measures the difference in time between two
 *  calls to this procedure (for the same STS object), applies it to 
 *  the <sts> object and returns the difference.
 *
 *  UTL_stsPhase( <stsSrc1>, <stsSrc2>, <stsDst> ) -- examines the
 *  absolute difference in timestamp values for STS objects <stsSrc1> and 
 *  <stsSrc2>, stores it in <stsDst> and returns that value. Objects
 *  <stsSrc1> and <stsSrc2> must have been used in a UTL_stsPeriod()
 *  function; for instance, if data transmit functions for two channels
 *  call UTL_stsPeriod( stsCh0 ) and UTL_stsPeriod( stsCh0 ) respectively,
 *  UTL_stsPhase( stsCh0, stsCh0, stsPh01 ) will return the phase 
 *  difference between the two channels and update stsPh01 accordingly.
 */
#if UTL_STS == 1

    typedef struct _UTLSTS_Obj {
        STS_Obj *sts;      /* pointer to STS object defined in config file */
        LgUns    lastTime; /* last timestamp for this object */
        LgUns    count;    /* number of times Period invoked (used for Phase) */
    } UTLSTS_Obj;

    #define UTL_stsDefine( stsName )        \
        extern STS_Obj stsName;         \
        UTLSTS_Obj utl##stsName = { &(stsName), 0, 0 }

    #define UTL_stsStart( stsName ) do {        \
        extern UTLSTS_Obj utl##stsName;         \
        UTL_stsStartFunc( &(utl##stsName) );    \
        } while (0)

    #define UTL_stsStop( stsName ) do {         \
        extern UTLSTS_Obj utl##stsName;         \
        UTL_stsStopFunc( &(utl##stsName) );     \
        } while (0)

    #define UTL_stsPeriod( stsName ) do {       \
        extern UTLSTS_Obj utl##stsName;         \
        UTL_stsPeriodFunc( &(utl##stsName) );   \
        } while (0)

    #define UTL_stsPhase( stsSrc1, stsSrc2, stsDst ) do {                     \
        extern UTLSTS_Obj utl##stsSrc1, utl##stsSrc2, utl##stsDst ;           \
        UTL_stsPhaseFunc( &(utl##stsSrc1), &(utl##stsSrc2), &(utl##stsDst) ); \
        } while (0)

    #define UTL_stsReset( stsName ) do {        \
        extern UTLSTS_Obj utl##stsName;         \
        UTL_stsResetFunc( &(utl##stsName) );    \
        } while (0)

    extern LgUns UTL_stsStartFunc ( UTLSTS_Obj *utlsts );
    extern LgUns UTL_stsStopFunc  ( UTLSTS_Obj *utlsts );
    extern LgUns UTL_stsPeriodFunc( UTLSTS_Obj *utlsts );
    extern LgUns UTL_stsPhaseFunc ( UTLSTS_Obj *utlstsSrc1, 
                                    UTLSTS_Obj *utlstsSrc2, 
                                    UTLSTS_Obj *utlstsDst );
    extern Void  UTL_stsResetFunc ( UTLSTS_Obj *utlsts );

#else   /* UTL_STS */

    #define UTL_stsDefine( stsName ) extern Int noUTLStsFunctionality
    #define UTL_stsStart( stsName )
    #define UTL_stsStop( stsName )
    #define UTL_stsPeriod( stsName )
    #define UTL_stsPhase( stsSrc1, stsSrc2, stsDst )
    #define UTL_stsReset( stsName )

#endif  /* UTL_STS */



/*
 *  ======== UTL_assert ========
 *  Assert macro for exceptions
 * 
 *  If an assertion fails, we interrupt the execution flow and preserve
 *  the state of the system.
 *  If the application is being debugged with Code Composer Studio, we place 
 *  a word in program memory that has the effect of a breakpoint -- it halts 
 *  the execution and CCS shows the line of code where the failed assertion 
 *  occured. The special word that causes the breakpoint effect is different 
 *  for every DSP family.
 *  Otherwise, if CCS is not used, we disable interrupts and run into an 
 *  infinite loop, waiting for the user to halt the target manually.
 *  To do so, define UTL_ASSERTCCS macro flag externally to be 0.
 */
#if UTL_ASSERT == 1  /* first check if UTL_ASSERT() is enabled at all */

    /* 
     *  First we define the special word for each platform: 
     *  On 55x we add a NOP to guard against small possibility that 
     *  long instruction pipeline causes debugger to stop at next C src line
     *  instead of currently executing C src statement. We also ensure this 
     *  works on both 55x mnemonic (default) and algebraic 55x assembler.
     *  Note that asm statement is a single execution context to maintain
     *  pre-processor consistency.
     */
    #if   defined( _54_ ) 
        #define UTL_STOPWORD asm( "  ESTOP" )
    #elif defined( _55_ )
        #define UTL_STOPWORD asm(" .if (.MNEMONIC)\n ESTOP_1\n .else\n ESTOP_1()\n .endif\n NOP")
    #elif defined( _6x_ ) 
        #define UTL_STOPWORD asm( "    NOP\n    .word 0x10000000" )
    #else
        #define UTL_ASSERTCCS 0  /* unknown platform => no CCS breakpoint */
    #endif

    #if !defined( UTL_ASSERTCCS ) 
        #define UTL_ASSERTCCS 0
    #endif

    /* check if it's OK with the user to use CCS breakpoints for asserts() */
    #if UTL_ASSERTCCS == 0
        /* it is; define the UTL_assert macro */
        #define UTL_assert( expr )      \
            for (; !( expr ); )         \
                UTL_STOPWORD

    #else /* UTL_ASSERTCCS == 0 */  /* no Code Composer Studio here */
        #define UTL_assert( expr ) do {                                        \
            if ( !(expr) ) {  /* use UTL_error() to halt, prototyped below */  \
                UTL_error( "Assertion Violation: " __FILE__ ", line "          \
                    UTL_stringify(__LINE__) " (" UTL_stringify(expr) ")", 0 ); \
            }                                                                  \
        } while (0)
    #endif  /* UTL_ASSERTCCS */

    /*
     *  UTL_assertFunc() is meant for testing expressions with side effects,
     *  i.e. mostly for checking function calls. If enabled, behaves exactly
     *  the same as UTL_assert. If disabled, it is not expanded to nothing
     *  but to actual expression. E.g.,
     *  UTL_assertFunc( someFunc() == TRUE ); 
     *  If asserts are disabled, expands to
     *  (someFunc() == TRUE);
     */
    #define UTL_assertFunc UTL_assert
    
#else                       /* UTL_ASSERT */
    #define UTL_assert( expr )
    #define UTL_assertFunc( expr ) (expr)
#endif                      /* UTL_ASSERT */

/*
 *  Function prototype for UTL_error: place an error message (and up to 1 
 *  argument) into the BIOS system log, then halt the target. Can be used
 *  outside of UTL_assert() if someone needs it.
 */
extern Void UTL_error( String msg, Arg arg );

/*
 *  ======== UTL_stringify ========
 *  A utility macro that "stringifies" the macro argument x
 */
#define UTL_stringify(x)   _UTL_stringify(x)
#define _UTL_stringify(x)  #x


#ifdef __cplusplus
}
#endif /* extern "C" */

#endif /* UTL_ */


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
制服丝袜亚洲精品中文字幕| 国产精品主播直播| 欧美日韩一区视频| 亚洲国产成人午夜在线一区| 欧美激情综合五月色丁香| 极品销魂美女一区二区三区| 91精品免费观看| 九一久久久久久| 欧美极品另类videosde| 91啪亚洲精品| 五月综合激情网| 久久综合九色综合欧美亚洲| 成人av网在线| 亚洲国产成人av| 亚洲毛片av在线| 9191国产精品| 国产精品亚洲视频| 亚洲美女偷拍久久| 日韩免费一区二区三区在线播放| 国产 日韩 欧美大片| 亚洲国产欧美在线| 久久综合久色欧美综合狠狠| 色国产精品一区在线观看| 久久综合色天天久久综合图片| 懂色av噜噜一区二区三区av| 亚洲精品videosex极品| 精品日韩一区二区三区免费视频| 成人国产精品视频| 午夜欧美大尺度福利影院在线看| 26uuu久久天堂性欧美| 色又黄又爽网站www久久| 美国毛片一区二区三区| 亚洲免费观看高清| 国产午夜一区二区三区| 欧美日韩精品一区二区三区四区| 久久机这里只有精品| 亚洲美女视频在线| 久久久一区二区三区捆绑**| 欧美三片在线视频观看| jizz一区二区| 国内成人精品2018免费看| 亚洲福利视频一区| 国产精品久久一级| 精品国产免费一区二区三区香蕉| 91久久精品一区二区三| 国产成人免费视频网站高清观看视频| 污片在线观看一区二区| 韩日精品视频一区| 亚洲女厕所小便bbb| 久久精品视频免费观看| 日韩三级精品电影久久久 | 亚洲欧美另类久久久精品2019| 日韩一区二区在线免费观看| 91福利视频在线| 国产精品一区免费在线观看| 日韩精品成人一区二区在线| 日韩美女精品在线| 国产精品麻豆欧美日韩ww| 精品国精品国产| 欧美一级黄色片| 欧美高清www午色夜在线视频| 成人ar影院免费观看视频| 国产一区二区三区日韩| 秋霞成人午夜伦在线观看| 视频精品一区二区| 亚洲综合色噜噜狠狠| 中文字幕色av一区二区三区| 久久亚洲一区二区三区四区| 精品久久久久久久久久久久久久久 | 中文字幕va一区二区三区| 欧美一级二级在线观看| 欧美日本一区二区三区四区 | 国产一区二区三区不卡在线观看| 日韩国产一区二| 午夜精品久久久久久| 亚洲亚洲精品在线观看| 亚洲国产日日夜夜| 爽好多水快深点欧美视频| 天堂va蜜桃一区二区三区漫画版| 午夜av一区二区三区| 日本亚洲一区二区| 久久99久久久久| 韩国理伦片一区二区三区在线播放| 麻豆91免费看| 久久超级碰视频| 国产精品主播直播| av一区二区不卡| 在线亚洲+欧美+日本专区| 色哟哟一区二区三区| 在线观看网站黄不卡| 欧美乱熟臀69xxxxxx| 欧美不卡在线视频| 国产欧美一区视频| 自拍偷拍国产精品| 亚洲www啪成人一区二区麻豆| 日韩在线一二三区| 国产一区二区美女| 99免费精品在线| 欧美日韩精品欧美日韩精品| 日韩视频免费观看高清完整版在线观看| 精品女同一区二区| 中文字幕一区二区三区四区| 亚洲人精品午夜| 日韩电影一区二区三区| 国产成人免费av在线| 在线国产电影不卡| 日韩欧美中文字幕精品| 亚洲国产高清不卡| 爽好多水快深点欧美视频| 国产精品综合二区| 色乱码一区二区三区88| 91精品国产综合久久香蕉麻豆 | 亚洲欧美一区二区三区孕妇| 亚洲精品久久久蜜桃| 青青国产91久久久久久| 福利91精品一区二区三区| 欧美亚洲综合网| 久久亚洲综合av| 亚洲成人自拍网| 国产精品一区二区在线播放| 欧美亚洲尤物久久| 欧美极品少妇xxxxⅹ高跟鞋| 日韩专区中文字幕一区二区| eeuss鲁片一区二区三区| 欧美一区二区视频网站| 中文字幕一区二区三区色视频| 日本不卡一区二区三区| 99精品视频在线观看免费| 日韩欧美国产一区二区在线播放| 亚洲欧洲日韩在线| 国产一区视频导航| 正在播放亚洲一区| 樱桃国产成人精品视频| 国产成人午夜电影网| 日韩一卡二卡三卡国产欧美| 亚洲精选一二三| 国产成人av电影在线观看| 91麻豆精品91久久久久同性| 亚洲精品ww久久久久久p站| 国产99久久久国产精品潘金网站| 欧美精品在线一区二区三区| 亚洲人成网站精品片在线观看 | 成人性色生活片免费看爆迷你毛片| 制服丝袜亚洲精品中文字幕| 亚洲一二三四在线观看| 99久久精品国产观看| 久久久久久一级片| 国产在线国偷精品产拍免费yy| 欧美精品三级日韩久久| 亚洲综合免费观看高清完整版在线 | 中文字幕成人av| 国产乱码一区二区三区| 欧美日韩aaa| 亚洲成人7777| 在线观看亚洲精品| 亚洲日本在线天堂| 99re视频精品| 国产精品国产三级国产三级人妇 | 91看片淫黄大片一级在线观看| 久久久影视传媒| 国产精品小仙女| 久久久99久久精品欧美| 国产自产高清不卡| 国产亚洲精品精华液| 国产成人亚洲综合色影视| 日本不卡视频一二三区| 欧美一区二区三区在线视频| 污片在线观看一区二区| 3atv一区二区三区| 美女视频免费一区| 欧美成人三级电影在线| 韩国v欧美v亚洲v日本v| 久久久蜜桃精品| 成人久久视频在线观看| 亚洲三级在线播放| 欧美在线高清视频| 三级一区在线视频先锋| 91精品国产乱| 久久99久久久久| 国产日韩欧美一区二区三区乱码 | 精品一区精品二区高清| 久久精品视频在线免费观看| 成人黄色电影在线| 亚洲欧洲综合另类在线| 欧美三级日韩在线| 久久国产精品免费| 欧美激情综合五月色丁香| 色噜噜久久综合| 奇米在线7777在线精品| 国产欧美日韩在线| 色婷婷综合激情| 日韩**一区毛片| 337p粉嫩大胆噜噜噜噜噜91av| 成人免费视频免费观看| 亚洲自拍偷拍图区| 欧美mv和日韩mv国产网站| 国产99久久久久| 午夜精品久久一牛影视| 欧美成人免费网站| 色国产综合视频|