mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 19:20:22 +01:00
frontends/va: Parse enc_constraint_set_flags from packed SPS
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> (Reviewed in PR !26556 as well) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26573>
This commit is contained in:
parent
32667f78ab
commit
fc69d65a4e
1 changed files with 3 additions and 1 deletions
|
|
@ -375,7 +375,9 @@ static void parseEncSpsParamsH264(vlVaContext *context, struct vl_rbsp *rbsp)
|
|||
|
||||
profile_idc = vl_rbsp_u(rbsp, 8);
|
||||
|
||||
vl_rbsp_u(rbsp, 8); /* constraint_set_flags */
|
||||
context->desc.h264enc.seq.enc_constraint_set_flags =
|
||||
vl_rbsp_u(rbsp, 6); /* constraint_set_flags */
|
||||
vl_rbsp_u(rbsp, 2); /* reserved_zero_2bits */
|
||||
vl_rbsp_u(rbsp, 8); /* level_idc */
|
||||
|
||||
vl_rbsp_ue(rbsp); /* seq_parameter_set_id */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue