Update of /cvsroot/phission/phission/projects/VDK/PhissionTests/phOmniVisionSource/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8975/PhissionTests/phOmniVisionSource/include
Added Files:
phOmniVisionSource.h
Log Message:
This project is meant for VDSP++ 4.5 and the new driver/System Service Libraries
--- NEW FILE: phOmniVisionSource.h ---
/* ----------------------------------------------------------------------------
* Copyright (c) 2005 Analog Devices. All Rights Reserved.
*
* This software is proprietary and confidential. By using this software
* you agree to the terms of the associated Analog Devices License Agreement.
* ----------------------------------------------------------------------------
*
* $File: test.c $
* $Revision: 1.1 $
* $Date: 2006/08/21 20:32:24 $
*
* Project: OV7XXX Omnivision sensor device driver test application
* Title: Omnivision OV7XXX sensor test
* Author(s): BJ
* Philip D.S. Thoren
*
* Description:
* The test application can capture a variety of different RGB formats from
* the OV7XXX sersor.
*
* This test uses a PPI interface to capture images.
* ------------------------------------------------------------------------- */
#ifndef _PHOMNIVISIONSOURCE
#define _PHOMNIVISIONSOURCE
#include <phImageCapture.h>
/* ------------------------------------------------------------------------- */
typedef struct phOmniVisionSourceInfo_t *phOmniVisionSourceInfo;
class phOmniVisionSource : public phImageCapture
{
protected:
phOmniVisionSourceInfo m_info;
int openSystem();
int closeSystem();
int openDevice();
int closeDevice();
int resetInfo();
int resetSystemInfo();
int resetDeviceInfo();
int resetBufferInfo();
//int freeInfo();
virtual int open(char *path);
virtual int close();
virtual int run();
virtual int cleanup();
public:
phOmniVisionSource(char *path = NULL );
~phOmniVisionSource();
virtual int onApplySettings();
virtual int isOpen();
};
#endif /* #define _PHOMNIVISIONSOURCE */
|