Go to the documentation of this file.
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 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
Definition: video_out.h:463
int video_window_y
Definition: osd.h:47
struct osd_ft2context_s osd_ft2context_t
Definition: osd.h:35
Definition: xine_internal.h:123
int x1
Definition: osd.h:54
void(* close)(osd_renderer_t *this_gen)
Definition: osd.h:199
int(* show)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:106
int(* hide)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:112
void(* get_palette)(osd_object_t *osd, uint32_t *color, uint8_t *trans)
Definition: osd.h:154
void(* set_video_window)(osd_object_t *osd, int window_x, int window_y, int window_width, int window_height)
Definition: osd.h:251
osd_object_t osd
Definition: osd.h:79
int textpalette
Definition: osd.h:260
void(* free_object)(osd_object_t *osd_to_close)
Definition: osd.h:99
void(* draw_bitmap)(osd_object_t *osd, uint8_t *bitmap, int x1, int y1, int width, int height, uint8_t *palette_map)
Definition: osd.h:209
int y2
Definition: osd.h:55
osd_font_t * fonts
Definition: osd.h:259
osd_object_t * next
Definition: osd.h:38
pthread_mutex_t osd_mutex
Definition: osd.h:256
xine_stream_t * stream
Definition: osd.h:84
int extent_width
Definition: osd.h:51
#define OVL_PALETTE_SIZE
Definition: video_out.h:280
int y1
Definition: osd.h:54
void(* clear)(osd_object_t *osd)
Definition: osd.h:204
uint8_t * area
Definition: osd.h:42
uint32_t(* get_capabilities)(osd_object_t *osd)
Definition: osd.h:223
int32_t handle
Definition: osd.h:74
int(* set_encoding)(osd_object_t *osd, const char *encoding)
Definition: osd.h:174
void(* set_palette)(osd_object_t *osd, const uint32_t *color, const uint8_t *trans)
Definition: osd.h:136
osd_renderer_t * _x_osd_renderer_init(xine_stream_t *stream)
Definition: osd.c:2007
unsigned int width
Definition: gfontrle.c:4
int extent_height
Definition: osd.h:51
int(* render_text)(osd_object_t *osd, int x1, int y1, const char *text, int color_base)
Definition: osd.h:185
Definition: video_overlay.h:54
int display_y
Definition: osd.h:44
uint32_t color[OVL_PALETTE_SIZE]
Definition: osd.h:57
uint8_t trans[OVL_PALETTE_SIZE]
Definition: osd.h:58
void(* set_text_palette)(osd_object_t *osd, int palette_number, int color_base)
Definition: osd.h:148
int(* set_font)(osd_object_t *osd, const char *fontname, int size)
Definition: osd.h:166
int display_x
Definition: osd.h:44
int(* get_text_size)(osd_object_t *osd, const char *text, int *width, int *height)
Definition: osd.h:191
void(* line)(osd_object_t *osd, int x1, int y1, int x2, int y2, int color)
Definition: osd.h:122
void(* filled_rect)(osd_object_t *osd, int x1, int y1, int x2, int y2, int color)
Definition: osd.h:128
int video_window_height
Definition: osd.h:48
int video_window_x
Definition: osd.h:47
int width
Definition: osd.h:41
unsigned int height
Definition: gfontrle.c:5
void(* point)(osd_object_t *osd, int x, int y, int color)
Definition: osd.h:117
void(* set_extent)(osd_object_t *osd, int extent_width, int extent_height)
Definition: osd.h:230
osd_renderer_t * renderer
Definition: osd.h:39
int(* show_unscaled)(osd_object_t *osd, int64_t vpts)
Definition: osd.h:218
int height
Definition: osd.h:41
int area_touched
Definition: osd.h:43
void(* set_position)(osd_object_t *osd, int x, int y)
Definition: osd.h:160
argb_layer_t * argb_layer
Definition: osd.h:72
osd_ft2context_t * ft2
Definition: osd.h:66
int x2
Definition: osd.h:55
osd_font_t * font
Definition: osd.h:65
osd_object_t * osds
Definition: osd.h:258
int video_window_width
Definition: osd.h:48
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
video_overlay_event_t event
Definition: osd.h:257