FFmpeg/libavcodec/vvc
Frank Plowman 539cea3183 lavc/vvc: Fix race condition for MVs cropped to subpic
When the current subpicture has sps_subpic_treated_as_pic_flag equal to
1, motion vectors are cropped such that they cannot point to other
subpictures.  This was accounted for in the prediction logic, but not
in pred_get_y, which is used by the scheduling logic to determine which
parts of the reference pictures must have been reconstructed before
inter prediction of a subsequent frame may begin.  Consequently, where a
motion vector pointed to a location significantly above the current
subpicture, there was the possibility of a race condition.  Patch fixes
this by cropping the motion vector to the current subpicture in
pred_get_y.

Signed-off-by: Frank Plowman <post@frankplowman.com>
2025-01-05 20:25:29 +08:00
..
cabac.c
cabac.h
ctu.c
ctu.h
data.c
data.h
dec.c
dec.h
dsp.c
dsp.h
dsp_template.c
filter.c
filter.h
filter_template.c
inter.c
inter.h
inter_template.c
intra.c
intra.h
intra_template.c
intra_utils.c
itx_1d.c
itx_1d.h
Makefile
mvs.c
mvs.h
ps.c
ps.h
refs.c
refs.h
thread.c
thread.h