📄 vidcap.h
字号:
/**
*** Copyright (c) 2002 Equator Technologies, Inc.
**/
/************************************************************************
***
*** FILENAME: vidcap.h
***
*** DESCRIPTION:
*** Test application for video capture and display.
***
*** This application captures and displays PAL or NTSC video.
***
*** Note: The Shark board only has one video input path.
***
************************************************************************/
#ifndef ETI_VIDCAP_H
#define ETI_VIDCAP_H
#include <eti/drv.h>
//! Initializes the test, opening the drivers
SCODE InitVidcap (
BOOL bUsePal, //!< Set to 0 to capture/display NTSC
BOOL bUsePort0, //!< Capture from video port0
BOOL bUsePort1 //!< Capture from video port1
);
//! Processes a buffer, capturing and sending out to display (port 0 and/or port1)
SCODE ProcessVidcapSingle (
int iFrameCount //!< Number of frames to capture (0=forever)
);
//! Frees resources, closes the drivers
SCODE CloseVidcap (void);
//! Vidcap test application
/*!
\note Captures and displays PAL or NTSC video for <iFramesToCapture> frames.
*/
SCODE ProcessVidcap(
BOOL bUsePal, //!< Set to 0 to capture/display NTSC
BOOL bUsePort0, //!< Capture from video port0
BOOL bUsePort1, //!< Capture from video port1
int iFramesToCapture //!< Number of frames to capture (0=forever)
);
#endif // ETI_VIDCAP_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -