📄 main1.h
字号:
#ifndef __CLC346MAIN_H
#define __CLC346MAIN_H
#include "..\inc\def.h"
void delay(U32 x);
#ifdef dsp_cl703
void CLC346MainLCD_Initialize_hitachi(void);
//void clc346_DispDemo(void);
//void Preview_ZoomTest(void);
void clc346_preview(U16 start_x,U16 start_y,U16 width,U16 height);
void OV_Initialize_sensor(void);
void Preview_Zoom(U8 flag,U16 start_x,U16 start_y,U16 width,U16 height);
void clc346_StillSingleCapture(void);
void clc346_CaptureImageUpload(U16 *stillimage,U32 gfillsize);
void clc346_CaptureImageDownload(U16 *stillimage,U32 gfillsize);
//void HYNIX_Initialize_sensor(void);
void clc346_MovieCapture(void);
void clc346_MovieCaptureUpload(U16 *stillimage,U32 gfillsize);
void clc346_MovieCapturedDownload(U16 *stillimage,U32 gfillsize);
void clc346_MovieReplay(void);
/*extern U16 *stillimage;
extern U32 gfillsize;
extern U16 start_x ;//0x80
extern U16 start_y ;//0x00
extern U16 width; //0x180
extern U16 height; //0x1e0;
//U8 Zoom_IN;
//U8 Zoom_OUT;
extern U16 *address;*/
//====================================================================================================
//
//
//====================================================================================================
extern void CamInputPixelRatio(U16 ratio);
extern void Cam1TSRAMControl(U16 control);
extern void CamMainLCDType1(U16 set);
extern void CamMainLCDType2(U16 set);
extern void CamMainLCDWindowControl(U16 set);
extern void CamMainLCDWindowXAddress(U16 set);
extern void CamMainLCDWindowYAddress(U16 set);
extern void CamMainLCDGRAMAccessControl(U16 set);
extern void CamMainLCDXYAddressCommand(U16 set);
extern void CamMainLCDXYAddressParameter(U16 set);
extern void CamMainLCDGRAMRWCommand(U16 set);
extern void CamMainLCDDisplayX_StartAddress(U16 Addr);
extern void CamMainLCDDisplayY_StartAddress(U16 Addr);
extern void CamMainLCDDisplayX_EndAddress(U16 Addr);
extern void CamMainLCDDisplayY_EndAddress(U16 Addr);
extern void CamDisplayStartAddress(U16 XAddr, U16 YAddr);
extern void CamDisplayEndAddress(U16 XAddr, U16 YAddr);
extern void CamPreviewTargetSize(U16 XSize, U16 YSize);
extern void CamPreview_On(void);
extern void CamJPEGWindowStartAddress(U16 XAddr, U16 YAddr);
extern void CamJPEGWindowEndAddress(U16 XAddr, U16 YAddr);
extern void CamJPEGTargetSize(U16 XSize, U16 YSize);
extern void CamUpperSRAMStartAddress(U16 Addr);
extern void CamLowerSRAMStartAddress(U16 Addr);
extern void CamJPEGQuantizationFactor(U16 scalefactor);
extern void CamStillImageCapture(void);
extern void ReadAsicCommand_Escape(U16 RegAddress, U16 *RegData);
extern U16 CamJpegFileSizeUpper(void);
extern U16 CamJpegFileSizeLower(void);
extern void CamStillImageSave(void);
extern void CamReadSram(U16 *ImageBuf, U32 endsize);
extern void CamStillImageDownload(void);
extern void CamWriteSram(U16 *ImageBuf, U32 size_word);
extern void CamSRAMStillImageView(void);
extern void CamSensorIICID(U16 idvalue);
extern void CamSensorAccessControl(U16 bytes, U16 address, U16 rwflag);
extern void CamSensorAccessAddressPointer(U16 Addr);
extern void CamSensorAccessDataPointer(U16 Data);
extern void WriteAsicCommand_Escape(U16 RegAddress, U16 RegData);
extern void CamInputClockControl(U16 frequency, U16 topology);
extern void CamVsyncDelayControl(U16 delaytype, U16 delaytime);
extern void CamVsyncShapeRegister(U16 validflag, U16 vsyncsel);
extern void CamInputPixelRatio(U16 ratio);
#endif
#endif //__CLC346MAIN_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -