video.tci
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1k
- /*
- * ======== video.tci ========
- */
- /*
- * =========== GIO ===========
- */
- tibios.GIO.ENABLEGIO = 1;
- /*
- * ============ videoport Device Table ===========
- */
- var vp0_capture = tibios.UDEV.create("VP0CAPTURE");
- vp0_capture.fxnTable = prog.decl("VPORTCAP_Fxns");
- vp0_capture.fxnTableType = "IOM_Fxns";
- vp0_capture.params = prog.extern("EVMDM642_vCapParamsPort", "C")
- vp0_capture.deviceId = 0;
- var vp1_capture = tibios.UDEV.create("VP1CAPTURE");
- vp1_capture.fxnTable = prog.decl("VPORTCAP_Fxns");
- vp1_capture.fxnTableType = "IOM_Fxns";
- vp1_capture.params = prog.extern("EVMDM642_vCapParamsPort", "C")
- vp1_capture.deviceId = 1;
- var vp2_display = tibios.UDEV.create("VP2DISPLAY");
- vp2_display.fxnTable = prog.decl("VPORTDIS_Fxns");
- vp2_display.fxnTableType = "IOM_Fxns";
- vp2_display.params = prog.extern("EVMDM642_vDisParamsPort", "C")
- vp2_display.deviceId = 2;
- /*
- * ======== tskEcho ========
- */
- var tskEcho = tibios.TSK.create("tskLoopback");
- tskEcho.comment = "Loopback Task";
- tskEcho.fxn = prog.extern("tskVideoLoopback");
- tskEcho.priority = 1;