FFmpeg/libavcodec/vvc
Frank Plowman 0c517fcbe8 lavc/vvc: Fix emulation prevention byte handling
nal->skipped_bytes_pos contains the positions of errors relative to the
start of the slice header, whereas the position they were tested against
is relative to the start of the slice data, i.e. one byte after the end
of the slice header.

Patch fixes this by storing the size of the slice header in H266RawSlice
and adding it to the position given by the GetBitContext before
comparing to skipped_bytes_pos.  This fixes AVERROR_INVALIDDATAs for
various valid bitstreams, such as the LMCS_B_Dolby_2 conformance
bitstream.

Signed-off-by: Frank Plowman <post@frankplowman.com>
2024-01-27 11:29:40 -03:00
..
Makefile vvcdec: add vvc decoder 2024-01-03 23:15:12 +08:00
vvc_cabac.c vvcdec: add cabac decoder 2024-01-03 23:15:06 +08:00
vvc_cabac.h vvcdec: add cabac decoder 2024-01-03 23:15:06 +08:00
vvc_ctu.c lavc/vvc: Use av_log2 when destination is integer 2024-01-26 15:47:41 -03:00
vvc_ctu.h avcodec/vvc_ctu: align motion vector fields 2024-01-23 17:24:15 -03:00
vvc_data.c
vvc_data.h
vvc_filter.c lavc/vvc: Remove left shifts of negative values 2024-01-23 11:17:05 -03:00
vvc_filter.h vvcdec: add LMCS, Deblocking, SAO, and ALF filters 2024-01-03 23:15:12 +08:00
vvc_filter_template.c avcodec/vvcdec: misc, constify hor_ctu_edge 2024-01-17 10:14:50 -03:00
vvc_inter.c lavc/vvc: Remove left shifts of negative values 2024-01-23 11:17:05 -03:00
vvc_inter.h vvcdec: add inter prediction 2024-01-03 23:15:11 +08:00
vvc_inter_template.c lavc/vvc: Remove left shifts of negative values 2024-01-23 11:17:05 -03:00
vvc_intra.c vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual 2024-01-07 09:01:04 +08:00
vvc_intra.h vvcdec: add intra prediction 2024-01-03 23:15:12 +08:00
vvc_intra_template.c lavc/vvc: Clamp shift RHS 2024-01-26 15:47:41 -03:00
vvc_itx_1d.c vvcdec: add inv transform 1d 2024-01-03 23:15:11 +08:00
vvc_itx_1d.h vvcdec: add inv transform 1d 2024-01-03 23:15:11 +08:00
vvc_mvs.c avcodec/vvc_mvs: remove an unnecessary AV_ZERO64() call 2024-01-24 12:41:01 -03:00
vvc_mvs.h vvcdec: add motion vector decoder 2024-01-03 23:15:11 +08:00
vvc_ps.c avcodec/vvc_ps: remove duplicated enum 2024-01-26 19:20:48 -03:00
vvc_ps.h
vvc_refs.c vvcdec: add reference management 2024-01-03 23:15:11 +08:00
vvc_refs.h vvcdec: add reference management 2024-01-03 23:15:11 +08:00
vvc_thread.c avcodec/vvc_thread: don't use an anonymous union 2024-01-06 23:28:03 -03:00
vvc_thread.h vvcdec: add CTU thread logical 2024-01-03 23:15:12 +08:00
vvcdec.c lavc/vvc: Fix emulation prevention byte handling 2024-01-27 11:29:40 -03:00
vvcdec.h vvcdec: add inter prediction 2024-01-03 23:15:11 +08:00
vvcdsp.c vvcdec: add dsp init and inv transform 2024-01-03 23:15:12 +08:00
vvcdsp.h vvcdec: add inter prediction 2024-01-03 23:15:11 +08:00
vvcdsp_template.c vvcdec: add dsp init and inv transform 2024-01-03 23:15:12 +08:00