vdr  2.2.0
Public Member Functions | Private Attributes | List of all members
HDFF::cHdffCmdIf Class Reference

#include <hdffcmd.h>

Public Member Functions

 cHdffCmdIf (int OsdDev)
 
 ~cHdffCmdIf (void)
 
uint32_t CmdGetFirmwareVersion (char *pString, uint32_t MaxLength)
 
uint32_t CmdGetInterfaceVersion (char *pString, uint32_t MaxLength)
 
uint32_t CmdGetCopyrights (uint8_t Index, char *pString, uint32_t MaxLength)
 
void CmdAvSetPlayMode (uint8_t PlayMode, bool Realtime)
 
void CmdAvSetVideoPid (uint8_t DecoderIndex, uint16_t VideoPid, HdffVideoStreamType_t StreamType, bool PlaybackMode=false)
 
void CmdAvSetAudioPid (uint8_t DecoderIndex, uint16_t AudioPid, HdffAudioStreamType_t StreamType, HdffAvContainerType_t ContainerType=HDFF_AV_CONTAINER_PES)
 
void CmdAvSetPcrPid (uint8_t DecoderIndex, uint16_t PcrPid)
 
void CmdAvSetTeletextPid (uint8_t DecoderIndex, uint16_t TeletextPid)
 
void CmdAvSetVideoWindow (uint8_t DecoderIndex, bool Enable, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height)
 
void CmdAvShowStillImage (uint8_t DecoderIndex, const uint8_t *pStillImage, int Size, HdffVideoStreamType_t StreamType)
 
void CmdAvSetDecoderInput (uint8_t DecoderIndex, uint8_t DemultiplexerIndex)
 
void CmdAvSetDemultiplexerInput (uint8_t DemultiplexerIndex, uint8_t TsInputIndex)
 
void CmdAvSetVideoFormat (uint8_t DecoderIndex, const HdffVideoFormat_t *pVideoFormat)
 
void CmdAvSetVideoOutputMode (uint8_t DecoderIndex, HdffVideoOutputMode_t OutputMode)
 
void CmdAvSetStc (uint8_t DecoderIndex, uint64_t Stc)
 
void CmdAvFlushBuffer (uint8_t DecoderIndex, bool FlushAudio, bool FlushVideo)
 
void CmdAvEnableSync (uint8_t DecoderIndex, bool EnableSync)
 
void CmdAvSetVideoSpeed (uint8_t DecoderIndex, int32_t Speed)
 
void CmdAvSetAudioSpeed (uint8_t DecoderIndex, int32_t Speed)
 
void CmdAvEnableVideoAfterStop (uint8_t DecoderIndex, bool EnableVideoAfterStop)
 
void CmdAvSetAudioDelay (int16_t Delay)
 
void CmdAvSetAudioDownmix (HdffAudioDownmixMode_t DownmixMode)
 
void CmdAvSetAudioChannel (uint8_t AudioChannel)
 
void CmdAvSetSyncShift (int16_t SyncShift)
 
void CmdAvMuteAudio (uint8_t DecoderIndex, bool Mute)
 
void CmdOsdConfigure (const HdffOsdConfig_t *pConfig)
 
void CmdOsdReset (void)
 
uint32_t CmdOsdCreateDisplay (uint32_t Width, uint32_t Height, HdffColorType_t ColorType)
 
void CmdOsdDeleteDisplay (uint32_t hDisplay)
 
void CmdOsdEnableDisplay (uint32_t hDisplay, bool Enable)
 
void CmdOsdSetDisplayOutputRectangle (uint32_t hDisplay, uint32_t X, uint32_t Y, uint32_t Width, uint32_t Height)
 
void CmdOsdSetDisplayClippingArea (uint32_t hDisplay, bool Enable, uint32_t X, uint32_t Y, uint32_t Width, uint32_t Height)
 
void CmdOsdRenderDisplay (uint32_t hDisplay)
 
uint32_t CmdOsdCreatePalette (HdffColorType_t ColorType, HdffColorFormat_t ColorFormat, uint32_t NumColors, const uint32_t *pColors)
 
void CmdOsdDeletePalette (uint32_t hPalette)
 
void CmdOsdSetDisplayPalette (uint32_t hDisplay, uint32_t hPalette)
 
void CmdOsdSetPaletteColors (uint32_t hPalette, HdffColorFormat_t ColorFormat, uint8_t StartColor, uint32_t NumColors, const uint32_t *pColors)
 
uint32_t CmdOsdCreateFontFace (const uint8_t *pFontData, uint32_t DataSize)
 
void CmdOsdDeleteFontFace (uint32_t hFontFace)
 
uint32_t CmdOsdCreateFont (uint32_t hFontFace, uint32_t Size)
 
void CmdOsdDeleteFont (uint32_t hFont)
 
void CmdOsdDrawRectangle (uint32_t hDisplay, int X, int Y, int Width, int Height, uint32_t Color)
 
void CmdOsdDrawEllipse (uint32_t hDisplay, int CX, int CY, int RadiusX, int RadiusY, uint32_t Color, uint32_t Flags)
 
void CmdOsdDrawSlope (uint32_t hDisplay, int X, int Y, int Width, int Height, uint32_t Color, uint32_t Type)
 
void CmdOsdDrawText (uint32_t hDisplay, uint32_t hFont, int X, int Y, const char *pText, uint32_t Color)
 
void CmdOsdDrawUtf8Text (uint32_t hDisplay, uint32_t hFont, int X, int Y, const char *pText, uint32_t Color)
 
void CmdOsdDrawTextW (uint32_t hDisplay, uint32_t hFont, int X, int Y, const uint16_t *pText, uint32_t Color)
 
void CmdOsdDrawBitmap (uint32_t hDisplay, int X, int Y, const uint8_t *pBitmap, int BmpWidth, int BmpHeight, int BmpSize, HdffColorType_t ColorType, uint32_t hPalette)
 
void CmdOsdSaveRegion (uint32_t hDisplay, int X, int Y, int Width, int Height)
 
void CmdOsdRestoreRegion (uint32_t hDisplay)
 
void CmdMuxSetVideoOut (HdffVideoOut_t VideoOut)
 
void CmdMuxSetVolume (uint8_t Volume)
 
void CmdMuxMuteAudio (bool Mute)
 
void CmdHdmiSetVideoMode (HdffVideoMode_t VideoMode)
 
void CmdHdmiConfigure (const HdffHdmiConfig_t *pConfig)
 
void CmdHdmiSendCecCommand (HdffCecCommand_t Command)
 
void CmdRemoteSetProtocol (HdffRemoteProtocol_t Protocol)
 
void CmdRemoteSetAddressFilter (bool Enable, uint32_t Address)
 

Private Attributes

int mOsdDev
 

Detailed Description

Definition at line 15 of file hdffcmd.h.

Constructor & Destructor Documentation

HDFF::cHdffCmdIf::cHdffCmdIf ( int  OsdDev)

Definition at line 19 of file hdffcmd.c.

References mOsdDev.

HDFF::cHdffCmdIf::~cHdffCmdIf ( void  )

Definition at line 28 of file hdffcmd.c.

Member Function Documentation

void HDFF::cHdffCmdIf::CmdAvEnableSync ( uint8_t  DecoderIndex,
bool  EnableSync 
)
void HDFF::cHdffCmdIf::CmdAvEnableVideoAfterStop ( uint8_t  DecoderIndex,
bool  EnableVideoAfterStop 
)
void HDFF::cHdffCmdIf::CmdAvFlushBuffer ( uint8_t  DecoderIndex,
bool  FlushAudio,
bool  FlushVideo 
)

Definition at line 131 of file hdffcmd.c.

References HdffCmdAvFlushBuffer(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdAvMuteAudio ( uint8_t  DecoderIndex,
bool  Mute 
)
void HDFF::cHdffCmdIf::CmdAvSetAudioChannel ( uint8_t  AudioChannel)

Definition at line 166 of file hdffcmd.c.

References HdffCmdAvSetAudioChannel(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetAudioChannelDevice().

void HDFF::cHdffCmdIf::CmdAvSetAudioDelay ( int16_t  Delay)

Definition at line 156 of file hdffcmd.c.

References HdffCmdAvSetAudioDelay(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdAvSetAudioDownmix ( HdffAudioDownmixMode_t  DownmixMode)

Definition at line 161 of file hdffcmd.c.

References HdffCmdAvSetAudioDownmix(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdAvSetAudioPid ( uint8_t  DecoderIndex,
uint16_t  AudioPid,
HdffAudioStreamType_t  StreamType,
HdffAvContainerType_t  ContainerType = HDFF_AV_CONTAINER_PES 
)
void HDFF::cHdffCmdIf::CmdAvSetAudioSpeed ( uint8_t  DecoderIndex,
int32_t  Speed 
)
void HDFF::cHdffCmdIf::CmdAvSetDecoderInput ( uint8_t  DecoderIndex,
uint8_t  DemultiplexerIndex 
)

Definition at line 106 of file hdffcmd.c.

References HdffCmdAvSetDecoderInput(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cDvbHdFfDevice::SetPlayMode().

void HDFF::cHdffCmdIf::CmdAvSetDemultiplexerInput ( uint8_t  DemultiplexerIndex,
uint8_t  TsInputIndex 
)

Definition at line 111 of file hdffcmd.c.

References HdffCmdAvSetDemultiplexerInput(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdAvSetPcrPid ( uint8_t  DecoderIndex,
uint16_t  PcrPid 
)
void HDFF::cHdffCmdIf::CmdAvSetPlayMode ( uint8_t  PlayMode,
bool  Realtime 
)

Definition at line 66 of file hdffcmd.c.

References HdffCmdAvSetPlayMode(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cDvbHdFfDevice::SetPlayMode().

void HDFF::cHdffCmdIf::CmdAvSetStc ( uint8_t  DecoderIndex,
uint64_t  Stc 
)

Definition at line 126 of file hdffcmd.c.

References HdffCmdAvSetStc(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetPlayMode().

void HDFF::cHdffCmdIf::CmdAvSetSyncShift ( int16_t  SyncShift)

Definition at line 171 of file hdffcmd.c.

References HdffCmdAvSetSyncShift(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdAvSetTeletextPid ( uint8_t  DecoderIndex,
uint16_t  TeletextPid 
)

Definition at line 90 of file hdffcmd.c.

References HdffCmdAvSetTeletextPid(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdAvSetVideoFormat ( uint8_t  DecoderIndex,
const HdffVideoFormat_t pVideoFormat 
)

Definition at line 116 of file hdffcmd.c.

References HdffCmdAvSetVideoFormat(), and mOsdDev.

Referenced by cHdffSetup::SetVideoFormat().

void HDFF::cHdffCmdIf::CmdAvSetVideoOutputMode ( uint8_t  DecoderIndex,
HdffVideoOutputMode_t  OutputMode 
)

Definition at line 121 of file hdffcmd.c.

References HdffCmdAvSetVideoOutputMode(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdAvSetVideoPid ( uint8_t  DecoderIndex,
uint16_t  VideoPid,
HdffVideoStreamType_t  StreamType,
bool  PlaybackMode = false 
)
void HDFF::cHdffCmdIf::CmdAvSetVideoSpeed ( uint8_t  DecoderIndex,
int32_t  Speed 
)
void HDFF::cHdffCmdIf::CmdAvSetVideoWindow ( uint8_t  DecoderIndex,
bool  Enable,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height 
)

Definition at line 95 of file hdffcmd.c.

References HdffCmdAvSetVideoWindow(), and mOsdDev.

Referenced by cDvbHdFfDevice::ScaleVideo().

void HDFF::cHdffCmdIf::CmdAvShowStillImage ( uint8_t  DecoderIndex,
const uint8_t *  pStillImage,
int  Size,
HdffVideoStreamType_t  StreamType 
)

Definition at line 100 of file hdffcmd.c.

References HdffCmdAvShowStillImage(), and mOsdDev.

Referenced by cDvbHdFfDevice::StillPicture().

uint32_t HDFF::cHdffCmdIf::CmdGetCopyrights ( uint8_t  Index,
char *  pString,
uint32_t  MaxLength 
)

Definition at line 55 of file hdffcmd.c.

References HdffCmdGetCopyrights(), and mOsdDev.

uint32_t HDFF::cHdffCmdIf::CmdGetFirmwareVersion ( char *  pString,
uint32_t  MaxLength 
)

Definition at line 33 of file hdffcmd.c.

References HdffCmdGetFirmwareVersion(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffOsd::cHdffOsd().

uint32_t HDFF::cHdffCmdIf::CmdGetInterfaceVersion ( char *  pString,
uint32_t  MaxLength 
)

Definition at line 44 of file hdffcmd.c.

References HdffCmdGetInterfaceVersion(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdHdmiConfigure ( const HdffHdmiConfig_t pConfig)

Definition at line 379 of file hdffcmd.c.

References HdffCmdHdmiConfigure(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdHdmiSendCecCommand ( HdffCecCommand_t  Command)
void HDFF::cHdffCmdIf::CmdHdmiSetVideoMode ( HdffVideoMode_t  VideoMode)

Definition at line 373 of file hdffcmd.c.

References HdffCmdHdmiSetVideoMode(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdMuxMuteAudio ( bool  Mute)

Definition at line 368 of file hdffcmd.c.

References HdffCmdMuxMuteAudio(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdMuxSetVideoOut ( HdffVideoOut_t  VideoOut)

Definition at line 358 of file hdffcmd.c.

References HdffCmdMuxSetVideoOut(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdMuxSetVolume ( uint8_t  Volume)

Definition at line 363 of file hdffcmd.c.

References HdffCmdMuxSetVolume(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetVolumeDevice().

void HDFF::cHdffCmdIf::CmdOsdConfigure ( const HdffOsdConfig_t pConfig)

Definition at line 181 of file hdffcmd.c.

References HdffCmdOsdConfigure(), and mOsdDev.

Referenced by cHdffOsd::cHdffOsd().

uint32_t HDFF::cHdffCmdIf::CmdOsdCreateDisplay ( uint32_t  Width,
uint32_t  Height,
HdffColorType_t  ColorType 
)
uint32_t HDFF::cHdffCmdIf::CmdOsdCreateFont ( uint32_t  hFontFace,
uint32_t  Size 
)

Definition at line 282 of file hdffcmd.c.

References HDFF_INVALID_HANDLE, HdffCmdOsdCreateFont(), LOG_ERROR_STR, and mOsdDev.

Referenced by cHdffOsd::DrawText().

uint32_t HDFF::cHdffCmdIf::CmdOsdCreateFontFace ( const uint8_t *  pFontData,
uint32_t  DataSize 
)

Definition at line 263 of file hdffcmd.c.

References HDFF_INVALID_HANDLE, HdffCmdOsdCreateFontFace(), LOG_ERROR_STR, and mOsdDev.

Referenced by cHdffOsd::DrawText().

uint32_t HDFF::cHdffCmdIf::CmdOsdCreatePalette ( HdffColorType_t  ColorType,
HdffColorFormat_t  ColorFormat,
uint32_t  NumColors,
const uint32_t *  pColors 
)
void HDFF::cHdffCmdIf::CmdOsdDeleteDisplay ( uint32_t  hDisplay)
void HDFF::cHdffCmdIf::CmdOsdDeleteFont ( uint32_t  hFont)

Definition at line 295 of file hdffcmd.c.

References HdffCmdOsdDeleteFont(), and mOsdDev.

Referenced by cHdffOsd::~cHdffOsd().

void HDFF::cHdffCmdIf::CmdOsdDeleteFontFace ( uint32_t  hFontFace)

Definition at line 276 of file hdffcmd.c.

References HdffCmdOsdDeleteFontFace(), and mOsdDev.

Referenced by cHdffOsd::~cHdffOsd().

void HDFF::cHdffCmdIf::CmdOsdDeletePalette ( uint32_t  hPalette)
void HDFF::cHdffCmdIf::CmdOsdDrawBitmap ( uint32_t  hDisplay,
int  X,
int  Y,
const uint8_t *  pBitmap,
int  BmpWidth,
int  BmpHeight,
int  BmpSize,
HdffColorType_t  ColorType,
uint32_t  hPalette 
)

Definition at line 339 of file hdffcmd.c.

References HdffCmdOsdDrawBitmap(), and mOsdDev.

Referenced by cHdffOsd::DrawBitmap(), and cHdffOsdRaw::Flush().

void HDFF::cHdffCmdIf::CmdOsdDrawEllipse ( uint32_t  hDisplay,
int  CX,
int  CY,
int  RadiusX,
int  RadiusY,
uint32_t  Color,
uint32_t  Flags 
)

Definition at line 307 of file hdffcmd.c.

References HdffCmdOsdDrawEllipse(), and mOsdDev.

Referenced by cHdffOsd::DrawEllipse().

void HDFF::cHdffCmdIf::CmdOsdDrawRectangle ( uint32_t  hDisplay,
int  X,
int  Y,
int  Width,
int  Height,
uint32_t  Color 
)
void HDFF::cHdffCmdIf::CmdOsdDrawSlope ( uint32_t  hDisplay,
int  X,
int  Y,
int  Width,
int  Height,
uint32_t  Color,
uint32_t  Type 
)

Definition at line 314 of file hdffcmd.c.

References HdffCmdOsdDrawSlope(), and mOsdDev.

Referenced by cHdffOsd::DrawSlope().

void HDFF::cHdffCmdIf::CmdOsdDrawText ( uint32_t  hDisplay,
uint32_t  hFont,
int  X,
int  Y,
const char *  pText,
uint32_t  Color 
)

Definition at line 321 of file hdffcmd.c.

References HdffCmdOsdDrawText(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdOsdDrawTextW ( uint32_t  hDisplay,
uint32_t  hFont,
int  X,
int  Y,
const uint16_t *  pText,
uint32_t  Color 
)

Definition at line 333 of file hdffcmd.c.

References HdffCmdOsdDrawWideText(), and mOsdDev.

Referenced by cHdffOsd::DrawText().

void HDFF::cHdffCmdIf::CmdOsdDrawUtf8Text ( uint32_t  hDisplay,
uint32_t  hFont,
int  X,
int  Y,
const char *  pText,
uint32_t  Color 
)

Definition at line 327 of file hdffcmd.c.

References HdffCmdOsdDrawUtf8Text(), and mOsdDev.

Referenced by cHdffOsd::DrawText().

void HDFF::cHdffCmdIf::CmdOsdEnableDisplay ( uint32_t  hDisplay,
bool  Enable 
)

Definition at line 208 of file hdffcmd.c.

References HdffCmdOsdEnableDisplay(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdOsdRenderDisplay ( uint32_t  hDisplay)
void HDFF::cHdffCmdIf::CmdOsdReset ( void  )

Definition at line 186 of file hdffcmd.c.

References HdffCmdOsdReset(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdOsdRestoreRegion ( uint32_t  hDisplay)

Definition at line 353 of file hdffcmd.c.

References HdffCmdOsdRestoreRegion(), and mOsdDev.

Referenced by cHdffOsd::RestoreRegion().

void HDFF::cHdffCmdIf::CmdOsdSaveRegion ( uint32_t  hDisplay,
int  X,
int  Y,
int  Width,
int  Height 
)

Definition at line 348 of file hdffcmd.c.

References HdffCmdOsdSaveRegion(), and mOsdDev.

Referenced by cHdffOsd::SaveRegion().

void HDFF::cHdffCmdIf::CmdOsdSetDisplayClippingArea ( uint32_t  hDisplay,
bool  Enable,
uint32_t  X,
uint32_t  Y,
uint32_t  Width,
uint32_t  Height 
)

Definition at line 220 of file hdffcmd.c.

References HdffCmdOsdSetDisplayClippingArea(), and mOsdDev.

Referenced by cHdffOsd::DrawText().

void HDFF::cHdffCmdIf::CmdOsdSetDisplayOutputRectangle ( uint32_t  hDisplay,
uint32_t  X,
uint32_t  Y,
uint32_t  Width,
uint32_t  Height 
)

Definition at line 214 of file hdffcmd.c.

References HdffCmdOsdSetDisplayOutputRectangle(), and mOsdDev.

Referenced by cHdffOsd::cHdffOsd(), and cHdffOsdRaw::SetActive().

void HDFF::cHdffCmdIf::CmdOsdSetDisplayPalette ( uint32_t  hDisplay,
uint32_t  hPalette 
)

Definition at line 251 of file hdffcmd.c.

References HdffCmdOsdSetDisplayPalette(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdOsdSetPaletteColors ( uint32_t  hPalette,
HdffColorFormat_t  ColorFormat,
uint8_t  StartColor,
uint32_t  NumColors,
const uint32_t *  pColors 
)

Definition at line 256 of file hdffcmd.c.

References HdffCmdOsdSetPaletteColors(), and mOsdDev.

Referenced by cHdffOsd::DrawBitmap(), and cHdffOsdRaw::Flush().

void HDFF::cHdffCmdIf::CmdRemoteSetAddressFilter ( bool  Enable,
uint32_t  Address 
)

Definition at line 395 of file hdffcmd.c.

References HdffCmdRemoteSetAddressFilter(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

void HDFF::cHdffCmdIf::CmdRemoteSetProtocol ( HdffRemoteProtocol_t  Protocol)

Definition at line 389 of file hdffcmd.c.

References HdffCmdRemoteSetProtocol(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

Member Data Documentation

int HDFF::cHdffCmdIf::mOsdDev
private

The documentation for this class was generated from the following files: