vdr  1.7.31
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 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 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 17 of file hdffcmd.h.

Constructor & Destructor Documentation

HDFF::cHdffCmdIf::cHdffCmdIf ( int  OsdDev)

Definition at line 21 of file hdffcmd.c.

References mOsdDev.

HDFF::cHdffCmdIf::~cHdffCmdIf ( void  )

Definition at line 30 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 133 of file hdffcmd.c.

References HdffCmdAvFlushBuffer(), and mOsdDev.

void HDFF::cHdffCmdIf::CmdAvSetAudioChannel ( uint8_t  AudioChannel)

Definition at line 168 of file hdffcmd.c.

References HdffCmdAvSetAudioChannel(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetAudioChannelDevice().

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

Definition at line 158 of file hdffcmd.c.

References HdffCmdAvSetAudioDelay(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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

Definition at line 163 of file hdffcmd.c.

References HdffCmdAvSetAudioDownmix(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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 108 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 113 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 68 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 128 of file hdffcmd.c.

References HdffCmdAvSetStc(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetPlayMode().

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

Definition at line 92 of file hdffcmd.c.

References HdffCmdAvSetTeletextPid(), and mOsdDev.

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

Definition at line 123 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 97 of file hdffcmd.c.

References HdffCmdAvSetVideoWindow(), and mOsdDev.

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

Definition at line 102 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 57 of file hdffcmd.c.

References HdffCmdGetCopyrights(), and mOsdDev.

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

Definition at line 35 of file hdffcmd.c.

References HdffCmdGetFirmwareVersion(), and mOsdDev.

Referenced by cHdffOsd::cHdffOsd().

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

Definition at line 46 of file hdffcmd.c.

References HdffCmdGetInterfaceVersion(), and mOsdDev.

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

Definition at line 365 of file hdffcmd.c.

References HdffCmdHdmiConfigure(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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

Definition at line 359 of file hdffcmd.c.

References HdffCmdHdmiSetVideoMode(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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

Definition at line 354 of file hdffcmd.c.

References HdffCmdMuxMuteAudio(), and mOsdDev.

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

Definition at line 344 of file hdffcmd.c.

References HdffCmdMuxSetVideoOut(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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

Definition at line 349 of file hdffcmd.c.

References HdffCmdMuxSetVolume(), and mOsdDev.

Referenced by cDvbHdFfDevice::SetVolumeDevice().

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

Definition at line 174 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 275 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 256 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 288 of file hdffcmd.c.

References HdffCmdOsdDeleteFont(), and mOsdDev.

Referenced by cHdffOsd::~cHdffOsd().

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

Definition at line 269 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 325 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 300 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::CmdOsdDrawText ( uint32_t  hDisplay,
uint32_t  hFont,
int  X,
int  Y,
const char *  pText,
uint32_t  Color 
)

Definition at line 307 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 319 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 313 of file hdffcmd.c.

References HdffCmdOsdDrawUtf8Text(), and mOsdDev.

Referenced by cHdffOsd::DrawText().

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

Definition at line 201 of file hdffcmd.c.

References HdffCmdOsdEnableDisplay(), and mOsdDev.

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

Definition at line 179 of file hdffcmd.c.

References HdffCmdOsdReset(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice().

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

Definition at line 339 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 334 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 213 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 207 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 244 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 249 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 381 of file hdffcmd.c.

References HdffCmdRemoteSetAddressFilter(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

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

Definition at line 375 of file hdffcmd.c.

References HdffCmdRemoteSetProtocol(), and mOsdDev.

Referenced by cDvbHdFfDevice::cDvbHdFfDevice(), and cHdffSetupPage::Store().

Member Data Documentation

int HDFF::cHdffCmdIf::mOsdDev
private

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