mpv/options
Philip Langdale 7424651b96 vo_opengl: hwdec_cuda: Support separate decode and display devices
In a multi GPU scenario, it may be desirable to use different GPUs
for decode and display responsibilities. For example, if a secondary
GPU has better video decoding capabilities.

In such a scenario, we need to initialise a separate context for each
GPU, and use the display context in hwdec_cuda, while passing the
decode context to avcodec.

Once that's done, the actually hand-off between the two GPUs is
transparent to us (It happens during the cuMemcpy2D operation which
copies the decoded frame from a cuda buffer to the OpenGL texture).

In the end, the bulk of the work is around introducing a new
configuration option to specify the decode device.
2017-06-03 16:41:03 +02:00
..
m_config.c options: deprecate --loop 2017-04-10 21:19:13 +02:00
m_config.h options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
m_option.c video: support positional arguments for automatic lavfi option bridge 2017-04-03 18:12:42 +02:00
m_option.h audio: move replaygain control to top-level options 2017-04-26 21:45:55 +02:00
m_property.c command: fix "cycle"/"add" not working on most properties 2016-09-18 17:55:27 +02:00
m_property.h player: more option/property consistency fixes 2016-09-18 16:08:21 +02:00
options.c vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
options.h vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
parse_commandline.c parse_commandline: guard glob() use 2017-04-04 10:47:57 +02:00
parse_commandline.h
parse_configfile.c config: do not resolve default profile during "include" processing 2017-01-13 12:02:46 +01:00
parse_configfile.h
path.c path: default ~~ paths to home directory 2016-09-29 16:44:01 +02:00
path.h