xine-lib 1.2.13-20230125hg15249
xcbosd.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <assert.h>
#include <netinet/in.h>
#include <xcb/shape.h>
#include <xine/xine_internal.h>
#include "xcbosd.h"

Data Structures

struct  xcbosd
 

Macros

#define LOG_MODULE   "xcbosd"
 
#define LOG_VERBOSE
 
#define TRANSPARENT   0xffffffff
 
#define saturate(n, l, u)   ((n) < (l) ? (l) : ((n) > (u) ? (u) : (n)))
 

Functions

void xcbosd_expose (xcbosd *osd)
 
void xcbosd_resize (xcbosd *osd, int width, int height)
 
void xcbosd_drawable_changed (xcbosd *osd, xcb_window_t window)
 
xcbosdxcbosd_create (xine_t *xine, xcb_connection_t *connection, xcb_screen_t *screen, xcb_window_t window, enum xcbosd_mode mode)
 
void xcbosd_colorkey (xcbosd *osd, uint32_t colorkey, vo_scale_t *scaling)
 
void xcbosd_destroy (xcbosd *osd)
 
void xcbosd_clear (xcbosd *osd)
 
void xcbosd_blend (xcbosd *osd, vo_overlay_t *overlay)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "xcbosd"

◆ LOG_VERBOSE

#define LOG_VERBOSE

◆ saturate

#define saturate ( n,
l,
u )   ((n) < (l) ? (l) : ((n) > (u) ? (u) : (n)))

Referenced by xcbosd_blend().

◆ TRANSPARENT

#define TRANSPARENT   0xffffffff

Referenced by xcbosd_blend().

Function Documentation

◆ xcbosd_blend()

◆ xcbosd_clear()

◆ xcbosd_colorkey()

void xcbosd_colorkey ( xcbosd * osd,
uint32_t colorkey,
vo_scale_t * scaling )

◆ xcbosd_create()

◆ xcbosd_destroy()

◆ xcbosd_drawable_changed()

◆ xcbosd_expose()

◆ xcbosd_resize()