camif.h
来自「2440 开发板的测试程序。包括uart,iic,lcd」· C头文件 代码 · 共 71 行
H
71 行
/******************************************************************************
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 Camera_Test( void );
#ifdef __cplusplus
}
#endif
#endif /*__CAMIF_H__*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?