summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 20:27:47 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 20:27:47 +0000
commite5947d8b27b073c78ab3efa9fdde3cc3b0c04e86 (patch)
treeb701474234709c16b62f7a0403b6b5959aad9439 /libvo/x11_common.h
parentde382c1b8c5b393963f9abc4c4f781f6f311c759 (diff)
downloadmpv-e5947d8b27b073c78ab3efa9fdde3cc3b0c04e86.tar.bz2
mpv-e5947d8b27b073c78ab3efa9fdde3cc3b0c04e86.tar.xz
here is a somewhat generic equalizer implementation for the X11 vo drivers
using the window's colormap (DirectColor). this method is using the video card's hardware gamma ramp so it involves no performance penalties at all. patch by lucho <lucho@haemimont.bg> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7965 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index c016a04de5..ad6d09b97d 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -36,6 +36,9 @@ extern int vo_x11_check_events(Display *mydisplay);
extern void vo_x11_selectinput_witherr(Display *display, Window w, long event_mask);
extern void vo_x11_fullscreen( void );
extern void vo_x11_uninit();
+extern Colormap vo_x11_create_colormap(XVisualInfo *vinfo);
+extern uint32_t vo_x11_set_equalizer(char *name, int value);
+extern uint32_t vo_x11_get_equalizer(char *name, int *value);
#endif