1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00
mpv/video
wm4 3973a953df sub: find GBRP format automatically when rendering to RGB
This removes the need to define IMGFMT_GBRAP, which fixes compilation
with the current Libav release.

This also makes it automatically pick up a GBRP format with the same bit
width. (Unfortunately, it seems libswscale does not support conversion
to AV_PIX_FMT_GBRAP16, so our code falls back to 8 bit, removing
precision for video covered by subtitles in cases this code is used.)

Also, when the source video is e.g. 10 bit YUV, upsample to 16 bit.
Whether this is good or bad, it fixes behavior with alpha. Although I'm
not sure if the alpha range is really correct ([0,2^16-1] vs.
[0,255*256]). Keep in mind that libswscale doesn't even agree with the
way we do it.
2015-12-24 16:42:21 +01:00
..
decode vaapi: add VP9 profile entires 2015-12-20 10:40:06 +01:00
filter vf_yadif: change defaults 2015-12-21 22:05:40 +01:00
out vo_opengl: fix operation on GLSL versions earlier than 1.30 2015-12-24 14:44:46 +01:00
csputils.c csputils: let mpv recognise frame sequenced 3D matroska videos 2015-12-18 16:38:25 +01:00
csputils.h csputils: update MP_STEREO3D_COUNT 2015-12-19 08:34:46 +01:00
d3d.h
fmt-conversion.c sub: find GBRP format automatically when rendering to RGB 2015-12-24 16:42:21 +01:00
fmt-conversion.h
gpu_memcpy.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
gpu_memcpy.h video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
hwdec.h video: remove VDA support 2015-09-28 22:03:14 +02:00
image_writer.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
image_writer.h
img_format.c sub: find GBRP format automatically when rendering to RGB 2015-12-24 16:42:21 +01:00
img_format.h sub: find GBRP format automatically when rendering to RGB 2015-12-24 16:42:21 +01:00
img_fourcc.h
mp_image_pool.c
mp_image_pool.h
mp_image.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
mp_image.h video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
sws_utils.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
sws_utils.h
vaapi.c Remove some VLAs 2015-11-06 21:12:20 +01:00
vaapi.h vaapi: drop non-existing FourCC 2015-10-17 14:20:53 +02:00
vdpau_functions.inc
vdpau_mixer.c csputils: rename "yuv2rgb" functions 2015-12-09 00:23:36 +01:00
vdpau_mixer.h
vdpau.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vdpau.h