2024年3月21日发(作者:斛璇玑)
// OV9650_ : 实现文件
//
#include "stdafx.h"
#include "OV9650_Test.h"
#include "OV9650_TestDlg.h"
#include "winioctl.h"
#include
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
/************************************************************/
//添加camera控制字
// show Camera
// dwLenIn = 1 : Normal overlay
// dwLenIn = 4 : Alphablending
// dwLenIn = 5 : Colorkey overlay
#define IOCTL_CAM_SHOW CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// hide Camera
#define IOCTL_CAM_HIDE CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// Set Diplay position
// dwLenIn = MAKELONG(left, top)
// dwLenOut = MAKELONG(width, height)
#define IOCTL_CAM_SETPOS CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// play
#define IOCTL_CAM_CONT CTL_CODE(
1,
2,
3,
4,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,
2024年3月21日发(作者:斛璇玑)
// OV9650_ : 实现文件
//
#include "stdafx.h"
#include "OV9650_Test.h"
#include "OV9650_TestDlg.h"
#include "winioctl.h"
#include
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
/************************************************************/
//添加camera控制字
// show Camera
// dwLenIn = 1 : Normal overlay
// dwLenIn = 4 : Alphablending
// dwLenIn = 5 : Colorkey overlay
#define IOCTL_CAM_SHOW CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// hide Camera
#define IOCTL_CAM_HIDE CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// Set Diplay position
// dwLenIn = MAKELONG(left, top)
// dwLenOut = MAKELONG(width, height)
#define IOCTL_CAM_SETPOS CTL_CODE(
METHOD_NEITHER,FILE_ANY_ACCESS)
// play
#define IOCTL_CAM_CONT CTL_CODE(
1,
2,
3,
4,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,
FILE_DEVICE_VIDEO,