mpv/video
Kacper Michajłow 55ed50ba90 mp_thread: prefer tracking threads with id
This change essentially removes mp_thread_self() and instead add
mp_thread_id to track threads and have ability to query current thread
id during runtime.

This will be useful for upcoming win32 implementation, where accessing
thread handle is different than on pthreads. Greatly reduces complexity.
Otherweis locked map of tid <-> handle is required which is completely
unnecessary for all mpv use-cases.

Note that this is the mp_thread_id, not to confuse with system tid. For
example on threads-posix implementation it is simply pthread_t.
2023-11-05 17:36:17 +00:00
..
decode ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
filter ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
out mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
csputils.c
csputils.h
cuda.c cuda: move --cuda-device to cuda_opts group 2023-09-22 14:20:38 +00:00
d3d.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
d3d.h
drmprime.c
fmt-conversion.c
fmt-conversion.h
hwdec.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
hwdec.h
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c
img_format.h img_format: remove duplicated macros 2023-10-23 00:10:42 +00:00
mp_image.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
mp_image.h
mp_image_pool.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
mp_image_pool.h
repack.c
repack.h
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
vdpau.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
vdpau.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c
zimg.h