Vcap2820 sdk摄像头SDK

上传者: cqjiyong | 上传时间: 2022-09-19 17:11:37 | 文件大小: 11.12MB | 文件类型: RAR
一个摄像头处理的SDK,可以进行录像、抓图,只需要引用其中的devwdm.dll就行,直接调用其中相应的函数均即可完成。前提是你电脑要安装摄像头。 #ifndef _DEVWDM_H #define _DEVWDM_H #endif typedef enum { AnalogVideo_None = 0x00000000, AnalogVideo_NTSC_M = 0x00000001, AnalogVideo_PAL_B = 0x00000010, AnalogVideo_PAL_D = 0x00000020, AnalogVideo_SECAM_B = 0x00001000, AnalogVideo_SECAM_D = 0x00002000, } AnalogVideoStandard; /*devwdm_InitCard 函数功能: 初始化设备 nID: 设备ID号,默认0 hWnd: 显示视频窗口的窗口句柄 nWidth, nHeight: 图像的分辨率 */ LONG APIENTRY devwdm_InitCard(int nID, HWND hWnd, int nWidth, int nHeight); /*devwdm_CloseCard: 函数功能: 关闭设备 nID: 设备ID号 */ LONG APIENTRY devwdm_CloseCard(int nID); /*devwdm_SetVideoStandard 函数功能: 设置视频制式 nID: 设备ID号 VideoStandard: 制式,如P制:AnalogVideo_PAL_D;N制:AnalogVideo_NTSC_M等 */ LONG APIENTRY devwdm_SetVideoStandard(int nID, LONG VideoStandard); /*devwdm_SaveBmpFile 函数功能: 保存单前单帧图像 nID: 设备ID号 strFileName: 存放bmp文件的完整路径名 */ LONG APIENTRY devwdm_SaveBmpFile(int nID, char* strFileName); /*devwdm_SetDisplayPos 函数功能: 调整视频在其视频窗口的显示位置 nID: 设备ID号 x: 左上角的x位置 y: 左上角的y位置 w: 图像的宽度 h: 图像的高度 */ LONG APIENTRY devwdm_SetDisplayPos(int nID, int x, int y, int w, int h); /*devwdm_SetBrightNess,devwdm_SetContrast, devwdm_SetSaturation ,devwdm_SetHue 函数功能: 调整视频的颜色值,分别为亮度,对比度,饱和度色度 nID: 设备ID号 */ LONG APIENTRY devwdm_SetBrightNess(int nID, LONG brightness); LONG APIENTRY devwdm_SetContrast(int nID, LONG contrast); LONG APIENTRY devwdm_SetSaturation(int nID, LONG satu); LONG APIENTRY devwdm_SetHue(int nID, LONG hue); /*devwdm_GetBrightNess,devwdm_GetContrast, devwdm_GetSaturation ,devwdm_GetHue 函数功能: 取得当前视频的颜色值,分别为亮度,对比度,饱和度色度 nID: 设备ID号 Min---Max: 色彩范围值 */ LONG APIENTRY devwdm_GetBrightNess(int nID, LONG *brightness, LONG *Max, LONG *Min, LONG *Default); LONG APIENTRY devwdm_GetContrast(int nID, LONG *contrast, LONG *Max, LONG *Min, LONG *Default); LONG APIENTRY devwdm_GetSaturation(int nID, LONG *satu, LONG *Max, LONG *Min, LONG *Default); LONG APIENTRY devwdm_GetHue(int nID, LONG *hue, LONG *Max, LONG *Min, LONG *Default); /*devwdm_GetVideoPinCounts 函数功能: 取得当前设备的输入源,如:s-video, 复合视频等 nID: 设备ID号 OutputPins: InputPins 暂时不用 */ LONG APIENTRY devwdm_GetVideoPinCounts(int nID, LONG *OutputPins, LONG *InputPins); /*devwdm_RouteOutPin 函数功能: 设置当前设备的输入源, nID: 设备ID号 OutputPins: s-video为0, 复合视频为1 */ LONG APIENTRY devwdm_RouteOutPin(int nID, LONG OutputPin); /*devwdm_StartVideoPreview 函数功能: 启动视频 nID: 设备ID号 */ LONG APIENTRY devwdm_StartVideoPreview(int nID); /*devwdm_SetFlip 函数功能: 将视频图像垂直翻转180度, nID: 设备ID号 dwFlip: 为DWORD的指针,1或0, 1表示翻转,0表示正常显示 fbGet: 1:此函数当Get使用, 0,此函数当Set使用 */ LONG APIENTRY devwdm_SetFlip(int nID, DWORD *dwFlip, BOOL fbGet); /*devwdm_SetMirror 函数功能: 将视频图水平翻转180度, nID: 设备ID号 dwFlip: 为DWORD的指针,1或0, 1表示翻转,0表示正常显示 fbGet: 1:此函数当Get使用, 0,此函数当Set使用 */ LONG APIENTRY devwdm_SetMirror(int nID, DWORD *dwMirror, BOOL fbGet); /*devwdm_PreviewPause 函数功能: 视频暂停显示, nID: 设备ID号 */ LONG APIENTRY devwdm_PreviewPause(int nID); /*devwdm_PreviewResume 函数功能: 重新启动视频显示,与devwdm_PreviewPause相对应 nID: 设备ID号 */ LONG APIENTRY devwdm_PreviewResume(int nID); /*devwdm_StartCaptureMp4 函数功能: 启动录像,进行动态采集 nID: 设备ID号 strFileName: 存放录像文件的完整路径名 */ LONG APIENTRY devwdm_StartCaptureMp4(int nID, char* strFileName); /*devwdm_stopCaptureMp4 函数功能: 停止录像,终止进行动态采集 nID: 设备ID号 */ LONG APIENTRY devwdm_stopCaptureMp4(int nID);

文件下载

资源详情

[{"title":"( 79 个子文件 11.12MB ) Vcap2820 sdk摄像头SDK","children":[{"title":"Vcap2820 sdk","children":[{"title":"Vcap2820 sdk","children":[{"title":"devwdm.ax <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"Ucap2Control.ocx <span style='color:#111;'> 36.00KB </span>","children":null,"spread":false},{"title":"vbsample","children":[{"title":"Form1.frm <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"devwdm_api.bas <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"MSSCCPRJ.SCC <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"testsample.vbw <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"frmtest.frm <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"testsample.vbp <span style='color:#111;'> 735B </span>","children":null,"spread":false},{"title":"devwdm_api.bas.bak <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"vcSample","children":[{"title":"VCsample.vcproj.SERVER.LoginUser.user <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"VCsample.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"VCsample.rc <span style='color:#111;'> 6.65KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"VCsample.rc2 <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"VCsample.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"VCsample.plg <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"VCsampleDlg.h <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"devwdm.lib <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"devwdm.h <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"VCsample.sln <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"VCsample.suo <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"VCsample.opt <span style='color:#111;'> 209.00KB </span>","children":null,"spread":false},{"title":"VCsample.dsp <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"VCsampleDlg.cpp <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"VCsample.ncb <span style='color:#111;'> 137.00KB </span>","children":null,"spread":false},{"title":"VCsample.aps <span style='color:#111;'> 21.77KB </span>","children":null,"spread":false},{"title":"VCsample.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"VCsample.clw <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"StdAfx.obj <span style='color:#111;'> 453.41KB </span>","children":null,"spread":false},{"title":"VCsample.bsc <span style='color:#111;'> 11.20MB </span>","children":null,"spread":false},{"title":"sample.exe.embed.manifest <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 8.16KB </span>","children":null,"spread":false},{"title":"VCsample.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"VCsampleDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 1.91MB </span>","children":null,"spread":false},{"title":"VCsample.pch <span style='color:#111;'> 27.25MB </span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'> 883.00KB </span>","children":null,"spread":false},{"title":"VCsample.obj <span style='color:#111;'> 21.47KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 3.20MB </span>","children":null,"spread":false},{"title":"sample.exe.embed.manifest.res <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"VCsampleDlg.obj <span style='color:#111;'> 54.93KB </span>","children":null,"spread":false},{"title":"VCsample.res <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"devwdm.h.bak <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"VCsample.vcproj <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"VCsample.cpp <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false}],"spread":false},{"title":"devwdm.dll <span style='color:#111;'> 540.06KB </span>","children":null,"spread":false},{"title":"devwdm.lib <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"devwdm.h <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"testucapcontrol.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"AMCap.exe <span style='color:#111;'> 68.00KB </span>","children":null,"spread":false},{"title":"testUcapControl","children":[{"title":"Project1.vbp <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"frmtest.log <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"Project1.vbw <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"testucapcontrol.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false},{"title":"MSSCCPRJ.SCC <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"frmtest.frm <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"2Form1.frm <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"vbsample.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"devwdm.set <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"sample.exe <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"ClearDriver.exe <span style='color:#111;'> 152.00KB </span>","children":null,"spread":false},{"title":"Vcap2820","children":[{"title":"emDevice.sys <span style='color:#111;'> 114.12KB </span>","children":null,"spread":false},{"title":"emAudio.sys <span style='color:#111;'> 18.63KB </span>","children":null,"spread":false},{"title":"emUSD.dll <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false},{"title":"EMAUDIO.INF.bak <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"EMVIDEO.INF.bak <span style='color:#111;'> 41.05KB </span>","children":null,"spread":false},{"title":"EMVIDEO.INF <span style='color:#111;'> 41.15KB </span>","children":null,"spread":false},{"title":"emYUV.dll <span style='color:#111;'> 17.39KB </span>","children":null,"spread":false},{"title":"emTwain.ds <span style='color:#111;'> 68.00KB </span>","children":null,"spread":false},{"title":"emFilter.sys <span style='color:#111;'> 20.25KB </span>","children":null,"spread":false},{"title":"emVFW.dll <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"emProp.ax <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"emScan.sys <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"EMAUDIO.INF <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"emStream.sys <span style='color:#111;'> 23.73KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明