⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 seedmotiontestmain.c

📁 上传源码文件为配合SeedVPM642板视频开发
💻 C
字号:
/*
 *  Copyright 2003 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.
 *  
 */
/* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
#include <std.h>
#include <tsk.h>  
#include <sem.h>   
#include <gio.h>

#include <csl_dat.h>
#include <csl_cache.h>


#include <fvid.h>
#include <edc.h>
#include <vport.h>
#include <vportcap.h>
#include <vportdis.h>
#include <saa7121.h>
#include <TVP51xx.h>    

#include <seeddm642.h>

/*
 * ======== main ========
 */
extern void DeblockFrame(unsigned char *SrcY,unsigned char *filter,int mb_w,int qp);

main()
{ 
    /******************************************************/
    /* open CSL DAT module for fast copy                  */
    /******************************************************/
    CSL_init();                                             
    CACHE_clean(CACHE_L2ALL, 0, 0);
    CACHE_setL2Mode(CACHE_128KCACHE);       
    CACHE_enableCaching(CACHE_EMIFA_CE00);
    CACHE_enableCaching(CACHE_EMIFA_CE01);
    
    /*-------------------------------------------------------*/
    /*Open DAT for 2 dimensional copy */
    /*-------------------------------------------------------*/
    DAT_open(DAT_CHAANY,DAT_PRI_LOW, DAT_OPEN_2D);
	
	/*-------------------------------------------------------*/
    /*Initialize RF5 modules                                  */
    /*-------------------------------------------------------*/
    SCOM_init();
    
	/*-------------------------------------------------------*/
    /*Initialize the three tasks                             */
    /*-------------------------------------------------------*/
    tskProcessInit();

    /*-------------------------------------------------------*/
    /*Start the three tasks                                  */
    /*-------------------------------------------------------*/
    tskProcessStart();
    
    /*-------------------------------------------------------*/
    /* create all SCOM and message objects                   */
    /*-------------------------------------------------------*/
	SCOM_create("INTOPROC", NULL);
	SCOM_create("PROCTOIN", NULL);
	
 	SCOM_create("PROCTOOUT", NULL);
    SCOM_create("OUTTOPROC", NULL);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -