1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavcodec
Anton Khirnov 79c47dfd25 lavc/hevcdec: unbreak WPP/progress2 code
The "progress2" API in pthread_slice.c currently associates a progress
value with a thread rather than a job, relying on the broken assumption
that a job's thread number is equal to its job number modulo thread
count.

This removes this API entirely, and changes hevcdec to use a
ThreadProgress-based implementation that associates a
mutex/cond/progress value with every job.

Fixes races and deadlocks in hevdec with slice threading, e.g. some of
those mentioned in #11221.
2024-10-15 10:37:44 +02:00
..
2024-10-01 10:28:54 +08:00
2024-10-12 11:21:14 -03:00
2024-09-17 21:12:31 +02:00
2024-10-12 11:21:14 -03:00
2024-09-24 15:37:17 +02:00
2024-10-14 22:32:48 +02:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2024-09-24 15:37:19 +02:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-09-24 15:37:19 +02:00
2024-09-24 15:37:20 +02:00