mpv/video/decode
wm4 64d56114ed vo_opengl: add direct rendering support
Can be enabled via --vd-lavc-dr=yes. See manpage additions for what it
does.

This reminds of the MPlayer -dr flag, but the implementation is
completely different. It's the same basic concept: letting the decoder
render into a GPU buffer to avoid a copy. Unlike MPlayer, this doesn't
try to go through filters (libavfilter doesn't support this anyway).
Unless a filter can work in-place, DR will be silently disabled. MPlayer
had very complex semantics about buffer types and management (which
apparently nobody ever understood) and weird restrictions that mostly
limited it to mpeg2 style codecs. The mpv code does not do any of this,
and just lets the decoder allocate an arbitrary number of untyped
images. (No MPlayer code was used.)

Parts of the code based on work by atomnuker (starting point for the
generic code) and haasn (some GL definitions, some basic PBO code, and
correct fencing).
2017-07-24 04:32:55 +02:00
..
d3d.c
d3d.h
dec_video.c options: drop --video-aspect-method=hybrid 2017-07-21 20:19:39 +02:00
dec_video.h vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
hw_cuda.c
hw_d3d11va.c d3d: fix behavior with deprecated FFmpeg J pixel formats 2017-07-04 14:06:31 +02:00
hw_dxva2.c d3d: fix behavior with deprecated FFmpeg J pixel formats 2017-07-04 14:06:31 +02:00
hw_videotoolbox.c
lavc.h vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vd.h
vd_lavc.c vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00