1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/video/out
wm4 a5183a761c x11: add window icon
The png file added to etc/ are taken from the link mentioned in commit
303096b, except that they have been converted to 16 bit, sRGB (with
color profile info dropped, if there was one), and transparent pixels
reset for better compression.

The file x11_icon.bin is generated by gen-x11-icon.sh. I'm adding it to
the git repo directly, because the script requires ImageMagick, and we
don't want to make building even more complicated.

The way how this is done is basically a compromise between effort
required in x11_common.c and in gen-x11-icon.sh. Ideally, x11_icon.bin
would be directly in the format as required by _NET_WM_ICON, but trying
to write the binary width/height values from shell would probably be a
nightmare, so here we go.

The zlib code in x11_common.c is lifted from demux_mkv.c, with some
modifications (like accepting a gzip header, because I don't know how to
make gzip write raw compressed data).
2013-09-01 23:27:33 +02:00
..
aspect.c options: remove --panscanrange option 2013-08-19 12:55:53 +02:00
aspect.h video: simplify aspect calculation stuff 2013-03-17 22:07:13 +01:00
bitmap_packer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
bitmap_packer.h
cocoa_common.h cocoa_common: remove play/pause VOCTRL functions 2013-06-14 07:34:47 +02:00
cocoa_common.m cocoa_common: enable click-through on the video view 2013-09-01 16:10:57 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
dither.c dither: don't use long double 2013-07-05 20:26:32 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c
filter_kernels.h
gl_cocoa.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_common.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
gl_common.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
gl_header_fixes.h gl_header_fixes: add GL_RGBA32F 2013-03-28 22:55:56 +01:00
gl_lcms.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
gl_lcms.h vo_opengl: split into multiple files, convert to new option API 2013-03-28 21:46:17 +01:00
gl_osd.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_osd.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video_shaders.glsl gl_video: add support for more rgb formats 2013-07-18 13:52:38 +02:00
gl_video.c gl_video: don't crash if no FBOs are available 2013-08-28 23:08:28 +02:00
gl_video.h video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
gl_w32.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_wayland.c wayland: don't create our own log context 2013-08-26 16:39:05 +02:00
gl_x11.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
pnm_loader.c
pnm_loader.h
vo_caca.c Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
vo_corevideo.c vo_corevideo: use dwidth/dheight for window dimensions 2013-08-25 21:14:59 +02:00
vo_direct3d.c Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
vo_image.c vo_image: simplify 2013-08-24 17:11:59 +02:00
vo_lavc.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vo_null.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vo_opengl_old.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vo_opengl.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
vo_sdl.c Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
vo_vaapi.c vo_vaapi: potentially fix screenshot colorspace issues 2013-08-24 16:32:48 +02:00
vo_vdpau.c Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
vo_wayland.c wayland/shm: rework format handling 2013-08-26 20:34:06 +02:00
vo_x11.c video/out: don't require VOs to handle screenshot aspect specially 2013-08-24 17:03:06 +02:00
vo_xv.c video/out: don't require VOs to handle screenshot aspect specially 2013-08-24 17:03:06 +02:00
vo.c video: add unscaled mode with --video-unscaled 2013-09-01 03:46:28 +02:00
vo.h video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
w32_common.c input: deal with spurious X11 LeaveNotify events 2013-09-01 20:17:51 +02:00
w32_common.h input: deal with spurious X11 LeaveNotify events 2013-09-01 20:17:51 +02:00
wayland_common.c wayland: fix memory leaks 2013-08-26 20:34:06 +02:00
wayland_common.h wayland: don't create our own log context 2013-08-26 16:39:05 +02:00
x11_common.c x11: add window icon 2013-09-01 23:27:33 +02:00
x11_common.h x11: add window icon 2013-09-01 23:27:33 +02:00
x11_icon.bin x11: add window icon 2013-09-01 23:27:33 +02:00