nefudbz 发表于 2012-11-15 22:34:02

TQ6410+WinCE6.0+OV9650驱动中宏定义位置

本帖最后由 nefudbz 于 2012-11-15 23:05 编辑

手册中说到 drivers\camera\camera.h中找宏定义IOCTL_CAM_......,我的BSP包中没有这个文件。翻了其它.h文件,也没发现,望告知,急!谢谢!
不要告诉我用这些函数阿,一点说明没有,怎么用啊~
int   CameraInit(void *pData);
void   CameraDeinit();
int   CameraPrepareBuffer(P_CAMERA_DMA_BUFFER_INFO pBufInfo, int BufferType);
int   CameraSetFormat(UINT32 width, UINT32 height, int Format, int BufferType);
int   CameraDeallocateBuffer(int BufferType);
int      CameraGetCurrentFrameNum(int BufferType);
int   CameraCaptureControl(int Format, BOOL on);
int   CameraSetRegisters(int Format);
void    CameraClockOn(BOOL bOnOff);    // Clock on/off
void    CameraSleep();
void    CameraResume();
int      CameraZoom(int value);
bool MyCam_Init(int width,int height,int format,int type);
unsigned int CopyDispData(int format,int width,int height,unsigned char *pBuffer);
void printRegister();
void repaintLCD(unsigned char *data,int lcd_x,int lcd_y,int width,int height);
extern void setChannel(unsigned char data);
extern void setBright(unsigned char data);
extern void setContrast(unsigned char data);
extern void setSaturation(unsigned char data);
static void Delay(int count);
void initIIC(void);


TQ-lkp 发表于 2012-11-16 11:23:22

稍等 ,我发个源码上去

nefudbz 发表于 2012-11-16 11:27:23

TQ-lkp 发表于 2012-11-16 11:23 static/image/common/back.gif
稍等 ,我发个源码上去

谢谢!麻烦您了

TQ-lkp 发表于 2012-11-16 11:31:28

http://www.armbbs.net/forum.php?mod=viewthread&tid=14177&page=1&extra=#pid155082

nefudbz 发表于 2012-11-16 11:39:28

请问,有用C++的Demo代码么?

nefudbz 发表于 2012-11-16 11:43:41

或者这些宏定义 ,比如 CAM_IOCTL_CAM_START
能给我一份么?
页: [1]
查看完整版本: TQ6410+WinCE6.0+OV9650驱动中宏定义位置