vdr  2.2.0
Classes | Macros | Typedefs | Enumerations | Functions
hdffcmd_osd.h File Reference

Go to the source code of this file.

Classes

struct  HdffOsdConfig_t
 

Macros

#define HDFF_INVALID_HANDLE   0xFFFFFFFF
 
#define HDFF_SCREEN_DISPLAY_HANDLE   0xFFFFFFFE
 
#define HDFF_POSITION_SCREEN_CENTERED   0xFFFF
 
#define HDFF_SIZE_FULL_SCREEN   0xFFFF
 
#define HDFF_SIZE_SAME_AS_SOURCE   0xFFFE
 
#define HDFF_FONT_FACE_TIRESIAS   0x00000000
 

Typedefs

typedef struct HdffOsdConfig_t HdffOsdConfig_t
 
typedef enum HdffColorType_t HdffColorType_t
 
typedef enum HdffColorFormat_t HdffColorFormat_t
 
typedef enum HdffDrawingFlags_t HdffDrawingFlags_t
 

Enumerations

enum  HdffColorType_t {
  HDFF_COLOR_TYPE_CLUT1, HDFF_COLOR_TYPE_CLUT2, HDFF_COLOR_TYPE_CLUT4, HDFF_COLOR_TYPE_CLUT8,
  HDFF_COLOR_TYPE_ARGB8888, HDFF_COLOR_TYPE_ARGB8565, HDFF_COLOR_TYPE_ARGB4444, HDFF_COLOR_TYPE_ARGB1555,
  HDFF_COLOR_TYPE_RGB888, HDFF_COLOR_TYPE_RGB565
}
 
enum  HdffColorFormat_t { HDFF_COLOR_FORMAT_ARGB, HDFF_COLOR_FORMAT_ACBYCR }
 
enum  HdffDrawingFlags_t {
  HDFF_DRAW_FULL, HDFF_DRAW_HALF_TOP, HDFF_DRAW_HALF_LEFT, HDFF_DRAW_HALF_BOTTOM,
  HDFF_DRAW_HALF_RIGHT, HDFF_DRAW_QUARTER_TOP_LEFT, HDFF_DRAW_QUARTER_TOP_RIGHT, HDFF_DRAW_QUARTER_BOTTOM_LEFT,
  HDFF_DRAW_QUARTER_BOTTOM_RIGHT, HDFF_DRAW_QUARTER_TOP_LEFT_INVERTED, HDFF_DRAW_QUARTER_TOP_RIGHT_INVERTED, HDFF_DRAW_QUARTER_BOTTOM_LEFT_INVERTED,
  HDFF_DRAW_QUARTER_BOTTOM_RIGHT_INVERTED
}
 

Functions

int HdffCmdOsdConfigure (int OsdDevice, const HdffOsdConfig_t *Config)
 
int HdffCmdOsdReset (int OsdDevice)
 
int HdffCmdOsdCreateDisplay (int OsdDevice, uint16_t Width, uint16_t Height, HdffColorType_t ColorType, uint32_t *NewDisplay)
 
int HdffCmdOsdDeleteDisplay (int OsdDevice, uint32_t Display)
 
int HdffCmdOsdEnableDisplay (int OsdDevice, uint32_t Display, int Enable)
 
int HdffCmdOsdSetDisplayOutputRectangle (int OsdDevice, uint32_t Display, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height)
 
int HdffCmdOsdSetDisplayClippingArea (int OsdDevice, uint32_t Display, int Enable, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height)
 
int HdffCmdOsdRenderDisplay (int OsdDevice, uint32_t Display)
 
int HdffCmdOsdSaveRegion (int OsdDevice, uint32_t Display, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height)
 
int HdffCmdOsdRestoreRegion (int OsdDevice, uint32_t Display)
 
int HdffCmdOsdCreatePalette (int OsdDevice, HdffColorType_t ColorType, HdffColorFormat_t ColorFormat, uint32_t NumColors, const uint32_t *Colors, uint32_t *NewPalette)
 
int HdffCmdOsdDeletePalette (int OsdDevice, uint32_t Palette)
 
int HdffCmdOsdSetDisplayPalette (int OsdDevice, uint32_t Display, uint32_t Palette)
 
int HdffCmdOsdSetPaletteColors (int OsdDevice, uint32_t Palette, HdffColorFormat_t ColorFormat, uint8_t StartColor, uint32_t NumColors, const uint32_t *Colors)
 
