1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 14:50:07 +00:00
mpv/video
wm4 b40d8fdfa3 vdpau: get surface data as nv12 if possible
For now, this affects taking screenshots only.

If the video mixer is actually needed, we want to go through the video
mixer for screenshots too - which is why this function simply always
used the video mixer, and then copied the surface to RAM as RGBA.

Add reading the surface as nv12 if possible. If the format is correct,
and no special video processing (like deinterlacing) is used, then it's
read directly without going through the video mixer.

There's no particular reason for doing this, other than avoiding the
video mixer (like vo_opengl can do it now). Also, the next commit will
make use of this in vf_vdpaurb.c.
2016-06-21 21:31:58 +02:00
..
decode vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
filter vf_vdpaurb: fix operation 2016-06-20 19:10:58 +02:00
out vo_opengl: manually add the GL_BACK_LEFT constant for GLES 2016-06-20 19:24:42 +02:00
csputils.c csputils: add AVCOL_TRC_SMPTEST2084 support 2016-05-16 13:59:57 +02:00
csputils.h vo_opengl: implement HDR (SMPTE ST2084) 2016-05-16 02:45:39 +02:00
fmt-conversion.c build: merge d3d11va and dxva2 hwaccel checks 2016-05-11 15:40:31 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
gpu_memcpy.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
gpu_memcpy.h video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
hwdec.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec.h video: add --hwdec=auto-copy mode 2016-05-11 16:20:13 +02:00
image_writer.c image_writer: take care of prediction_method deprecation 2016-02-09 13:24:04 +01:00
image_writer.h screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
img_format.c video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00
img_format.h video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mp_image_pool.c mp_image_pool: add mp_image_pool_add 2016-02-16 12:36:50 -08:00
mp_image_pool.h mp_image_pool: add mp_image_pool_add 2016-02-16 12:36:50 -08:00
mp_image.c vo_opengl: refactor HDR mechanism 2016-05-30 20:17:33 +02:00
mp_image.h vo_opengl: refactor HDR mechanism 2016-05-30 20:17:33 +02:00
sws_utils.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vaapi.h vaapi: determine surface format in decoder, not in renderer 2016-04-11 22:03:26 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau_mixer.h vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau.c vdpau: get surface data as nv12 if possible 2016-06-21 21:31:58 +02:00
vdpau.h vdpau: get surface data as nv12 if possible 2016-06-21 21:31:58 +02:00