Files
BPI-CM9-Linux/aml-comp/vendor/amlogic/meson_videoserver/vscfuse/include/info.h
T

42 lines
948 B
C++

/*
* Copyright (C) 2024 Amlogic Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef INFO_H
#define INFO_H
#include <cstdint>
#define MESON_SCALER_ID0 0x00
#define MESON_SCALER_ID1 0x01
typedef enum {
VT_SCALER_0 = 0x0,
VT_SCALER_1,
VT_HDMITX,
VT_SCALER_MAX,
} vt_scaler_id;
typedef struct VscEvent {
uint64_t displayId;
int scalerId;
uint32_t eventId;
uint8_t data[64];
} VscEventType;
#endif