VA-API  2.22.0
Public Attributes | List of all members
VAStatsStatisticsParameter Struct Reference

Motion Vector and Statistics frame level controls. common part VAStatsStatisticsParameterBufferType for a MB or CTB. More...

#include <va_fei.h>

Public Attributes

VAPictureStats input
 Source surface ID.

 
VAPictureStats * past_references
 Past reference surface ID pointer.

 
uint32_t num_past_references
 Past reference surface number

 
VABufferIDpast_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 * future_references
 Future reference surface ID pointer.

 
uint32_t num_future_references
 Future reference surface number

 
VABufferIDfuture_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.
 
VABufferIDoutputs
 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 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 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.
 

Detailed Description

Motion Vector and Statistics frame level controls. common part VAStatsStatisticsParameterBufferType for a MB or CTB.


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