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
gpu_memcpy.h
hwdec.c
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
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
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.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h