1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 02:16:40 +00:00
mpv/video/out
wm4 c000a08de2 x11: remove colormap code, always request TrueColor visuals
vo_x11 had a clever trick to implement a video equalizer: it requested a
DirectColor visual. This is a X11 mechanism which allows you to specify
a lookup table for each color channel. Effectively, this is a safe
override for the graphic card's gamma ramp. If X thinks the window
deserves priority over other windows in the system, X would temporarily
switch the gamma ramp so that DirectColor visuals can be displayed as
the application intends. (I'm not sure what the exact policy is, but in
practice, this meant the equalizer worked when the mouse button was
inside the window.)

But all in all, this is just lots of useless code for a feature that is
rarely ever useful. Remove it and use the libswscale equalizer instead.
(This comes without a cost, since vo_x11 already uses libswscale.)

One worry was that using DirectColor could have made it work better in
8-bit paletted mode. But this is not the case: there's no difference,
and in both cases, the video looks equally bad.
2013-09-30 00:47:24 +02:00
..
cocoa cocoa_common: report pixels instead of points during mouse movement 2013-09-28 11:20:00 +02:00
aspect.c aspect: mp_msg conversion 2013-09-12 01:34:42 +02:00
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h cocoa_common: call gl_clear indirectly 2013-09-28 15:08:40 +02:00
cocoa_common.m cocoa_common: call gl_clear indirectly 2013-09-28 15:08:40 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
dither.c
dither.h
filter_kernels.c
filter_kernels.h
gl_cocoa.c cocoa_common: call gl_clear indirectly 2013-09-28 15:08:40 +02:00
gl_common.c gl_common: add wayland backend before x11 backend 2013-09-16 13:45:47 +02:00
gl_common.h gl_common: complete mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_header_fixes.h
gl_lcms.c gl_lcms: mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_lcms.h gl_lcms: mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_osd.c gl_osd: mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_osd.h gl_osd: mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_video_shaders.glsl vo_opengl: blend alpha components by default 2013-09-19 17:03:03 +02:00
gl_video.c vo_opengl: blend alpha components by default 2013-09-19 17:03:03 +02:00
gl_video.h vo_opengl: blend alpha components by default 2013-09-19 17:03:03 +02:00
gl_w32.c gl_common: complete mp_msg conversion 2013-09-12 01:34:42 +02:00
gl_wayland.c wayland/egl: use wayland log 2013-09-12 16:36:52 +02:00
gl_x11.c gl_common: complete mp_msg conversion 2013-09-12 01:34:42 +02:00
pnm_loader.c
pnm_loader.h
vo_caca.c options: remove --(no-)mouseinput option 2013-09-08 03:03:58 +02:00
vo_corevideo.c gl_osd: mp_msg conversion 2013-09-12 01:34:42 +02:00
vo_direct3d.c
vo_image.c
vo_lavc.c vo_lavc: mp_msg conversion 2013-09-20 16:32:36 +02:00
vo_null.c
vo_opengl_old.c gl_osd: mp_msg conversion 2013-09-12 01:34:42 +02:00
vo_opengl.c vo_opengl: blend alpha components by default 2013-09-19 17:03:03 +02:00
vo_sdl.c
vo_vaapi.c vaapi: check image format in va_surface_upload() 2013-09-27 18:00:03 +02:00
vo_vdpau.c
vo_wayland.c wayland/shm: fix resizing for good (finally) 2013-09-12 18:15:35 +02:00
vo_x11.c x11: remove colormap code, always request TrueColor visuals 2013-09-30 00:47:24 +02:00
vo_xv.c
vo.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
vo.h gl_common: signal to GL backend whether we are probing 2013-09-16 13:45:33 +02:00
w32_common.c w32_common: mp_msg conversion 2013-09-11 22:41:14 +02:00
w32_common.h
wayland_common.c wayland: remove outdated comment 2013-09-24 18:34:50 +02:00
wayland_common.h Revert "wayland: don't create our own log context" 2013-09-12 16:29:13 +02:00
x11_common.c x11: remove colormap code, always request TrueColor visuals 2013-09-30 00:47:24 +02:00
x11_common.h x11: remove colormap code, always request TrueColor visuals 2013-09-30 00:47:24 +02:00
x11_icon.bin