1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
mpv/video
wm4 50bd2807ad vaapi: don't assume vaQueryImageFormats() returns sorted list
vaQueryImageFormats() returns a randomly ordered list - so we shouldn't
assume the first format on the list which works is the best. This
effectively switches to nv12 instead of yuv420p on some drivers.

We handle this by reusing va_to_imgfmt[], and ordering it by preference.
We hardcode that GPUs prefer nv12 pver yuv420p. In theory we could do
complicated probing (allocate dummy surface + use vaDeriveImage on it,
then retrieve the FourCC) - but all things which could break assumption
in the future are not supported yet (like 10 bit or 4:4:4), so this is
fine.
2015-07-15 13:27:25 +02:00
..
decode vaapi: allow allocating additional surfaces during decoding 2015-07-15 12:37:28 +02:00
filter vf_vdpaupp: Don't crash when evaluating interlacing of NULL mpi 2015-07-14 11:10:04 +02:00
out vo_opengl: simplify 2015-07-15 12:22:49 +02:00
csputils.c video: add a way to disable automatic stereo conversion 2015-07-10 18:04:34 +02:00
csputils.h
d3d.h vo_direct3d, dxva2: use the same D3D device 2015-07-03 16:04:42 +02:00
fmt-conversion.c
fmt-conversion.h
hwdec.h options: cleanup hwdec name mappings 2015-07-07 15:05:32 +02:00
image_writer.c
image_writer.h
img_format.c
img_format.h
img_fourcc.h
mp_image_pool.c video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
mp_image_pool.h
mp_image.c mp_image: fix vf_vdpaupp references 2015-07-08 14:48:17 +02:00
mp_image.h video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
sws_utils.c sws_utils: re-use avcolorspace for sws colorspaces 2015-05-04 01:34:25 +02:00
sws_utils.h
vaapi.c vaapi: don't assume vaQueryImageFormats() returns sorted list 2015-07-15 13:27:25 +02:00
vaapi.h vaapi: drop compatibility crap and vo_vaapi deinterlacer 2015-07-08 14:48:11 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau_mixer.h vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00