【问题标题】:I am trying to use this code sHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.HDR10);我正在尝试使用此代码 sHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.HDR10);
【发布时间】:2019-08-15 13:49:58
【问题描述】:

我正在使用下面的代码来检查 hdr 的兼容性

var displayInfo = DisplayInformation.GetForCurrentView();
var colorInfo = displayInfo.GetAdvancedColorInfo();
var isHDRSupported = colorInfo.IsHdrMetadataFormatCurrentlySupported(HdrMetadataFormat.HDR10); 

我有 hdr 显示屏,但该代码始终返回 false,尽管它是 HDR 屏幕。请提出一些解决方案。

提前致谢。

【问题讨论】:

  • 请格式化您的代码。您使用的 API 是外部库的一部分还是您的实现?如果是您的,请提供代码。
  • 这是微软提供的c#代码和api。
  • 对该函数进行了搜索,看起来它没有记录(在.NET API browser 中)但它确实存在in UWP API。为该标签添加了编辑建议。
  • 我想知道屏幕是否正确显示了 HDR 元数据,或者您的 windows 10 是否是最新的Device family Windows 10, version 1803 & API contract v.6
  • 您使用的是什么屏幕?你怎么知道是HDR?你用的是什么驱动的屏幕?

标签: c# uwp television xbox-one


【解决方案1】:

Xbox One 上的 UWP 不支持 HDR10 输出。

this blog post

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-08
    • 1970-01-01
    相关资源
    最近更新 更多