You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Frank Plowman
a42f884cd2
lavc/vvc: Fix slice_idx out-of-bounds memset
...
If the number of CTUs reduces between one picture and the next, the
slice_idx table is reduced in size in the frame_context_for_each_tl call
on vvcdec.c:321. When initialising the slice_idx table on vvcdec.c:325,
the old code uses fc->tab.sz.ctu_count when calculating the table size.
fc->tab.sz.ctu_count holds the old ctu count at this point however, not
being updated to hold the new ctu count until vvcdec.c:342. This causes
an out-of-bounds write.
Patch fixes the problem by using pps->ctb_count, which was just used
when allocating the table, in place of fc->tab.sz.ctu_count when
initialising the table.
Signed-off-by: Frank Plowman <post@frankplowman.com>
10 months ago
..
Makefile
vvcdec: add vvc decoder
11 months ago
vvc_cabac.c
vvcdec: add cabac decoder
11 months ago
vvc_cabac.h
vvcdec: add cabac decoder
11 months ago
vvc_ctu.c
lavc/vvc: Use av_log2 when destination is integer
10 months ago
vvc_ctu.h
avcodec/vvc_ctu: align motion vector fields
10 months ago
vvc_data.c
…
vvc_data.h
…
vvc_filter.c
lavc/vvc: Remove left shifts of negative values
10 months ago
vvc_filter.h
vvcdec: add LMCS, Deblocking, SAO, and ALF filters
11 months ago
vvc_filter_template.c
avcodec/vvcdec: misc, constify hor_ctu_edge
10 months ago
vvc_inter.c
lavc/vvc: Remove left shifts of negative values
10 months ago
vvc_inter.h
vvcdec: add inter prediction
11 months ago
vvc_inter_template.c
avcodec/vvc/vvc_inter_template: move put/put_luma/put_chroma template to h2656_inter_template.c
10 months ago
vvc_intra.c
vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual
11 months ago
vvc_intra.h
vvcdec: add intra prediction
11 months ago
vvc_intra_template.c
lavc/vvc: Clamp shift RHS
10 months ago
vvc_itx_1d.c
vvcdec: add inv transform 1d
11 months ago
vvc_itx_1d.h
vvcdec: add inv transform 1d
11 months ago
vvc_mvs.c
avcodec/vvc_mvs: remove an unnecessary AV_ZERO64() call
10 months ago
vvc_mvs.h
vvcdec: add motion vector decoder
11 months ago
vvc_ps.c
avcodec/vvc_ps: remove duplicated enum
10 months ago
vvc_ps.h
…
vvc_refs.c
avcodec/vvcdec: fix seeking for open GOP
10 months ago
vvc_refs.h
avcodec/vvcdec: fix seeking for open GOP
10 months ago
vvc_thread.c
avcodec/vvc_thread: don't use an anonymous union
11 months ago
vvc_thread.h
vvcdec: add CTU thread logical
11 months ago
vvcdec.c
lavc/vvc: Fix slice_idx out-of-bounds memset
10 months ago
vvcdec.h
vvcdec: add inter prediction
11 months ago
vvcdsp.c
avcodec/vvcdec: reuse h26x/2656_inter.asm to enable x86 optimizations
10 months ago
vvcdsp.h
avcodec/vvcdec: reuse h26x/2656_inter.asm to enable x86 optimizations
10 months ago
vvcdsp_template.c
vvcdec: add dsp init and inv transform
11 months ago