123 int x1,
int y1,
int x2,
int y2,
int color );
129 int x1,
int y1,
int x2,
int y2,
int color );
186 const char *text,
int color_base);
211 const uint8_t *palette_map);
244 int dirty_x,
int dirty_y,
int dirty_width,
int dirty_height);
252 int window_x,
int window_y,
int window_width,
int window_height);
274#define TEXT_PALETTE_SIZE 11
281#define OSD_TEXT1 (0 * TEXT_PALETTE_SIZE)
282#define OSD_TEXT2 (1 * TEXT_PALETTE_SIZE)
283#define OSD_TEXT3 (2 * TEXT_PALETTE_SIZE)
284#define OSD_TEXT4 (3 * TEXT_PALETTE_SIZE)
285#define OSD_TEXT5 (4 * TEXT_PALETTE_SIZE)
286#define OSD_TEXT6 (5 * TEXT_PALETTE_SIZE)
287#define OSD_TEXT7 (6 * TEXT_PALETTE_SIZE)
288#define OSD_TEXT8 (7 * TEXT_PALETTE_SIZE)
289#define OSD_TEXT9 (8 * TEXT_PALETTE_SIZE)
290#define OSD_TEXT10 (9 * TEXT_PALETTE_SIZE)
297#define NUMBER_OF_TEXT_PALETTES 4
298#define TEXTPALETTE_WHITE_BLACK_TRANSPARENT 0
299#define TEXTPALETTE_WHITE_NONE_TRANSPARENT 1
300#define TEXTPALETTE_WHITE_NONE_TRANSLUCID 2
301#define TEXTPALETTE_YELLOW_BLACK_TRANSPARENT 3
unsigned int height
Definition: gfontrle.c:5
unsigned int width
Definition: gfontrle.c:4
#define OVL_PALETTE_SIZE
Definition: video_out.h:280
struct osd_ft2context_s osd_ft2context_t
Definition: osd.h:35
osd_renderer_t * _x_osd_renderer_init(xine_stream_t *stream)
Definition: osd.c:2013
Definition: video_out.h:463
int video_window_x
Definition: osd.h:47
int y1
Definition: osd.h:54
uint8_t trans[OVL_PALETTE_SIZE]
Definition: osd.h:58
osd_object_t * next
Definition: osd.h:38
int display_y
Definition: osd.h:44
int height
Definition: osd.h:41
int extent_height
Definition: osd.h:51
int video_window_y
Definition: osd.h:47
osd_ft2context_t * ft2
Definition: osd.h:66
osd_font_t * font
Definition: osd.h:65
int y2
Definition: osd.h:55
argb_layer_t * argb_layer
Definition: osd.h:72
int x2
Definition: osd.h:55
uint8_t * area
Definition: osd.h:42
uint32_t color[OVL_PALETTE_SIZE]
Definition: osd.h:57
int extent_width
Definition: osd.h:51
int32_t handle
Definition: osd.h:74
int display_x
Definition: osd.h:44
int width
Definition: osd.h:41
osd_renderer_t * renderer
Definition: osd.h:39
int x1
Definition: osd.h:54
int area_touched
Definition: osd.h:43
int video_window_height
Definition: osd.h:48
int video_window_width
Definition: osd.h:48
void(* point)(osd_object_t *osd, int x, int y, int color)
Definition: osd.h:117
void(* close)(osd_renderer_t *this_gen)
Definition: osd.h:199
void(* set_position)(osd_object_t *osd, int x, int y)
Definition: osd.h:160
int(* set_font)(osd_object_t *osd, const char *fontname, int size)
Definition: osd.h:166
void(* free_object)(osd_object_t *osd_to_close)
Definition: osd.h:99
int(* show)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:106
void(* clear)(osd_object_t *osd)
Definition: osd.h:204
int(* set_encoding)(osd_object_t *osd, const char *encoding)
Definition: osd.h:174
int(* show_unscaled)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:218
uint32_t(* get_capabilities)(osd_object_t *osd)
Definition: osd.h:223
void(* set_text_palette)(osd_object_t *osd, int palette_number, int color_base)
Definition: osd.h:148
void(* set_palette)(osd_object_t *osd, const uint32_t *color, const uint8_t *trans)
Definition: osd.h:136
void(* set_video_window)(osd_object_t *osd, int window_x, int window_y, int window_width, int window_height)
Definition: osd.h:251
int(* render_text)(osd_object_t *osd, int x1, int y1, const char *text, int color_base)
Definition: osd.h:185
int(* hide)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:112
osd_object_t * osds
Definition: osd.h:258
void(* draw_bitmap)(osd_object_t *osd, const uint8_t *bitmap, int x1, int y1, int width, int height, const uint8_t *palette_map)
Definition: osd.h:209
int textpalette
Definition: osd.h:260
int(* get_text_size)(osd_object_t *osd, const char *text, int *width, int *height)
Definition: osd.h:191
xine_stream_t * stream
Definition: osd.h:84
osd_font_t * fonts
Definition: osd.h:259
void(* set_extent)(osd_object_t *osd, int extent_width, int extent_height)
Definition: osd.h:230
void(* filled_rect)(osd_object_t *osd, int x1, int y1, int x2, int y2, int color)
Definition: osd.h:128
void(* set_argb_buffer)(osd_object_t *osd, uint32_t *argb_buffer, int dirty_x, int dirty_y, int dirty_width, int dirty_height)
Definition: osd.h:243
void(* line)(osd_object_t *osd, int x1, int y1, int x2, int y2, int color)
Definition: osd.h:122
void(* get_palette)(osd_object_t *osd, uint32_t *color, uint8_t *trans)
Definition: osd.h:154
pthread_mutex_t osd_mutex
Definition: osd.h:256
video_overlay_event_t event
Definition: osd.h:257
Definition: video_overlay.h:54
osd_object_t osd
Definition: osd.h:79
Definition: xine_internal.h:123