Skip to content

radeonsi/vce: VCE/UVD encoding changes

David Rosca requested to merge nowrep/mesa:vce-fixes into main

This is mostly adaptation of changes that were already done for VCN to VCE/UVD encoders.

  • Fix leaks

    • fence leaks
    • session info buffer leak in HEVC encoder
  • Don't force buffer size for H264 constant bitrate encoding

    • no longer needed as the buffer size is now configurable
  • Tweak motion estimation parameters for H264 encoding

    • improves video quality
  • Add VUI parameters in output bitstream for H264 + HEVC encoding

    • needed to set params like full-range flag, color properties, chroma loc to ensure the video plays correctly

Tested on RX 570.

Merge request reports

Loading