summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/csputils.c809
-rw-r--r--video/csputils.h213
-rw-r--r--video/cuda.c15
-rw-r--r--video/d3d.c15
-rw-r--r--video/decode/vd_lavc.c384
-rw-r--r--video/drmprime.c43
-rw-r--r--video/filter/refqueue.c27
-rw-r--r--video/filter/refqueue.h5
-rw-r--r--video/filter/vf_d3d11vpp.c35
-rw-r--r--video/filter/vf_fingerprint.c15
-rw-r--r--video/filter/vf_format.c95
-rw-r--r--video/filter/vf_gpu.c9
-rw-r--r--video/filter/vf_sub.c5
-rw-r--r--video/filter/vf_vapoursynth.c100
-rw-r--r--video/filter/vf_vavpp.c34
-rw-r--r--video/filter/vf_vdpaupp.c33
-rw-r--r--video/fmt-conversion.c2
-rw-r--r--video/hwdec.c63
-rw-r--r--video/hwdec.h44
-rw-r--r--video/image_writer.c439
-rw-r--r--video/image_writer.h23
-rw-r--r--video/img_format.c12
-rw-r--r--video/img_format.h16
-rw-r--r--video/mp_image.c453
-rw-r--r--video/mp_image.h17
-rw-r--r--video/mp_image_pool.c66
-rw-r--r--video/mp_image_pool.h5
-rw-r--r--video/out/android_common.c7
-rw-r--r--video/out/android_common.h2
-rw-r--r--video/out/aspect.c20
-rw-r--r--video/out/cocoa/events_view.m343
-rw-r--r--video/out/cocoa/mpvadapter.h41
-rw-r--r--video/out/cocoa/video_view.h24
-rw-r--r--video/out/cocoa/video_view.m52
-rw-r--r--video/out/cocoa/window.m455
-rw-r--r--video/out/cocoa_cb_common.swift75
-rw-r--r--video/out/cocoa_common.m1103
-rw-r--r--video/out/d3d11/context.c191
-rw-r--r--video/out/d3d11/context.h13
-rw-r--r--video/out/d3d11/hwdec_d3d11va.c24
-rw-r--r--video/out/d3d11/hwdec_dxva2dxgi.c11
-rw-r--r--video/out/d3d11/ra_d3d11.c161
-rw-r--r--video/out/d3d11/ra_d3d11.h12
-rw-r--r--video/out/dither.c94
-rw-r--r--video/out/dr_helper.c56
-rw-r--r--video/out/dr_helper.h10
-rw-r--r--video/out/drm_atomic.c20
-rw-r--r--video/out/drm_atomic.h10
-rw-r--r--video/out/drm_common.c1127
-rw-r--r--video/out/drm_common.h122
-rw-r--r--video/out/filter_kernels.c78
-rw-r--r--video/out/filter_kernels.h4
-rw-r--r--video/out/gpu/context.c105
-rw-r--r--video/out/gpu/context.h31
-rw-r--r--video/out/gpu/d3d11_helpers.c166
-rw-r--r--video/out/gpu/d3d11_helpers.h19
-rw-r--r--video/out/gpu/error_diffusion.c7
-rw-r--r--video/out/gpu/hwdec.c247
-rw-r--r--video/out/gpu/hwdec.h42
-rw-r--r--video/out/gpu/lcms.c179
-rw-r--r--video/out/gpu/lcms.h28
-rw-r--r--video/out/gpu/libmpv_gpu.c12
-rw-r--r--video/out/gpu/libmpv_gpu.h2
-rw-r--r--video/out/gpu/osd.c12
-rw-r--r--video/out/gpu/osd.h2
-rw-r--r--video/out/gpu/ra.c10
-rw-r--r--video/out/gpu/ra.h17
-rw-r--r--video/out/gpu/shader_cache.c21
-rw-r--r--video/out/gpu/shader_cache.h2
-rw-r--r--video/out/gpu/spirv.c1
-rw-r--r--video/out/gpu/user_shaders.c8
-rw-r--r--video/out/gpu/user_shaders.h2
-rw-r--r--video/out/gpu/utils.c21
-rw-r--r--video/out/gpu/utils.h5
-rw-r--r--video/out/gpu/video.c781
-rw-r--r--video/out/gpu/video.h86
-rw-r--r--video/out/gpu/video_shaders.c215
-rw-r--r--video/out/gpu/video_shaders.h16
-rw-r--r--video/out/gpu_next/context.c237
-rw-r--r--video/out/gpu_next/context.h (renamed from video/out/cocoa/window.h)35
-rw-r--r--video/out/hwdec/dmabuf_interop.h (renamed from video/out/hwdec/hwdec_vaapi.h)34
-rw-r--r--video/out/hwdec/dmabuf_interop_gl.c373
-rw-r--r--video/out/hwdec/dmabuf_interop_pl.c (renamed from video/out/hwdec/hwdec_vaapi_vk.c)80
-rw-r--r--video/out/hwdec/dmabuf_interop_wl.c83
-rw-r--r--video/out/hwdec/hwdec_aimagereader.c404
-rw-r--r--video/out/hwdec/hwdec_cuda.c27
-rw-r--r--video/out/hwdec/hwdec_cuda.h3
-rw-r--r--video/out/hwdec/hwdec_cuda_gl.c12
-rw-r--r--video/out/hwdec/hwdec_cuda_vk.c171
-rw-r--r--video/out/hwdec/hwdec_drmprime.c319
-rw-r--r--video/out/hwdec/hwdec_drmprime_overlay.c (renamed from video/out/opengl/hwdec_drmprime_drm.c)39
-rw-r--r--video/out/hwdec/hwdec_ios_gl.m (renamed from video/out/opengl/hwdec_ios.m)91
-rw-r--r--video/out/hwdec/hwdec_mac_gl.c (renamed from video/out/opengl/hwdec_osx.c)92
-rw-r--r--video/out/hwdec/hwdec_vaapi.c209
-rw-r--r--video/out/hwdec/hwdec_vaapi_gl.c221
-rw-r--r--video/out/hwdec/hwdec_vt.c141
-rw-r--r--video/out/hwdec/hwdec_vt.h63
-rw-r--r--video/out/hwdec/hwdec_vt_pl.m312
-rw-r--r--video/out/hwdec/hwdec_vulkan.c333
-rw-r--r--video/out/libmpv.h2
-rw-r--r--video/out/libmpv_sw.c1
-rw-r--r--video/out/mac/common.swift277
-rw-r--r--video/out/mac/gl_layer.swift34
-rw-r--r--video/out/mac/metal_layer.swift55
-rw-r--r--video/out/mac/title_bar.swift110
-rw-r--r--video/out/mac/view.swift161
-rw-r--r--video/out/mac/window.swift81
-rw-r--r--video/out/mac_common.swift157
-rw-r--r--video/out/meson.build51
-rw-r--r--video/out/opengl/angle_dynamic.c15
-rw-r--r--video/out/opengl/angle_dynamic.h4
-rw-r--r--video/out/opengl/common.c62
-rw-r--r--video/out/opengl/common.h14
-rw-r--r--video/out/opengl/context.c74
-rw-r--r--video/out/opengl/context.h23
-rw-r--r--video/out/opengl/context_angle.c11
-rw-r--r--video/out/opengl/context_cocoa.c223
-rw-r--r--video/out/opengl/context_drm_egl.c677
-rw-r--r--video/out/opengl/context_dxinterop.c4
-rw-r--r--video/out/opengl/context_glx.c160
-rw-r--r--video/out/opengl/context_rpi.c327
-rw-r--r--video/out/opengl/context_wayland.c72
-rw-r--r--video/out/opengl/context_win.c55
-rw-r--r--video/out/opengl/context_x11egl.c48
-rw-r--r--video/out/opengl/egl_helpers.c173
-rw-r--r--video/out/opengl/egl_helpers.h3
-rw-r--r--video/out/opengl/formats.c2
-rw-r--r--video/out/opengl/gl_headers.h1
-rw-r--r--video/out/opengl/hwdec_d3d11egl.c16
-rw-r--r--video/out/opengl/hwdec_dxva2egl.c18
-rw-r--r--video/out/opengl/hwdec_dxva2gldx.c16
-rw-r--r--video/out/opengl/hwdec_rpi.c384
-rw-r--r--video/out/opengl/hwdec_vdpau.c8
-rw-r--r--video/out/opengl/libmpv_gl.c31
-rw-r--r--video/out/opengl/oml_sync.c112
-rw-r--r--video/out/opengl/oml_sync.h28
-rw-r--r--video/out/opengl/ra_gl.c34
-rw-r--r--video/out/placebo/ra_pl.c169
-rw-r--r--video/out/placebo/ra_pl.h9
-rw-r--r--video/out/placebo/utils.c29
-rw-r--r--video/out/placebo/utils.h12
-rw-r--r--video/out/present_sync.c126
-rw-r--r--video/out/present_sync.h57
-rw-r--r--video/out/vo.c460
-rw-r--r--video/out/vo.h113
-rw-r--r--