drvmwe.h

来自「mstar 776 开发的车载dvd」· C头文件 代码 · 共 64 行

H
64
字号
////////////////////////////////////////////////////////////////////////////////
//
// 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 + =
减小字号Ctrl + -
显示快捷键?