VA-API  2.17.0.1
Public Attributes | List of all members
VAEncSegMapBufferAV1 Struct Reference

Segment map data buffer. More...

#include <va_enc_av1.h>

Public Attributes

uint32_t segmentMapDataSize
 Segment map data size.
 
uint8_t * pSegmentMap
 Segment map. Size of this map is indicated by segmentMapDataSize and each element in this map contains the segment id of a particular block. The element is indexed by raster scan order. The value of each entry should be in the range [0..7], inclusive.
 

Detailed Description

Segment map data buffer.

This buffer is optional depending on the value of av1_segments.segmentation_enabled. If av1_segments.segmentation_enabled in the picture parameters equals 1, and RateControlMethod is not CQP and this surface is not provided by App, the encoder will determine the per block segmentation map. In this case, App should not provide the segmentation parameter data structure in frame header as well. If av1_segments.segmentation_enabled equals 1 and the segmentation map buffer is provided, app should embed the segmentation info in frame header, populate the VAEncSegParamAV1 structure with #VAEncMacroblockMapBufferType and the driver as well as the underline encoder should honor what is given by the app.


The documentation for this struct was generated from the following file: