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

Maximum frame size (in bytes) settings for multiple pass. More...

#include <va.h>

Public Attributes

va_deprecated VAEncMiscParameterType type
 Type. Shall be set to #VAEncMiscParameterTypeMultiPassMaxFrameSize. More...
 
uint32_t max_frame_size
 Maximum size of a frame (in byte)
 
uint32_t reserved
 Reserved bytes for future use, must be zero.
 
uint8_t num_passes
 number of passes, every pass has different QP, currently AVC encoder can support up to 4 passes
 
uint8_t * delta_qp
 delta QP list for every pass
 
unsigned long va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.
 

Detailed Description

Maximum frame size (in bytes) settings for multiple pass.

This misc parameter buffer defines the maximum size of a frame (in bytes) settings for multiple pass. currently only AVC encoder can support this settings in multiple pass case. If the frame size exceeds this size, the encoder will do more pak passes to adjust the QP value to control the frame size.

Member Data Documentation

◆ type

va_deprecated VAEncMiscParameterType VAEncMiscParameterBufferMultiPassFrameSize::type

Type. Shall be set to #VAEncMiscParameterTypeMultiPassMaxFrameSize.

duplicated with VAEncMiscParameterBuffer, should be deprecated


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