⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drvmwe.h

📁 mstar 776 开发的车载dvd
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _MSMWE_H_
#define _MSMWE_H_

#include "DataType.h"
#include "Analog_Reg.h"
#include "drvGlobal.h"
#ifdef _MSMWE_C_
  #define INTERFACE
#else
  #define INTERFACE extern
#endif

INTERFACE U8 g_ucMWEStatus;
INTERFACE U8 g_ucMWETimer;
INTERFACE U16 g_wMWE_HStart;
INTERFACE U16 g_wMWE_VStart;

#undef INTERFACE

typedef enum
{
    MWE_OFF,
    MWE_FULL_SCREEN,
    MWE_SIDE_BY_SIDE,
    MWE_SMALL_MOVABLE
} _MWE_MODE;

#define MWE_MODE        (_BIT0|_BIT1)
#define MWE_SWAP        _BIT3
#define MWE_MOVE        _BIT4
#define MOVE_RIGHT      _BIT5
#define MOVE_DOWN       _BIT6

#define GetMWEMode()    (g_ucMWEStatus&MWE_MODE)
#define IsMWESwap()     (g_ucMWEStatus&MWE_SWAP)
#define IsMWEMove()     (g_ucMWEStatus&MWE_MOVE)
#define IsMoveRight()   (g_ucMWEStatus&MOVE_RIGHT)
#define IsMoveDown()    (g_ucMWEStatus&MOVE_DOWN)

void Drv_Scaler_MWEInit(void);
void Drv_Scaler_MWECtl(U8 u8Status);
void Drv_Scaler_MWEWindow(U8 u8Status);
void Drv_Scaler_MWEHandler(void);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -