Skip to content

d3d12: Fix HEVC chroma_format_idc, separate_colour_plane_flag and conf_win_*_offset for HEVC 444

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

Fixes the bitstream header coding for HEVC 444, specifically:

  • chroma_format_idc should be 3 instead of 1 (which is for 420)
  • separate_colour_plane_flag needs to be coded when chroma_format_idc is 3
  • conf_win_*_offset values come premultiplied by 2 for 420 profiles, but not for 444 profiles.

cc @jenatali @pohhsu

Merge request reports