avcodec/cbs_h266: store SubpicIdVal in the context

And use it to derive CurrSubpicIdx

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2023-06-30 22:20:28 -03:00
parent e7f152a8c2
commit a77f5019f5
2 changed files with 18 additions and 17 deletions

View File

@@ -552,6 +552,7 @@ typedef struct H266RawPPS {
uint16_t num_tiles_in_pic;
uint16_t slice_height_in_ctus[VVC_MAX_SLICES];
uint16_t num_slices_in_subpic[VVC_MAX_SLICES];
uint16_t sub_pic_id_val[VVC_MAX_SLICES];
} H266RawPPS;
typedef struct H266RawAUD {