windows-nt/Source/XPSP1/NT/drivers/wdm/dvd/mini/toshiba/cvpro.h
2020-09-26 16:20:57 +08:00

66 lines
1.5 KiB
C++

//***************************************************************************
// Video Processor(V-PRO) header
//
//***************************************************************************
#ifndef __CVPRO_H__
#define __CVPRO_H__
class VProcessor {
private:
PUCHAR ioBase;
ULONG AudioMode; // AC3, PCM, ...
BOOL SubpicMute;
UCHAR VproRESET_REG;
UCHAR VproVMODE_REG;
UCHAR VproAVM_REG;
//--- 97.09.04 K.Chujo
// new code
UCHAR VproCOMMAND_REG;
//--- End
//--- 97.09.10 K.Chujo
UCHAR AudioID;
UCHAR SubpicID;
//--- End.
public:
void init( const PDEVICE_INIT_INFO pDevInit );
void SetParam( ULONG aMode, BOOL bSubpicMute );
void VPRO_RESET_FUNC();
void VPRO_VIDEO_MUTE_ON();
void VPRO_VIDEO_MUTE_OFF();
void VPRO_INIT_NTSC();
void VPRO_INIT_PAL();
void VPRO_CC_ON();
void VPRO_CC_OFF();
void VPRO_SUBP_PALETTE( PUCHAR pPalData );
void VPRO_OSD_PALETTE( PUCHAR pPalData );
void SUBP_RESET_INIT();
void SUBP_RESET_FUNC();
void SUBP_RESET_STC();
void SUBP_BUFF_CLEAR();
void SUBP_MUTE_ON();
void SUBP_MUTE_OFF();
void SUBP_HLITE_ON();
void SUBP_HLITE_OFF();
void SUBP_SET_STC( ULONG stc );
void SUBP_SET_LNCTLI( PUCHAR pData );
void SUBP_SET_PXCTLIS( PUCHAR pData );
void SUBP_SET_PXCTLIE( PUCHAR pData );
void SUBP_STC_ON();
void SUBP_STC_OFF();
void SUBP_SET_SUBP_CH( ULONG ch );
ULONG SUBP_GET_SUBP_CH();
void SUBP_SET_AUDIO_CH( ULONG ch );
void SUBP_SET_AUDIO_NON();
ULONG SUBP_GET_AUDIO_CH();
void SUBP_SELECT_AUDIO_STID();
void SUBP_SELECT_AUDIO_SSID();
};
#endif // __CVPRO_H__