summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/csputils.c842
-rw-r--r--video/csputils.h214
-rw-r--r--video/cuda.c15
-rw-r--r--video/d3d.c15
-rw-r--r--video/decode/vd_lavc.c482
-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.c49
-rw-r--r--video/filter/vf_fingerprint.c17
-rw-r--r--video/filter/vf_format.c124
-rw-r--r--video/filter/vf_gpu.c130
-rw-r--r--video/filter/vf_gpu.h (renamed from video/out/cocoa/video_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.c21
-rw-r--r--video/filter/vf_vapoursynth.c143
-rw-r--r--video/filter/vf_vavpp.c52
-rw-r--r--video/filter/vf_vdpaupp.c51
-rw-r--r--video/fmt-conversion.c7
-rw-r--r--video/hwdec.c63
-rw-r--r--video/hwdec.h44
-rw-r--r--video/image_writer.c471
-rw-r--r--video/image_writer.h23
-rw-r--r--video/img_format.c875
-rw-r--r--video/img_format.h234
-rw-r--r--video/mp_image.c621
-rw-r--r--video/mp_image.h22
-rw-r--r--video/mp_image_pool.c66
-rw-r--r--video/mp_image_pool.h5
-rw-r--r--video/out/android_common.c48
-rw-r--r--video/out/android_common.h2
-rw-r--r--video/out/aspect.c36
-rw-r--r--video/out/cocoa-cb/events_view.swift296
-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.m52
-rw-r--r--video/out/cocoa/window.m455
-rw-r--r--video/out/cocoa_cb_common.swift576
-rw-r--r--video/out/cocoa_common.m1101
-rw-r--r--video/out/d3d11/context.c354
-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.c240
-rw-r--r--video/out/d3d11/ra_d3d11.h12
-rw-r--r--video/out/d3d_shader_420p.h142
-rw-r--r--video/out/d3d_shader_yuv.hlsl32
-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.c1176
-rw-r--r--video/out/drm_common.h122
-rw-r--r--video/out/drm_prime.c101
-rw-r--r--video/out/drm_prime.h16
-rw-r--r--video/out/filter_kernels.c80
-rw-r--r--video/out/filter_kernels.h4
-rw-r--r--video/out/gpu/context.c213
-rw-r--r--video/out/gpu/context.h27
-rw-r--r--video/out/gpu/d3d11_helpers.c210
-rw-r--r--video/out/gpu/d3d11_helpers.h32
-rw-r--r--video/out/gpu/error_diffusion.c7
-rw-r--r--video/out/gpu/hwdec.c246
-rw-r--r--video/out/gpu/hwdec.h42
-rw-r--r--video/out/gpu/lcms.c251
-rw-r--r--video/out/gpu/lcms.h28
-rw-r--r--video/out/gpu/libmpv_gpu.c14
-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.c44
-rw-r--r--video/out/gpu/ra.h19
-rw-r--r--video/out/gpu/shader_cache.c50
-rw-r--r--video/out/gpu/shader_cache.h6
-rw-r--r--video/out/gpu/spirv.c3
-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.c25
-rw-r--r--video/out/gpu/utils.h5
-rw-r--r--video/out/gpu/video.c994
-rw-r--r--video/out/gpu/video.h86
-rw-r--r--video/out/gpu/video_shaders.c382
-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_common.h)34
-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.c138
-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)51
-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_vaapi_vk.c110
-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.h3
-rw-r--r--video/out/libmpv_sw.c208
-rw-r--r--video/out/mac/common.swift676
-rw-r--r--video/out/mac/gl_layer.swift (renamed from video/out/cocoa-cb/video_layer.swift)87
-rw-r--r--video/out/mac/metal_layer.swift55
-rw-r--r--video/out/mac/title_bar.swift (renamed from video/out/cocoa-cb/title_bar.swift)144
-rw-r--r--video/out/mac/view.swift217
-rw-r--r--video/out/mac/window.swift (renamed from video/out/cocoa-cb/window.swift)261
-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.c63
-rw-r--r--video/out/opengl/common.h14
-rw-r--r--video/out/opengl/context.c92
-rw-r--r--video/out/opengl/context.h23
-rw-r--r--video/out/opengl/context_android.c1
-rw-r--r--video/out/opengl/context_angle.c46
-rw-r--r--video/out/opengl/context_cocoa.c223
-rw-r--r--video/out/opengl/context_drm_egl.c669
-rw-r--r--video/out/opengl/context_dxinterop.c5
-rw-r--r--video/out/opengl/context_glx.c161
-rw-r--r--video/out/opengl/context_rpi.c327
-rw-r--r--video/out/opengl/context_wayland.c167
-rw-r--r--video/out/opengl/context_win.c56
-rw-r--r--video/out/opengl/context_x11egl.c46
-rw-r--r--video/out/opengl/egl_helpers.c177
-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/o