mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 22:00:26 +01:00
frontends/va: Set HEVC NumShortTermPictureSliceHeaderBits
This is the same value as st_rps_bits, which VDPAU already uses. Reviewed-By: Sil Vilerino <sivileri@microsoft.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34836>
This commit is contained in:
parent
4e68e422e0
commit
7d55b510e8
1 changed files with 1 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ void vlVaHandlePictureParameterBufferHEVC(vlVaDriver *drv, vlVaContext *context,
|
|||
context->desc.h265.LtCurrDone = context->desc.h265.NumPocLtCurr < 2;
|
||||
|
||||
context->desc.h265.pps->st_rps_bits = hevc->st_rps_bits;
|
||||
context->desc.h265.NumShortTermPictureSliceHeaderBits = hevc->st_rps_bits;
|
||||
context->desc.h265.UseStRpsBits = true;
|
||||
|
||||
context->desc.h265.slice_parameter.slice_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue