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.c339
-rw-r--r--video/drmprime.c4
-rw-r--r--video/filter/refqueue.c27
-rw-r--r--video/filter/refqueue.h5
-rw-r--r--video/filter/vf_d3d11vpp.c27
-rw-r--r--video/filter/vf_fingerprint.c15
-rw-r--r--video/filter/vf_format.c91
-rw-r--r--video/filter/vf_gpu.c126
-rw-r--r--video/filter/vf_gpu.h (renamed from video/out/cocoa/events_view.h)23
-rw-r--r--video/filter/vf_gpu_egl.c107
-rw-r--r--video/filter/vf_gpu_vulkan.c115
-rw-r--r--video/filter/vf_sub.c5
-rw-r--r--video/filter/vf_vapoursynth.c100
-rw-r--r--video/filter/vf_vavpp.c28
-rw-r--r--video/filter/vf_vdpaupp.c25
-rw-r--r--video/fmt-conversion.c2
-rw-r--r--video/hwdec.c25
-rw-r--r--video/hwdec.h9
-rw-r--r--video/image_writer.c406
-rw-r--r--video/image_writer.h21
-rw-r--r--video/img_format.c12
-rw-r--r--video/img_format.h14
-rw-r--r--video/mp_image.c427
-rw-r--r--video/mp_image.h13
-rw-r--r--video/mp_image_pool.c37
-rw-r--r--video/mp_image_pool.h3
-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.swift82
-rw-r--r--video/out/cocoa_common.h40
-rw-r--r--video/out/cocoa_common.m1103
-rw-r--r--video/out/d3d11/context.c134
-rw-r--r--video/out/d3d11/context.h4
-rw-r--r--video/out/d3d11/hwdec_d3d11va.c21
-rw-r--r--video/out/d3d11/hwdec_dxva2dxgi.c10
-rw-r--r--video/out/d3d11/ra_d3d11.c139
-rw-r--r--video/out/dither.c60
-rw-r--r--video/out/dr_helper.c56
-rw-r--r--video/out/dr_helper.h10
-rw-r--r--video/out/drm_atomic.c10
-rw-r--r--video/out/drm_atomic.h9
-rw-r--r--video/out/drm_common.c1063
-rw-r--r--video/out/drm_common.h128
-rw-r--r--video/out/filter_kernels.c70
-rw-r--r--video/out/filter_kernels.h4
-rw-r--r--video/out/gpu/context.c227
-rw-r--r--video/out/gpu/context.h18
-rw-r--r--video/out/gpu/d3d11_helpers.c200
-rw-r--r--video/out/gpu/d3d11_helpers.h32
-rw-r--r--video/out/gpu/error_diffusion.c3
-rw-r--r--video/out/gpu/hwdec.c25
-rw-r--r--video/out/gpu/hwdec.h16
-rw-r--r--video/out/gpu/lcms.c107
-rw-r--r--video/out/gpu/lcms.h16
-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.c6
-rw-r--r--video/out/gpu/osd.h2
-rw-r--r--video/out/gpu/ra.c10
-rw-r--r--video/out/gpu/ra.h9
-rw-r--r--video/out/gpu/shader_cache.c17
-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.c634
-rw-r--r--video/out/gpu/video.h78
-rw-r--r--video/out/gpu/video_shaders.c190
-rw-r--r--video/out/gpu/video_shaders.h9
-rw-r--r--video/out/gpu_next/context.c29
-rw-r--r--video/out/gpu_next/context.h4
-rw-r--r--video/out/hwdec/dmabuf_interop.h4
-rw-r--r--video/out/hwdec/dmabuf_interop_gl.c190
-rw-r--r--video/out/hwdec/dmabuf_interop_pl.c5
-rw-r--r--video/out/hwdec/dmabuf_interop_wl.c36
-rw-r--r--video/out/hwdec/hwdec_aimagereader.c49
-rw-r--r--video/out/hwdec/hwdec_cuda.c2
-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.c164
-rw-r--r--video/out/hwdec/hwdec_drmprime.c53
-rw-r--r--video/out/hwdec/hwdec_drmprime_overlay.c29
-rw-r--r--video/out/hwdec/hwdec_ios_gl.m (renamed from video/out/opengl/hwdec_ios.m)92
-rw-r--r--video/out/hwdec/hwdec_mac_gl.c (renamed from video/out/opengl/hwdec_osx.c)93
-rw-r--r--video/out/hwdec/hwdec_vaapi.c45
-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.swift288
-rw-r--r--video/out/mac/gl_layer.swift64
-rw-r--r--video/out/mac/metal_layer.swift55
-rw-r--r--video/out/mac/title_bar.swift125
-rw-r--r--video/out/mac/view.swift166
-rw-r--r--video/out/mac/window.swift152
-rw-r--r--video/out/mac_common.swift170
-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.c24
-rw-r--r--video/out/opengl/common.h6
-rw-r--r--video/out/opengl/context.c23
-rw-r--r--video/out/opengl/context.h5
-rw-r--r--video/out/opengl/context_android.c1
-rw-r--r--video/out/opengl/context_angle.c12
-rw-r--r--video/out/opengl/context_cocoa.c223
-rw-r--r--video/out/opengl/context_drm_egl.c483
-rw-r--r--video/out/opengl/context_dxinterop.c3
-rw-r--r--video/out/opengl/context_glx.c11
-rw-r--r--video/out/opengl/context_rpi.c327
-rw-r--r--video/out/opengl/context_wayland.c78
-rw-r--r--video/out/opengl/context_win.c54
-rw-r--r--video/out/opengl/context_x11egl.c9
-rw-r--r--video/out/opengl/egl_helpers.c10
-rw-r--r--video/out/opengl/formats.c2
-rw-r--r--video/out/opengl/hwdec_d3d11egl.c10
-rw-r--r--video/out/opengl/hwdec_dxva2egl.c14
-rw-r--r--video/out/opengl/hwdec_dxva2gldx.c15
-rw-r--r--video/out/opengl/hwdec_rpi.c384
-rw-r--r--video/out/opengl/hwdec_vdpau.c7
-rw-r--r--video/out/opengl/libmpv_gl.c13
-rw-r--r--video/out/opengl/ra_gl.c15
-rw-r--r--video/out/placebo/ra_pl.c85
-rw-r--r--video/out/placebo/utils.c114
-rw-r--r--video/out/placebo/utils.h13
-rw-r--r--video/out/present_sync.c97
-rw-r--r--video/out/present_sync.h25
-rw-r--r--video/out/vo.c456
-rw-r--r--video/out/vo.h107
-rw-r--r--video/out/vo_caca.c8
-rw-r--r--video/out/vo_direct3d.c55
-rw-r--r--video/out/vo_dmabuf_wayland.c