1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 00:46:58 +00:00
mpv/video/filter
wm4 7be37337f4 vo_opengl: vdpau interop without RGB conversion
Until now, we've always converted vdpau video surfaces to RGB, and then
mapped the resulting RGB texture. Change this so that the surface is
mapped as NV12 plane textures.

The reason this wasn't done until now is because vdpau surfaces are
mapped in an "interlaced" way as separate fields, even for progressive
video. This requires messy reinterleraving. It turns out that even
though it's an extra processing step, the result can be faster than
going through the video mixer for RGB conversion.

Other than some potential speed-gain, doing this has multiple other
advantages. We can apply our own color conversion, which is important in
more complex cases. We can correctly apply debanding and potentially
other processing that requires chroma-specific or in-YUV handling.

If deinterlacing is enabled, this switches back to the old RGB
conversion method. Until we have at least a primitive deinterlacer in
vo_opengl, this will stay this way. The d3d11 and vaapi code paths are
similar. (Of course these don't require any crazy field reinterleaving.)
2016-06-19 19:58:40 +02:00
..
refqueue.c refqueue: free referenced images on free 2016-06-19 19:52:49 +02:00
refqueue.h vf_d3d11vpp: add a D3D11 video processor filter 2016-05-28 19:28:08 +02:00
vf_buffer.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vf_crop.c vf_crop: support opaque hardware decoding formats 2016-05-19 22:56:11 +02:00
vf_d3d11vpp.c vf_d3d11vpp: flush device context only when using shared textures 2016-06-16 17:29:53 +02:00
vf_dlopen.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
vf_dlopen.h vf_dlopen: declare as deprecated 2015-05-25 21:13:54 +02:00
vf_dsize.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_eq.c Update license headers 2015-04-13 12:10:01 +02:00
vf_expand.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_flip.c Update license headers 2015-04-13 12:10:01 +02:00
vf_format.c vo_opengl: refactor HDR mechanism 2016-05-30 20:17:33 +02:00
vf_gradfun.c Update license headers 2015-04-13 12:10:01 +02:00
vf_lavfi.c af_lavfi, vf_lavfi: fix compilation on Libav 2016-01-22 20:53:52 +01:00
vf_lavfi.h video/filters: simplify libavfilter bridge 2015-02-11 17:35:58 +01:00
vf_mirror.c vf_mirror: replace internal implementation with libavfilter 2015-04-16 22:43:15 +02:00
vf_noformat.c Update license headers 2015-04-13 12:10:01 +02:00
vf_pullup.c Update license headers 2015-04-13 12:10:01 +02:00
vf_rotate.c Update license headers 2015-04-13 12:10:01 +02:00
vf_scale.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_stereo3d.c vf_stereo3d: add alternating modes 2015-12-18 15:35:06 +01:00
vf_sub.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_vapoursynth.c vf_vapoursynth: fix everything 2015-12-20 09:55:26 +01:00
vf_vavpp.c vf_vdpaupp: use refqueue helper 2016-05-27 17:03:00 +02:00
vf_vdpaupp.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
vf_vdpaurb.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_yadif.c vf_yadif: change defaults 2015-12-21 22:05:40 +01:00
vf.c vf: fix filter auto-insertion 2016-05-30 20:03:01 +02:00
vf.h video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00