ividdec.h

来自「这是一个SIGMA方案的PMP播放器的UCLINUX程序,可播放DVD,VCD,」· C头文件 代码 · 共 59 行

H
59
字号
/******************************************************************************  IVidDec.h : Type Definitions for video decoder interface*  REALmagic Quasar Hardware Library*  Created by Aurelia Popa-Radu*  Copyright Sigma Designs Inc*  Sigma Designs Proprietary and confidential*  Created on 2/5/01*  Description:*****************************************************************************/#ifdef __cplusplusextern "C"{#endif #ifndef __IVIDEODECODER_H__#define __IVIDEODECODER_H__//////////////////////////////////////////////////////////////////////////////// VideoDecoder Abstract interfacestypedef HWLIB_INTERFACE tagIVideoDecoder{	struct tagIVideoDecoderVtbl *lpVtbl;} IVideoDecoder;typedef struct tagIVideoDecoderVtbl{	HWLIB_BEGIN_INTERFACE		void	( *Delete)			(IVideoDecoder* This, BOOL bDeleteObject);		void	( *Init)			(IVideoDecoder* This);		QRESULT	( *Write)			(IVideoDecoder* This, BYTE Address, BYTE* pData);		QRESULT	( *Read)			(IVideoDecoder* This, BYTE Address, BYTE* pData);		void	( *InitPropertySet)	(IVideoDecoder* This, void* pPropSet, DWORD dwSize);		QRESULT ( *SetProperty)		(IVideoDecoder* This, DWORD PropSet, DWORD PropId, DWORD Flags, void* pData, DWORD dwSizeIn, DWORD* pdwSizeOut);		QRESULT ( *GetProperty)		(IVideoDecoder* This, DWORD PropSet, DWORD PropId, DWORD Flags, void* pData, DWORD dwSizeIn, DWORD* pdwSizeOut);		QRESULT	( *Test)			(IVideoDecoder* This);		HWLIB_END_INTERFACE} IVideoDecoderVtbl;#define IVideoDecoder_Delete(this,bDeleteObject)		(this)->lpVtbl->Delete(this, bDeleteObject)#define IVideoDecoder_Init(this)						(this)->lpVtbl->Init(this)#define IVideoDecoder_Write(this, Address, pData)		(this)->lpVtbl->Write(this, Address, pData)#define IVideoDecoder_Read(this, Address, pData)		(this)->lpVtbl->Read(this, Address, pData)#define IVideoDecoder_InitPropertySet(this, pPropSet, size)	(this)->lpVtbl->InitPropertySet(this, pPropSet, size)#define IVideoDecoder_SetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)\	(this)->lpVtbl->SetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)#define IVideoDecoder_GetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)\	(this)->lpVtbl->GetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)#define IVideoDecoder_Test(this)						(this)->lpVtbl->Test(this)#endif#ifdef __cplusplus}#endif 

⌨️ 快捷键说明

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