h265parser: Store NumDeltaPocs of reference for hardware accelerators
authorSeungha Yang <seungha.yang@navercorp.com>
Wed, 26 Feb 2020 08:33:59 +0000 (17:33 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Sat, 7 Mar 2020 03:20:03 +0000 (12:20 +0900)
commit353013fcaad88bf32322d8faf39b7708f9e697d9
treed9557e17c90d2c69ab2393afdce1796860548ed3
parentba3430a059704ca7ac9f5b86e8844f61fe70523c
h265parser: Store NumDeltaPocs of reference for hardware accelerators

That's the value of NumDeltaPocs[RefRpsIdx] and we might be able to derive
the value from given sps and slice header.
Because well known hardware implementations refer to the value, however,
storing the value makes things easier.

Following is the list of hardware implementations
* DXVA2: ucNumDeltaPocsOfRefRpsIdx
* NVDEC/VDPAU: NumDeltaPocsOfRefRpsIdx
gst-libs/gst/codecparsers/gsth265parser.c
gst-libs/gst/codecparsers/gsth265parser.h