h265parser: Calculate short term RPS size in slice header
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 20 Sep 2019 11:14:57 +0000 (20:14 +0900)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Sat, 12 Oct 2019 02:44:35 +0000 (02:44 +0000)
commit6f2ab31d10d0d4181026eafced3568fe39452b4c
treeaba7653ca558a6614a30a150faf489479b9415ce
parent29d4db0f8ffb4ca4bf525d5afd615a76304e3f43
h265parser: Calculate short term RPS size in slice header

The calculated size of short_term_ref_pic_set is not a part of
HEVC syntax but the value is used by some stateless decoders
(e.g., vaapi, dxva, vdpau and nvdec) for the purpose of skipping
parsing the syntax by the accelerator.
gst-libs/gst/codecparsers/gsth265parser.c
gst-libs/gst/codecparsers/gsth265parser.h