Skip to content

d3d11: Add support for compute shader based conversion

Seungha Yang requested to merge seungha.yang/gstreamer:d3d11-compute into main

Sampling subsampled/packed YUV texture in pixel shader would result in bad image quality. And some packed YUV texture cannot be a render target.

Adding compute shader in order to pack/unpack YUV textures using GPU. Then, if video processor (vendor implemented converter) does not support packed YUV format, our shader pipeline in d3d11converter will be configured like

[packed/subsampled YUV] -> [compute shader] -> [VUYA or AYUV64] -> [pixel shader] (-> [compute shader if needed] -> [packed YUV])

Merge request reports