|
VA-API
2.23.0
|
data buffer of tile widths and heights. VATileBufferType is used to send this buffer. More...
#include <va_dec_vvc.h>
Public Attributes | |
| uint16_t | SliceTopLeftTileIdx |
| the tile index of which the starting CTU (top-left) of the slice belongs to. The tile index is in raster scan order. Same syntax variable as in VVC spec. | |
| uint32_t | va_reserved [VA_PADDING_LOW] |
| Reserved for future use, must be zero. | |
data buffer of tile widths and heights. VATileBufferType is used to send this buffer.
Host decoder sends in number of pps_num_exp_tile_columns_minus1 + 1 tile column widths of pps_tile_column_width_minus1[i], followed by number of pps_num_exp_tile_rows_minus1 + 1 of tile row heights of pps_tile_row_height_minus1[i], through one or multiple buffers. Each tile width or height is formatted as uint16_t tile_dimension; Each buffer contains an integer number of tile_dimension with no gap in between. The buffers with type VATileBufferType should be submitted for each picture. And driver will derive the tile structure from it. When pps_num_exp_tile_columns_minus1 + pps_num_exp_tile_rows_minus1 equals 0, this buffer is still submitted by app to driver.
VVC SliceStruct Data Structure
Host decoder sends in an array of SliceStruct sets through one or multiple buffers. These SliceStruct sets contain only the "explicit" slices parsed from PPS header. Each SliceStruct set is described by VASliceStructVVC data structure. Each buffer contains an integer number of VASliceStructVVC data structures, which are laid out sequentially in the order of ascending slice indices according to the spec with no gap in between.
When pps_rect_slice_flag equals 0 or there are no explicit slices, this buffer is not submitted by app to driver. Otherwise, for each picture, this buffer should be submitted.
Note: When pps_slice_width_in_tiles_minus1 + pps_slice_height_in_tiles_minus1 equals 0, if the sum of pps_exp_slice_height_in_ctus_minus1 + 1 of all those slices with same SliceTopLeftTileIdx value is less than the height of tile SliceTopLeftTileIdx in unit of CTUs, driver should derive the rest slices in that tile according to equation (21) in spec section 6.5.1. And VASliceStructVVC for these (derived) slices are not passed in to LibVA by App.
App should populate the data entries regardless of values of pps_single_slice_per_subpic_flag or sps_subpic_info_present_flag.
VASliceStructBufferType is used to send this buffer.
1.9.1