mpv/video/filter
wm4 5597db7081 vf_vavpp: restrict allowed sw upload formats to nv12/yuv420p
We allowed any input format that was generally supported by libva, but
this is probably nonsense, as the actual surface format was always fixed
to nv12. We would have to check whether libva can upload a given pixel
format to a nv12 surface. Or we would have to use a separate frame pool
for input surfaces with the exact sw_format - but then we'd also need to
check whether the vaapi VideoProc supports the surface type.

Hardcode nv12 and yuv420p as input formats, which we know can be
uploaded to nv12 surfaces. In theory we could get a list of supported
upload formats from libavutil, but that also require allocating a dummy
hw frames context just for the query.

Add a comment to the upload code why we can allocate an output surface
for input.

In the long run, we'll probably want to use libavfilter's vaapi
deinterlacer, but for now this would break at least user options.
2017-09-30 16:22:16 +02:00
..
refqueue.c
refqueue.h
vf.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
vf.h video: change --deinterlace behavior 2017-08-22 19:08:07 +02:00
vf_buffer.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_crop.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_d3d11vpp.c mp_image: include config.h directly 2017-08-26 00:41:04 +10:00
vf_dsize.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_expand.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_flip.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_format.c video: add metadata handling for spherical video 2017-08-21 14:56:07 +02:00
vf_gradfun.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_lavfi.c vf_lavfi, af_lavfi: remove unused/deprecated include 2017-04-05 16:12:47 +02:00
vf_lavfi.h video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_mirror.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_noformat.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_pullup.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_rotate.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_scale.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vf_stereo3d.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_sub.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00
vf_vapoursynth.c vf_vapoursynth: fix inverted sign and restore 10 bit support 2017-08-07 19:31:15 +02:00
vf_vavpp.c vf_vavpp: restrict allowed sw upload formats to nv12/yuv420p 2017-09-30 16:22:16 +02:00
vf_vdpaupp.c video: change --deinterlace behavior 2017-08-22 19:08:07 +02:00
vf_yadif.c video: deprecate almost all video filters 2017-04-02 18:00:16 +02:00