idecbrd.h
来自「这是一个SIGMA方案的PMP播放器的UCLINUX程序,可播放DVD,VCD,」· C头文件 代码 · 共 305 行 · 第 1/2 页
H
305 行
QRESULT ( *RegistryUpdate) (IDecoderBoard* This, DWORD PropSet);// EM847x specific QRESULT ( *PrepareVideoIn) (IDecoderBoard* This, DWORD config); QRESULT ( *PrepareLBCCapture) (IDecoderBoard* This, DWORD config); QRESULT ( *WriteDataToLBC) (IDecoderBoard* This, DWORD Type, DWORD Addr, DWORD nBytes); QRESULT ( *ReadDataFromLBC) (IDecoderBoard* This, DWORD Type, DWORD Addr, DWORD nBytes); QRESULT ( *EnableLBCInterrupt) (IDecoderBoard* This, DWORD IrqMask); QRESULT ( *SelectVClk) (IDecoderBoard* This, VCLK_TYPE Type, void* pContext, DWORD ContextSize); QRESULT ( *SetCustomTvHdtv) (IDecoderBoard* This, void* pTvHdtv, DWORD TvHdtvSize); QRESULT ( *SendDataToDecoder) (IDecoderBoard* This, RM_WRITE_DATA_HEADER* pDataHeader, RM_WRITE_INFO_HEADER* pInfoHeader); QRESULT ( *CheckPendingCommand) (IDecoderBoard* This); HWLIB_END_INTERFACE} IDecoderBoardVtbl;#define IDecoderBoard_Delete(this, bDeleteObject) (this)->lpVtbl->Delete(this, bDeleteObject)#define IDecoderBoard_GetDeviceIdSubId(this) (this)->lpVtbl->GetDeviceIdSubId(this)#define IDecoderBoard_GetBoardVersion(this) (this)->lpVtbl->GetBoardVersion(this)#define IDecoderBoard_HwReset(this) (this)->lpVtbl->HwReset(this)#define IDecoderBoard_CloseCaptionInterrupt(this, pBuffer) (this)->lpVtbl->CloseCaptionInterrupt(this, pBuffer)#define IDecoderBoard_CaptureVideoFrame(this, pDst, bits, pBufferSize) (this)->lpVtbl->CaptureVideoFrame(this, pDst, bits, pBufferSize)#define IDecoderBoard_GetDataFifoInfo(this, type, p) (this)->lpVtbl->GetDataFifoInfo(this, type, p)#define IDecoderBoard_GetPacketsFifoInfo(this, type, p) (this)->lpVtbl->GetPacketsFifoInfo(this, type, p)#define IDecoderBoard_EnableMasterInterrupt(this) (this)->lpVtbl->EnableMasterInterrupt(this)#define IDecoderBoard_SetCurrentIrqMask(this, IrqMask) (this)->lpVtbl->SetCurrentIrqMask(this, IrqMask)#define IDecoderBoard_GetCurrentIrqMask(this) (this)->lpVtbl->GetCurrentIrqMask(this)#define IDecoderBoard_SetFrameEvent(this, nFrame) (this)->lpVtbl->SetFrameEvent(this, nFrame)#define IDecoderBoard_GetFrameEvent(this) (this)->lpVtbl->GetFrameEvent(this)#define IDecoderBoard_GetFrameCounter(this) (this)->lpVtbl->GetFrameCounter(this)#define IDecoderBoard_SetAudioFormat(this, AudioFormat) (this)->lpVtbl->SetAudioFormat(this, AudioFormat)#define IDecoderBoard_GetAudioFormat(this) (this)->lpVtbl->GetAudioFormat(this)#define IDecoderBoard_SetAudioOutputEnable(this, AudioOutputEnable) (this)->lpVtbl->SetAudioOutputEnable(this, AudioOutputEnable)#define IDecoderBoard_SetAudioNumChannels(this, nChannels) (this)->lpVtbl->SetAudioNumChannels(this, nChannels)#define IDecoderBoard_SetAudioNumBitsPerSample(this, nAudioNumBitsPerSample) (this)->lpVtbl->SetAudioNumBitsPerSample(this, nAudioNumBitsPerSample)#define IDecoderBoard_WriteSCR(this, Scr) (this)->lpVtbl->WriteSCR(this, Scr)#define IDecoderBoard_ReadSCR(this) (this)->lpVtbl->ReadSCR(this)#define IDecoderBoard_ReadHwPts45k(this) (this)->lpVtbl->ReadHwPts45k(this)#define IDecoderBoard_VideoWriteCommand(this, CommandID) (this)->lpVtbl->VideoWriteCommand(this, CommandID)#define IDecoderBoard_AudioWriteCommand(this, CommandID) (this)->lpVtbl->AudioWriteCommand(this, CommandID)#define IDecoderBoard_OsdWriteCommand(this, CommandID) (this)->lpVtbl->OsdWriteCommand(this, CommandID)#define IDecoderBoard_VideoHwPlay(this, PlayOptions, Event) (this)->lpVtbl->VideoHwPlay(this, PlayOptions, Event)#define IDecoderBoard_VideoHwPause(this) (this)->lpVtbl->VideoHwPause(this)#define IDecoderBoard_VideoHwStop(this) (this)->lpVtbl->VideoHwStop(this)#define IDecoderBoard_VideoHwBlackFrame(this) (this)->lpVtbl->VideoHwBlackFrame(this)#define IDecoderBoard_AudioHwPlay(this) (this)->lpVtbl->AudioHwPlay(this)#define IDecoderBoard_AudioHwPause(this) (this)->lpVtbl->AudioHwPause(this)#define IDecoderBoard_AudioHwStop(this) (this)->lpVtbl->AudioHwStop(this)#define IDecoderBoard_UpdateOverlay(this) (this)->lpVtbl->UpdateOverlay(this)#define IDecoderBoard_SelectOutputForVideo(this, Value) (this)->lpVtbl->SelectOutputForVideo(this, Value)#define IDecoderBoard_VidSetVGATV(this, wait, TvOut) (this)->lpVtbl->VidSetVGATV(this, wait, TvOut)#define IDecoderBoard_VidChangeDisplayResolution(this, p) (this)->lpVtbl->VidChangeDisplayResolution(this, p)#define IDecoderBoard_GetCapabilities(this) (this)->lpVtbl->GetCapabilities(this)#define IDecoderBoard_GetHardwareInfo1(this) (this)->lpVtbl->GetHardwareInfo1(this)#define IDecoderBoard_AudioSetSampleRate(this, Rate) (this)->lpVtbl->AudioSetSampleRate(this, Rate)// Video Interface#define IDecoderBoard_VideoSetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->VideoSetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_VideoSetAttribute(this, pAttrParams) (this)->lpVtbl->VideoSetAttribute(this, pAttrParams)#define IDecoderBoard_VideoGetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->VideoGetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_VideoGetAttribute(this, pAttrParams) (this)->lpVtbl->VideoGetAttribute(this, pAttrParams)#define IDecoderBoard_SetRelativeFrameStart(this, RelFrameStart)(this)->lpVtbl->SetRelativeFrameStart(this, RelFrameStart)#define IDecoderBoard_GetRelativeFrameStart(this) (this)->lpVtbl->GetRelativeFrameStart(this)// Audio Interface#define IDecoderBoard_AudioSetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->AudioSetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_AudioSetAttribute(this, pAttrParams) (this)->lpVtbl->AudioSetAttribute(this, pAttrParams)#define IDecoderBoard_AudioGetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->AudioGetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_AudioGetAttribute(this, pAttrParams) (this)->lpVtbl->AudioGetAttribute(this, pAttrParams)// Overlay Interface#define IDecoderBoard_OverlaySetAllWindows(this, Flags, pSrcWnd, pAcqWnd, pDstWnd, pOsdWnd, pOsdHiLiWnd)\ (this)->lpVtbl->OverlaySetAllWindows(this, Flags, pSrcWnd, pAcqWnd, pDstWnd, pOsdWnd, pOsdHiLiWnd)#define IDecoderBoard_OverlaySetAcq(this, pAcqWnd) (this)->lpVtbl->OverlaySetAcq(this, pAcqWnd)#define IDecoderBoard_OverlaySetSrc(this, pSrcWnd) (this)->lpVtbl->OverlaySetSrc(this, pSrcWnd)#define IDecoderBoard_OverlaySetDest(this, pDstWnd) (this)->lpVtbl->OverlaySetDest(this, pDstWnd)#define IDecoderBoard_OsdSetDest(this, pOsdWnd) (this)->lpVtbl->OsdSetDest(this, pOsdWnd)#define IDecoderBoard_OsdGetDest(this, pOsdWnd) (this)->lpVtbl->OsdGetDest(this, pOsdWnd)#define IDecoderBoard_OsdHiLiSetDest(this, pOsdWnd) (this)->lpVtbl->OsdHiLiSetDest(this, pOsdWnd)#define IDecoderBoard_OsdHiLiGetDest(this, pOsdWnd) (this)->lpVtbl->OsdHiLiGetDest(this, pOsdWnd)#define IDecoderBoard_OverlaySetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->OverlaySetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_OverlaySetAttribute(this, pAttrParams) (this)->lpVtbl->OverlaySetAttribute(this, pAttrParams)#define IDecoderBoard_OverlayGetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->OverlayGetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_OverlayGetAttribute(this, pAttrParams) (this)->lpVtbl->OverlayGetAttribute(this, pAttrParams)#define IDecoderBoard_OverlaySetVgaKey(this, pKey) (this)->lpVtbl->OverlaySetVgaKey(this, pKey)#define IDecoderBoard_OverlayGetVgaKey(this, pKey) (this)->lpVtbl->OverlayGetVgaKey(this, pKey)#define IDecoderBoard_OverlaySetVgaKey2(this, pKey2) (this)->lpVtbl->OverlaySetVgaKey2(this, pKey2)#define IDecoderBoard_OverlayGetVgaKey2(this, pKey2) (this)->lpVtbl->OverlayGetVgaKey2(this, pKey2)#define IDecoderBoard_OverlaySetMode(this, Mode) (this)->lpVtbl->OverlaySetMode(this, Mode)#define IDecoderBoard_OverlayCalibrate(this, pIn, pOut) (this)->lpVtbl->OverlayCalibrate(this, pIn, pOut)#define IDecoderBoard_OverlaySetColorCalibration(this, p) (this)->lpVtbl->OverlaySetColorCalibration(this, p)// OSD Interface#define IDecoderBoard_OsdSetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->OsdSetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_OsdSetAttribute(this, pAttrParams) (this)->lpVtbl->OsdSetAttribute(this, pAttrParams)#define IDecoderBoard_OsdGetAttributeEx(this, Attr, pData, ulSize) (this)->lpVtbl->OsdGetAttributeEx(this, Attr, pData, ulSize)#define IDecoderBoard_OsdGetAttribute(this, pAttrParams) (this)->lpVtbl->OsdGetAttribute(this, pAttrParams)#define IDecoderBoard_AdjTopBorder(this, pYOffset) (this)->lpVtbl->AdjTopBorder(this, pYOffset)#define IDecoderBoard_AdjLeftBorder(this, pXOffset) (this)->lpVtbl->AdjLeftBorder(this, pXOffset)#define IDecoderBoard_AdjCorrection(this, BorderOfsX, pCorr) (this)->lpVtbl->AdjCorrection(this, BorderOfsX, pCorr)#define IDecoderBoard_OverlayColorCalibrate(this, pIn, pOut) (this)->lpVtbl->OverlayColorCalibrate(this, pIn, pOut)#define IDecoderBoard_InitPtsFifo(this, type) (this)->lpVtbl->InitPtsFifo(this, type)#define IDecoderBoard_PtsFifoEmptiness(this, type) (this)->lpVtbl->PtsFifoEmptiness(this, type)#define IDecoderBoard_InitPacketsFifo(this, type) (this)->lpVtbl->InitPacketsFifo(this, type)#define IDecoderBoard_FlushPacketsFifo(this, type , pnEventPending) (this)->lpVtbl->FlushPacketsFifo(this, type , pnEventPending)#define IDecoderBoard_PacketsFifoEmptiness(this, type) (this)->lpVtbl->PacketsFifoEmptiness(this, type)#define IDecoderBoard_AddPacketInPacketsFifo(this, type, PhysicalAddress, ByteSize, EncryptedInfo)\ (this)->lpVtbl->AddPacketInPacketsFifo(this, type, PhysicalAddress, ByteSize, EncryptedInfo)#define IDecoderBoard_FreeConsumedData(this, type, npEventPending)(this)->lpVtbl->FreeConsumedData(this, type, npEventPending)#define IDecoderBoard_WriteData(this, type, pMWD, size, bLastPacket, pnEventPending)\ (this)->lpVtbl->WriteData(this, type, pMWD, size, bLastPacket, pnEventPending)#define IDecoderBoard_SendVideoPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)\ (this)->lpVtbl->SendVideoPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)#define IDecoderBoard_SendAudioPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)\ (this)->lpVtbl->SendAudioPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)#define IDecoderBoard_SendSpuPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)\ (this)->lpVtbl->SendSpuPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)#define IDecoderBoard_SendOSDPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)\ (this)->lpVtbl->SendOSDPayload(this, pMWD, ulSize, ValidPts, bLastPacket, pByteCounter, pnEventPending)#define IDecoderBoard_IsIntActive(this, pIrqStatus) (this)->lpVtbl->IsIntActive(this, pIrqStatus)#define IDecoderBoard_PcrInterruptProc(this, pContext, dwSize) (this)->lpVtbl->PcrInterruptProc(this, pContext, dwSize)#define IDecoderBoard_UpdateHwYuvPalette(this, pPalette) (this)->lpVtbl->UpdateHwYuvPalette(this, pPalette)#define IDecoderBoard_UpdateHwButton(this, leftb, topb, rightb, bottomb, wColor, wContrast)\ (this)->lpVtbl->UpdateHwButton(this, leftb, topb, rightb, bottomb, wColor, wContrast)#define IDecoderBoard_WriteSPCommand(this, SPCommand) (this)->lpVtbl->WriteSPCommand(this, SPCommand)#define IDecoderBoard_ConvertToSrcWndCoord(this, point) (this)->lpVtbl->ConvertToSrcWndCoord(this, point)// property interface#define IDecoderBoard_SetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)\ (this)->lpVtbl->SetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)#define IDecoderBoard_GetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)\ (this)->lpVtbl->GetProperty(this, PropSet, PropId, Flags, pData, dwSizeIn, pdwSizeOut)#define IDecoderBoard_RegistryUpdate(this, PropSet) (this)->lpVtbl->RegistryUpdate(this, PropSet)#define IDecoderBoard_PrepareVideoIn(this, config) (this)->lpVtbl->PrepareVideoIn(this, config)#define IDecoderBoard_PrepareLBCCapture(this, config) (this)->lpVtbl->PrepareLBCCapture(this, config)#define IDecoderBoard_WriteDataToLBC(this, Type, Addr, nBytes) (this)->lpVtbl->WriteDataToLBC(this, Type, Addr, nBytes)#define IDecoderBoard_ReadDataFromLBC(this, Type, Addr, nBytes) (this)->lpVtbl->ReadDataFromLBC(this, Type, Addr, nBytes)#define IDecoderBoard_EnableLBCInterrupt(this, IrqMask) (this)->lpVtbl->EnableLBCInterrupt(this, IrqMask)#define IDecoderBoard_SelectVClk(this, Type, pContext, ContextSize) (this)->lpVtbl->SelectVClk(this, Type, pContext, ContextSize)#define IDecoderBoard_SetCustomTvHdtv(this, pTvHdtv, TvHdtvSize) (this)->lpVtbl->SetCustomTvHdtv(this, pTvHdtv, TvHdtvSize)#define IDecoderBoard_SendDataToDecoder(this, pDataHeader, pInfoHeader) (this)->lpVtbl->SendDataToDecoder(this, pDataHeader, pInfoHeader)#define IDecoderBoard_CheckPendingCommand(this) (this)->lpVtbl->CheckPendingCommand(this)#endif #ifdef __cplusplus}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?