1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libavcodec/hevc
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
..
cabac.c
data.c
data.h
dsp_template.c
dsp.c
dsp.h
filter.c
hevc.h
hevcdec.c lavc/hevcdec: unbreak WPP/progress2 code 2024-10-15 10:37:44 +02:00
hevcdec.h lavc/hevcdec: unbreak WPP/progress2 code 2024-10-15 10:37:44 +02:00
Makefile
mvs.c
parse.c
parse.h
parser.c lavc/hevc/parser: only split packets on NALUs with nuh_layer_id=0 2024-09-23 17:11:40 +02:00
pred_template.c
pred.c
pred.h
ps_enc.c
ps.c avcodec/hevc/ps: add a range check for sps_max_sub_layers 2024-10-11 16:17:48 -03:00
ps.h
refs.c avcodec/hevc/refs: export Stereo 3D side data 2024-09-23 17:15:02 +02:00
sei.c
sei.h avcodec/hevc/sei: num_ref_displays can be up to 32 2024-09-24 15:11:57 -03:00