Skip to content

radeonsi/vcn: use calculated max hierarchy depth for hevc enc

Boyuan Zhang requested to merge boyzhang/mesa:vaapi-hevc-enc into main

Certain player has hard coded max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra values set through VA-API, which doesn't work on radeon HW. Until properly fixing it on player side, temporarily adding this workaround to use calculated values instead.

Signed-off-by: Boyuan Zhang boyuan.zhang@amd.com

Merge request reports