?? video_preview.tcf
字號:
/*
* Copyright 2007 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.
*
* @(#) dvsdk_1_00_00_19 1_00_00_19 031507 (davinci64LC-a19x)
*/
/*
* ======== video_preview.tcf ========
*
*/
/* Load the evmDM6437 platform memory map. */
utils.loadPlatform("ti.platforms.evmDM6437");
/* Import settings common to all DM6437 DVSDK examples. */
utils.importFile("DM6437_common.tci");
/* Static task configuration*/
bios.TSK.create("previewTask");
bios.TSK.instance("previewTask").stackSize = 16384;
bios.TSK.instance("previewTask").fxn = prog.extern("video_preview");
bios.TSK.instance("previewTask").comment = "Video Preview Example";
/* PSP configuration */
/* Enable ECM Handler */
bios.ECM.ENABLE = 1;
/* ECM configuration - manually Reflect these settings in soc.h */
bios.HWI.instance("HWI_INT7").interruptSelectNumber = 0;
bios.HWI.instance("HWI_INT8").interruptSelectNumber = 1;
bios.HWI.instance("HWI_INT9").interruptSelectNumber = 2;
bios.HWI.instance("HWI_INT10").interruptSelectNumber = 3;
/* Create user devices for I2C (needed by video) and video drivers */
bios.UDEV.create("I2C0");
bios.UDEV.instance("I2C0").fxnTableType = "IOM_Fxns";
bios.UDEV.instance("I2C0").initFxn = prog.extern("I2C_INIT");
bios.UDEV.instance("I2C0").params = prog.extern("I2C_devParams");
bios.UDEV.instance("I2C0").fxnTable = prog.extern("I2CMD_FXNS");
bios.UDEV.create("VPFE0");
bios.UDEV.instance("VPFE0").fxnTable = prog.extern("VPFEMD_FXNS");
bios.UDEV.instance("VPFE0").fxnTableType = "IOM_Fxns";
bios.UDEV.create("VPBE0");
bios.UDEV.instance("VPBE0").fxnTable = prog.extern("VPBEMD_FXNS");
bios.UDEV.instance("VPBE0").fxnTableType = "IOM_Fxns";
if (config.hasReportedError == false) {
// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!
prog.gen();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -