Since the 2.1.0 version of the SDK, you can play HDR videos with GPU-powered decoding and processing 10bits data.
For this, you should enable the GPU-pipeline to make frame rate and video conversion fast:
MFFactoryClass myFactory = new MFFactoryClass();
myFactory.PropsSet("gpu_pipeline", "true");
The HDR support is implemented for NVIDIA decoder only and requires some extra properties.
You can enable them in the system registry:
MPlatform
HKEY_CURRENT_USER\Software\Medialooks\MPlatform\MFile\MFileFFM
decoder.nvidia = true
experimental.mfcodecs = true
HKEY_CURRENT_USER\Software\Medialooks\MPlatform\MFile
output.10bit = true
MFormats
HKEY_CURRENT_USER\Software\Medialooks\MFormats\MReader
decoder.nvidia = true
experimental.mfcodecs = true
output.10bit = true
All the properties can be specified at the moment of initialization of a file:
myReader.ReaderOpen(pathToFile,
"decoder.nvidia = true experimental.mfcodecs = true output.10bit = true");
myFile.FileNameSet(pathToFile,
"decoder.nvidia = true experimental.mfcodecs = true output.10bit = true")
Note that for video conversion, you should use r210 eMFCC type to keep the video processed by GPU.