vk_video_samples
vk_video_samples copied to clipboard
10-bit presentation looks wrong on radv
I'm seeing what looks like maybe 8-bit sampling from 10-bit data or something when testing HEVC 10-bit content.
Does it work okay on nvidia?
I wonder is this because I'm just running in an 24-bit X server
I just tried a depth 30 X session, but still seeing a red tint over the whole video.
okay this looks like radv doesn't offer ycbcr sampling on the format, I should probably investigate fixing that first.
Hi Dave,
Please also check the m_samplerYcbcrModelConversion and m_samplerYcbcrRange in VulkanFrame<FrameDataType>::DrawFrame(). Currently, the app has it fixed to BT709 NARROW range, but this should reflect the settings from the compressed content. Most of the 10/12-bit content uses BT2020 with full range. So, your colors can look off. I'll fix the app to handle this correctly, soon.