Files
2026-08-24 10:03:24 +08:00

33 lines
703 B
C++

/*
* Copyright (c) 2014 Amlogic, Inc. All rights reserved.
*
* This source code is subject to the terms and conditions defined in the
* file 'LICENSE' which is part of this source code package.
*
* Description: header file
*/
#ifndef _CVRR_H
#define _CVRR_H
#define CS_VRR_DEV_PATH "/dev/vrr0"
#define VRR_IOC_TYPE 'V'
#define VRR_IOC_CMD_GET_SUPPORT _IOR(VRR_IOC_TYPE, 0x4, unsigned int)
class CVrr {
public:
static CVrr *getInstance();
bool GetVrrSupport();
private:
int VrrOpenModule(void);
int VrrCloseModule(void);
int VrrDeviceIOCtl(int request, ...);
CVrr();
~CVrr();
static CVrr *mInstance;
int mVrrDeviceId;
};
#endif