mpv/video
wm4 88dfb9a5e7 vo_opengl: hwdec_vaegl: remove redundant vaapi surface format check
For surfaces allocated by libavutil, we assume that the sw_format (i.e.
in hw_subfmt in mp_image_params) is always correct. The API guarantees
that it explicitly sets the equivalent vaapi format on surface
allocation.

For surfaces allocated by mpv's old vaapi code, we explicitly retrieve
the format right after decoding. Unless the driver magically changes the
format asynchronously, it will still be correct once the surface reaches
the renderer.

In both cases, checking the format again is obviously redundant. In
addition, it doesn't require us to maintain a libva fourcc <-> mpfmt
table and the va_fourcc_to_imgfmt() function. This also unbreaks 10 bit
rendering support (still disabled by default).
2017-01-13 10:28:58 +01:00
..
decode vaapi: fix typo 2017-01-12 14:22:46 +01:00
filter af_lavfi, vf_lavfi: work around recent libavfilter EOF bug 2017-01-02 18:13:08 +01:00
out vo_opengl: hwdec_vaegl: remove redundant vaapi surface format check 2017-01-13 10:28:58 +01:00
csputils.c Remove compatibility things 2016-12-07 19:53:11 +01:00
csputils.h demux: expose demuxer colorimetry metadata to player 2016-11-08 19:16:26 +01:00
fmt-conversion.c Remove compatibility things 2016-12-07 19:53:11 +01:00
fmt-conversion.h
gpu_memcpy.c Fix misspellings 2016-06-26 13:47:21 +02:00
gpu_memcpy.h
hwdec.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec.h vo_opengl: hwdec_cuda: Use dynamic loading for cuda functions 2016-11-23 01:07:26 +01:00
image_writer.c Remove compatibility things 2016-12-07 19:53:11 +01:00
image_writer.h vo_image: move to global options 2016-09-05 21:04:55 +02:00
img_format.c Remove compatibility things 2016-12-07 19:53:11 +01:00
img_format.h vo_opengl: hwdec_cuda: Support P016 output surfaces 2016-11-22 20:19:58 +01:00
img_fourcc.h
mp_image.c vd_lavc, mp_image: remove code duplication for AVFrame<->mp_image 2017-01-12 13:58:28 +01:00
mp_image.h video: use demuxer-signaled duration for last video frame 2016-12-21 18:18:24 +01:00
mp_image_pool.c mp_image_pool: fix build on Libav 2017-01-12 14:19:16 +01:00
mp_image_pool.h vaapi: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:58:28 +01:00
sws_utils.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
sws_utils.h
vaapi.c vaapi: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:58:28 +01:00
vaapi.h vaapi: turn all mpv users into a living experiment 2017-01-11 18:47:37 +01:00
vdpau.c vdpau: get surface data as nv12 if possible 2016-06-21 21:31:58 +02:00
vdpau.h vdpau: get surface data as nv12 if possible 2016-06-21 21:31:58 +02:00
vdpau_functions.inc
vdpau_mixer.c vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau_mixer.h vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00