YCbCr output color format
bgr opened this issue · 5 comments
Hi, I've tried out the wrapper and from what I saw it doesn't seem to have a notion of YCbCr color format. I currently have YCbCr420 set in NVidia Control Panel, but the tool still returns RGB. Is this a limitation of NVidia's API itself or the wrapper?
What API are you using and what are you trying to do?
Now I see there's ColorDataFormat.cs that indeed mentions YUV420 and other modes, I had mistakenly looked at ColorFormat.cs and used display.DisplayDevice.DefaultColorData
instead of CurrentColorData
.
I'm trying to find a way to change resolution, color format, refresh rate and HDR on/off programmatically (can be from command line, doesn't need to be a library), and your wrapper is the closest thing to it I've found. Is it possible to set all that using this wrapper?
I have an app that should do this:
https://github.com/falahati/HeliosDisplayManagement
You can take a look at the code and see if it helps. Never tried it with YUV420 tho. For HDR, we have #19 pull request that should help you.
Great! Thanks for the quick reply.