Skip to content

h265decoder: Fix DPB size calculation

Seungha Yang requested to merge seungha.yang/gstreamer:h265dec-dpb-size into main

MaxDpbSize specified in A.4.2 tells upper bound of decoded picture buffer size but does not tell actual required size. Use max_dec_pic_buffering value as a dpb size. Some backends such as DXVA and NVDEC might require pre-allocated DPB buffer and unnecessary large DPB size will result in waste of GPU memory.

Merge request reports