mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
frontends/va: get st_rps_bits from VA pic param hevc
Get st_rps_bits from VAPictureParameterBufferHEVC, and set the flag that indicates st_rps_bits will be used for parsing the short_term_ref_pic_set structure Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10889>
This commit is contained in:
parent
db0bf188d9
commit
1285e0d2fc
1 changed files with 2 additions and 0 deletions
|
|
@ -175,6 +175,8 @@ void vlVaHandlePictureParameterBufferHEVC(vlVaDriver *drv, vlVaContext *context,
|
|||
context->desc.h265.NumPocLtCurr++;
|
||||
}
|
||||
}
|
||||
context->desc.h265.pps->st_rps_bits = hevc->st_rps_bits;
|
||||
context->desc.h265.UseStRpsBits = true;
|
||||
}
|
||||
|
||||
void vlVaHandleIQMatrixBufferHEVC(vlVaContext *context, vlVaBuffer *buf)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue