camif.h
资源名称:inc.rar [点击查看]
上传用户:dzdeming
上传日期:2022-08-03
资源大小:381k
文件大小:2k
源码类别:
Windows CE
开发平台:
Visual C++
- /******************************************************************************
- Filename: camif.h
- Descriptions
- - header file of camif.c
- History
- - July 23, 2003. Draft Version 0.0 by purnnamu
- - Janualy 15, 2004. Modifed by Boaz
- Copyright (c) 2003 SAMSUNG Electronics.
- # However, Anybody can use this code without our permission.
- ******************************************************************************/
- #ifndef __CAMIF_H__
- #define __CAMIF_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "camdef.h"
- #if 0 //If you have to use
- extern volatile U32 camTestMode;
- extern volatile U32 camCodecCaptureCount;
- extern volatile U32 camPviewCaptureCount;
- extern volatile U32 camPviewStatus;
- extern volatile U32 camCodecStatus;
- #endif
- void CalculateBurstSize(U32 dstHSize,U32 *mainBurstSize,U32 *RemainedBurstSize);
- void CalculatePrescalerRatioShift(U32 srcWidth, U32 dstWidth, U32 *ratio,U32 *shift);
- void __irq CamPviewIsr(void);
- void __irq CamCodecIsr(void);
- void __irq CamIsr(void);
- void CamPortSet(void);
- void CamPortReturn(void);
- void CamPreviewIntUnmask(void);
- void CamCodecIntUnmask(void);
- void CamPreviewIntMask(void);
- void CamCodecIntMask(void);
- void CamReset(void);
- void CamModuleReset(void);
- void SetCAMClockDivider(int divn);
- void CamCaptureStart(U32 mode);
- void CamCaptureStop(void);
- void _CamPviewStopHw(void);
- void _CamCodecStopHw(void);
- void Test_CamPreview(void);
- void Test_CamCodec(void);
- void Test_YCbCr_to_RGB(void);
- void Camera_Test(void);
- #ifdef __cplusplus
- }
- #endif
- #endif /*__CAMIF_H__*/