Skip to content

d3d12/va: Add QVBR mode, VBV Capacity/Fullness, MinQP, MaxQP and MaxFrameSize params, min resolution support

Sil Vilerino requested to merge sivileri/mesa:qvbr_support into main

Enhance the rate control and resolution reporting support in d3d12 gallium for HEVC/H264, plus a couple changes to frontend/va:

  • frontend/va Add support for QVBR rate control mode
  • frontend/va: Allow distinction between hardcoded defaults and app requested values for HRD and Min/Max QP values.
    • The frontend sets some defaults (ie. getEncParamPresetH264/265 function) to rate control parameters, which can be then overridden by the app but the driver doesn't know whether what it receives are the params from the app or hardcoded defaults. We only want (in d3d12 driver) to use app requested values or then just leave the default to each GPU vendor's driver.

cc @jenatali

Merge request reports