1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-10 08:13:03 +00:00
mpv/video
wm4 ab81af477c vo_vdpau: use color close to black as default colorkey (instead of green)
The VDPAU default colorkey, although it seems to be driver specific, is
usually green. This is a pretty annoying color, and you usually see it
briefly (as flashes) if the VDPAU window resizes.

Change it to some shade of black. The new default color is close to what
MPlayer picks as colorkey (and apparently it worked well for them):

    VdpColor vdp_bg = {0.01, 0.02, 0.03, 0};

Since our OPT_COLOR can set 8 bit colors only, we use '#020507' instead,
which should be the same assuming 8 bit colors.

Obviously, you can't use black, because black is a way too common color,
and would make it too easy to observe the colorkey effect when e.g.
moving a terminal with black background over the video window.
2013-08-17 20:06:21 +02:00
..
decode vdpau_old: add forgotten probe callback 2013-08-15 23:40:04 +02:00
filter core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
out vo_vdpau: use color close to black as default colorkey (instead of green) 2013-08-17 20:06:21 +02:00
csputils.c video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
csputils.h video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
fmt-conversion.c video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
fmt-conversion.h
image_writer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
img_format.h video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
img_fourcc.h
memcpy_pic.h
mp_image_pool.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mp_image_pool.h mp_image_pool: make reference counting thread-safe 2013-07-28 19:25:07 +02:00
mp_image.c gl_video: handle non-mod-2 4:2:0 YUV video correctly 2013-08-06 21:46:47 +02:00
mp_image.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sws_utils.c img_convert: add function to scale RGBA OSD images 2013-08-12 00:51:31 +02:00
sws_utils.h img_convert: add function to scale RGBA OSD images 2013-08-12 00:51:31 +02:00
vaapi.h vaapi: fix typo 2013-08-14 00:36:33 +02:00
vdpau_functions.inc vo_vdpau: allow setting colorkey 2013-08-17 20:06:20 +02:00
vdpau.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vdpau.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vfcap.h