VA-API  2.17.0.1
Classes | Macros | Variables
FEI encoding common API

Classes

union  VAConfigAttribValStats
 Attribute value for VAConfigAttribStats. More...
 
struct  VAStatsStatisticsParameter
 Motion Vector and Statistics frame level controls. common part VAStatsStatisticsParameterBufferType for a MB or CTB. More...
 

Macros

#define VA_PICTURE_STATS_CONTENT_UPDATED   0x00000010
 picutre surface content updated indicator. The picture surface content is updated, it means temporary buffer like downscaled pixel data in driver internal needs be forced freshing
 

Variables

uint32_t   VAConfigAttribValStats::max_num_past_references: 4
 Max number of past reference frames that are supported.
 
uint32_t   VAConfigAttribValStats::max_num_future_references: 4
 Max number of future reference frames that are supported.
 
uint32_t   VAConfigAttribValStats::num_outputs: 3
 Number of supported output buffers for VAStatsStatisticsParameter->outputs.
 
uint32_t   VAConfigAttribValStats::interlaced: 1
 Interlaced content is supported.
 
VAPictureStats VAStatsStatisticsParameter::input
 Source surface ID.

 
VAPictureStats * VAStatsStatisticsParameter::past_references
 Past reference surface ID pointer.

 
uint32_t VAStatsStatisticsParameter::num_past_references
 Past reference surface number

 
VABufferIDVAStatsStatisticsParameter::past_ref_stat_buf
 Statistics output for past reference surface. Only enabling statistics output for past reference picture when *past_ref_stat_buf is a valid VABufferID, it is needed in case app wants statistics data of both reference and current pictures in very special use cases for better performance. The output layout is defined by VAStatsStatisticsBufferType(for progressive and top field of interlaced case) and VAStatsStatisticsBottomFieldBufferType(only for interlaced case), only pixel_average_16x16/pixel_average_8x8 and variance_16x16/variance_8x8 data are valid.
 
VAPictureStats * VAStatsStatisticsParameter::future_references
 Future reference surface ID pointer.

 
uint32_t VAStatsStatisticsParameter::num_future_references
 Future reference surface number

 
VABufferIDVAStatsStatisticsParameter::future_ref_stat_buf
 Statistics output for future reference surface. Only enabling statistics output for future reference picture when *past_ref_stat_buf is a valid VABufferID, it is needed in case app wants statistics data of both reference and current pictures in very special use cases for better performance. The output layout is defined by VAStatsStatisticsBufferType(for progressive and top field of interlaced case) and VAStatsStatisticsBottomFieldBufferType(only for interlaced case), only pixel_average_16x16/pixel_average_8x8 and variance_16x16/variance_8x8 data are valid.
 
VABufferIDVAStatsStatisticsParameter::outputs
 ID of the output buffer. The number of outputs is determined by below DisableMVOutput and DisableStatisticsOutput. The output layout is defined by VAStatsMVBufferType, VAStatsStatisticsBufferType(for progressive and top field of interlaced case) and VAStatsStatisticsBottomFieldBufferType(only for interlaced case).
 
VABufferID VAStatsStatisticsParameter::mv_predictor
 MV predictor. It is valid only when mv_predictor_ctrl is not 0. Each block has a pair of MVs, one for past and one for future reference as defined by VAMotionVector. The block is in raster scan order. Buffer size shall not be less than the number of blocks multiplied by sizeof(VAMotionVector).
 
VABufferID VAStatsStatisticsParameter::qp
 QP input buffer. It is valid only when mb_qp is set to 1. The data in this buffer correspond to the input source. One QP per MB or CTB block in raster scan order, each QP is a signed char (8-bit) value.
 

Attribute values for VAConfigAttribFEIFunctionType

FEI specific attribute definitions

This is only for VAEntrypointFEI The desired type should be passed to driver when creating the configuration. If VA_FEI_FUNCTION_ENC_PAK is set, VA_FEI_FUNCTION_ENC and VA_FEI_FUNCTION_PAK will be ignored if set also. Combination of VA_FEI_FUNCTION_ENC and VA_FEI_FUNCTION_PAK is not valid. If VA_FEI_FUNCTION_ENC is set, there will be no bitstream output. If VA_FEI_FUNCTION_PAK is set, two extra input buffers for PAK are needed: VAEncFEIMVBufferType and VAEncFEIMBCodeBufferType. VA_FEI_FUNCTION_ENC_PAK is recommended for best performance.

#define VA_FEI_FUNCTION_ENC   0x00000001
 ENC only is supported.
 
#define VA_FEI_FUNCTION_PAK   0x00000002
 PAK only is supported.
 
#define VA_FEI_FUNCTION_ENC_PAK   0x00000004
 ENC_PAK is supported.
 

Detailed Description