int HdffCmdOsdCreateFontFace (int OsdDevice, const uint8_t *FontData, uint32_t DataSize, uint32_t *NewFontFace)
 
int HdffCmdOsdDeleteFontFace (int OsdDevice, uint32_t FontFace)
 
int HdffCmdOsdCreateFont (int OsdDevice, uint32_t FontFace, uint32_t Size, uint32_t *NewFont)
 
int HdffCmdOsdDeleteFont (int OsdDevice, uint32_t Font)
 
int HdffCmdOsdDrawRectangle (int OsdDevice, uint32_t Display, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height, uint32_t Color)
 
int HdffCmdOsdDrawEllipse (int OsdDevice, uint32_t Display, uint16_t CX, uint16_t CY, uint16_t RadiusX, uint16_t RadiusY, uint32_t Color, uint32_t Flags)
 
int HdffCmdOsdDrawSlope (int OsdDevice, uint32_t Display, uint16_t X, uint16_t Y, uint16_t Width, uint16_t Height, uint32_t Color, uint32_t Type)
 
int HdffCmdOsdDrawText (int OsdDevice, uint32_t Display, uint32_t Font, uint16_t X, uint16_t Y, const char *Text, uint32_t Color)
 
int HdffCmdOsdDrawUtf8Text (int OsdDevice, uint32_t Display, uint32_t Font, uint16_t X, uint16_t Y, const char *Text, uint32_t Color)
 
int HdffCmdOsdDrawWideText (int OsdDevice, uint32_t Display, uint32_t Font, uint16_t X, uint16_t Y, const uint16_t *Text, uint32_t Color)
 
int HdffCmdOsdDrawBitmap (int OsdDevice, uint32_t Display, uint16_t X, uint16_t Y, const uint8_t *Bitmap, uint16_t BmpWidth, uint16_t BmpHeight, uint32_t BmpSize, HdffColorType_t ColorType, uint32_t Palette)
 

Macro Definition Documentation

#define HDFF_FONT_FACE_TIRESIAS   0x00000000

Definition at line 36 of file hdffcmd_osd.h.

#define HDFF_INVALID_HANDLE   0xFFFFFFFF
#define HDFF_POSITION_SCREEN_CENTERED   0xFFFF

Definition at line 31 of file hdffcmd_osd.h.

#define HDFF_SCREEN_DISPLAY_HANDLE   0xFFFFFFFE

Definition at line 29 of file hdffcmd_osd.h.

#define HDFF_SIZE_FULL_SCREEN   0xFFFF

Definition at line 33 of file hdffcmd_osd.h.

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

#define HDFF_SIZE_SAME_AS_SOURCE   0xFFFE

Definition at line 34 of file hdffcmd_osd.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
HDFF_COLOR_FORMAT_ARGB 
HDFF_COLOR_FORMAT_ACBYCR 

Definition at line 60 of file hdffcmd_osd.h.

Enumerator
HDFF_COLOR_TYPE_CLUT1 
HDFF_COLOR_TYPE_CLUT2 
HDFF_COLOR_TYPE_CLUT4 
HDFF_COLOR_TYPE_CLUT8 
HDFF_COLOR_TYPE_ARGB8888 
HDFF_COLOR_TYPE_ARGB8565 
HDFF_COLOR_TYPE_ARGB4444 
HDFF_COLOR_TYPE_ARGB1555 
HDFF_COLOR_TYPE_RGB888 
HDFF_COLOR_TYPE_RGB565 

Definition at line 46 of file hdffcmd_osd.h.

Enumerator
HDFF_DRAW_FULL 
HDFF_DRAW_HALF_TOP 
HDFF_DRAW_HALF_LEFT 
HDFF_DRAW_HALF_BOTTOM 
HDFF_DRAW_HALF_RIGHT 
HDFF_DRAW_QUARTER_TOP_LEFT 
HDFF_DRAW_QUARTER_TOP_RIGHT 
HDFF_DRAW_QUARTER_BOTTOM_LEFT 
HDFF_DRAW_QUARTER_BOTTOM_RIGHT 
HDFF_DRAW_QUARTER_TOP_LEFT_INVERTED 
HDFF_DRAW_QUARTER_TOP_RIGHT_INVERTED 
HDFF_DRAW_QUARTER_BOTTOM_LEFT_INVERTED 
HDFF_DRAW_QUARTER_BOTTOM_RIGHT_INVERTED 

Definition at line 66 of file hdffcmd_osd.h.

Function Documentation

int HdffCmdOsdConfigure ( int  OsdDevice,
const HdffOsdConfig_t Config 
)
int HdffCmdOsdCreateDisplay ( int  OsdDevice,
uint16_t  Width,
uint16_t  Height,
HdffColorType_t  ColorType,
uint32_t *  NewDisplay 
)
int HdffCmdOsdCreateFont ( int  OsdDevice,
uint32_t  FontFace,
uint32_t  Size,
uint32_t *  NewFont 
)
int HdffCmdOsdCreateFontFace ( int  OsdDevice,
const uint8_t *  FontData,
uint32_t  DataSize,
uint32_t *  NewFontFace 
)
int HdffCmdOsdCreatePalette ( int  OsdDevice,
HdffColorType_t  ColorType,
HdffColorFormat_t  ColorFormat,
uint32_t  NumColors,
const uint32_t *  Colors,
uint32_t *  NewPalette 
)
int HdffCmdOsdDeleteDisplay ( int  OsdDevice,
uint32_t  Display 
)
int HdffCmdOsdDeleteFont ( int  OsdDevice,
uint32_t  Font 
)
int HdffCmdOsdDeleteFontFace ( int  OsdDevice,
uint32_t  FontFace 
)
int HdffCmdOsdDeletePalette ( int  OsdDevice,
uint32_t  Palette 
)
int HdffCmdOsdDrawBitmap ( int  OsdDevice,
uint32_t  Display,
uint16_t  X,
uint16_t  Y,
const uint8_t *  Bitmap,
uint16_t  BmpWidth,
uint16_t  BmpHeight,
uint32_t  BmpSize,
HdffColorType_t  ColorType,
uint32_t  Palette 
)
int HdffCmdOsdDrawEllipse ( int  OsdDevice,
uint32_t  Display,
uint16_t  CX,
uint16_t  CY,
uint16_t  RadiusX,
uint16_t  RadiusY,
uint32_t  Color,
uint32_t  Flags 
)
int HdffCmdOsdDrawRectangle ( int  OsdDevice,
uint32_t  Display,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height,
uint32_t  Color 
)
int HdffCmdOsdDrawSlope ( int  OsdDevice,
uint32_t  Display,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height,
uint32_t  Color,
uint32_t  Type 
)
int HdffCmdOsdDrawText ( int  OsdDevice,
uint32_t  Display,
uint32_t  Font,
uint16_t  X,
uint16_t  Y,
const char *  Text,
uint32_t  Color 
)
int HdffCmdOsdDrawUtf8Text ( int  OsdDevice,
uint32_t  Display,
uint32_t  Font,
uint16_t  X,
uint16_t  Y,
const char *  Text,
uint32_t  Color 
)
int HdffCmdOsdDrawWideText ( int  OsdDevice,
uint32_t  Display,
uint32_t  Font,
uint16_t  X,
uint16_t  Y,
const uint16_t *  Text,
uint32_t  Color 
)
int HdffCmdOsdEnableDisplay ( int  OsdDevice,
uint32_t  Display,
int  Enable 
)
int HdffCmdOsdRenderDisplay ( int  OsdDevice,
uint32_t  Display 
)
int HdffCmdOsdReset ( int  OsdDevice)
int HdffCmdOsdRestoreRegion ( int  OsdDevice,
uint32_t  Display 
)
int HdffCmdOsdSaveRegion ( int  OsdDevice,
uint32_t  Display,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height 
)
int HdffCmdOsdSetDisplayClippingArea ( int  OsdDevice,
uint32_t  Display,
int  Enable,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height 
)
int HdffCmdOsdSetDisplayOutputRectangle ( int  OsdDevice,
uint32_t  Display,
uint16_t  X,
uint16_t  Y,
uint16_t  Width,
uint16_t  Height 
)
int HdffCmdOsdSetDisplayPalette ( int  OsdDevice,
uint32_t  Display,
uint32_t  Palette 
)
int HdffCmdOsdSetPaletteColors ( int  OsdDevice,
uint32_t  Palette,
HdffColorFormat_t  ColorFormat,
uint8_t  StartColor,
uint32_t  NumColors,
const uint32_t *  Colors 
)