vidcap.h

来自「这是基于韩国芯片EQUATOR公司的图像缩放程序」· C头文件 代码 · 共 50 行

H
50
字号
/**
*** 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 + =
减小字号Ctrl + -
显示快捷键?