16:43
lavc/hevcdec: drop HEVCLocalContext.gb In all HEVCLocalContext instances except the first one, the bitreader is never used for actually reading bits, but merely for passing the buffer to ff_init_cabac_decoder(), which is better done directly. The instance that actually is used for bitreading gets moved to stack in decode_nal_unit(), which makes its lifetime clearer. [DH] libavcodec/hevc_cabac.c [DH] libavcodec/hevcdec.c [DH] libavcodec/hevcdec.h
16:40
lavc/hevcdec: include first row in SliceHeader.offset/size Will be useful in the following commit. [DH] libavcodec/hevcdec.c
16:33
lavc/hevcdec: drop a useless condition hls_slice_data_wpp() is only called when num_entry_point_offsets>0 [DH] libavcodec/hevcdec.c
14:59
lavc/hevcdec: move handling of byte alignment at the end of slice header Do it in hls_slice_header() rather than cabac_init_decoder() - the former is a more logical place as according the spec the byte alignment is a part of the slice header, not slice data. Avoids a second instance of alignment handling in vaapi_hevc. Also, check that alignment_bit_equal_to_one is, in fact, equal to one. [DH] libavcodec/hevc_cabac.c [DH] libavcodec/hevcdec.c [DH] libavcodec/hevcdec.h [DH] (...)
19:56
checkasm: add linear least square tests [DH] tests/checkasm/Makefile [DH] tests/checkasm/checkasm.c [DH] tests/checkasm/checkasm.h [DH] tests/checkasm/lls.c [DH] tests/fate/checkasm.mak
19:09
tests/checkasm/vvc_mc: for SAD, only test valid subblock sizes According to the VVC specification (section 8.5.1), the maximum width/height of a subblock passed for DMVR SAD is 16. This along with previous constraint requiring width * height >= 128 means that 8x16, 16x8, and 16x16 are the only allowed sizes. This changes check_vvc_sad() to only test and benchmark those sizes. [DH] tests/checkasm/vvc_mc.c
19:09
libavcode/x86/vvc: change label to vvc_sad_16 to reflect block sizes According to the VVC specification (section 8.5.1), the maximum width/height of a subblock passed for DMVR SAD is 16. This along with previous constraint requiring width * height >= 128 means that 8x16, 16x8, and 16x16 are the only allowed sizes. This re-labels vvc_sad_16_128 to vvc_sad_16 to reflect this and adds a comment about the block size constraints. There's no functionality change. [DH] (...)