媒体质量框架
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android 16 中针对 Android TV 引入了媒体质量框架,旨在为画质 (PQ) 和音质 (AQ) 调整建立标准化 API。主要目标是为不同 Android TV 设备上的这些调整提供统一的方法。此标准化框架旨在通过提供一组一致的 Android API,简化应用开发者、原始设备制造商 (OEM) 和系统芯片 (SoC) 供应商的开发工作。对于 SoC 供应商而言,它允许 Android 框架处理 PQ 和 AQ 配置,从而减少与不同应用开发者协作的开销。
最终,对于 Google 和 Android 平台,它有助于减少碎片化、提高质量和可伸缩性、提供新功能,并为统一的 AQ/PQ 界面和改进的用户体验奠定基础。
媒体质量框架支持各种使用情形,以提升电视观看体验。值得注意的是,配置文件和设置可以按软件包名称(应用)和输入源 ID 进行管理。此外,配置文件可以由系统应用或允许名单中的其他应用创建。只有商家资料的所有者才能更新或移除商家资料。具体来说,该框架管理画面和声音配置文件。图片参数的示例包括亮度、对比度、清晰度。声音参数的示例包括低音和高音。这些配置文件可应用于各种情境,包括设置全局默认配置文件、通过 MediaCodec 设置流式传输配置文件、为特定媒体应用设置应用默认配置文件,以及为 HDMI 等特定输入源设置电视输入源画面配置文件。该框架还支持状态更改,从而允许为 HDR 等状态使用不同的参数集,管理正在处理的有效画面配置文件,以及处理环境背光功能。
Android 团队正在与我们的生态系统合作伙伴合作,以支持媒体质量框架。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-27。
[null,null,["最后更新时间 (UTC):2025-08-27。"],[],[],null,["The Media Quality framework is being introduced in Android 16 for\nAndroid TV with the objective of establishing a standardized API for Picture\nQuality (PQ) and Audio Quality (AQ) adjustments. The primary goal is to provide\na unified approach to these adjustments across different Android TV devices.\nThis standardized framework aims to simplify development for app developers,\noriginal equipment manufacturers (OEMs), and system-on-chip (SoC) vendors by\noffering a consistent set of Android APIs. For SoC vendors specifically, it\nallows the Android framework to handle PQ and AQ configuration, reducing the\noverhead of collaborating with different application developers.\n\nUltimately, for Google and Android platform, it helps reduce fragmentation,\nimprove quality and scalability, provide new features, and lay the foundation\nfor a Unified AQ/PQ UI and improved user experience.\n\nThe Media Quality framework supports various use cases to enhance the\nTV-watching experience. It is worth noting that profiles and settings can be\nmanaged per package name (app), and per input ID. Additionally, profiles can be\ncreated by system apps, or by other apps that are in the allowlist. Profiles can\nbe updated or removed only by the owner of the profiles. Specifically, the\nframework manages Picture and Sound Profiles. Examples of picture parameters\ninclude brightness, contrast, sharpness. Examples of sound parameters include\nbass and treble. These profiles can be applied in various contexts, including\nsetting global default profiles, streaming profiles via MediaCodec, setting app\ndefault profiles for specific media apps, and setting TV input picture profiles\nfor specific inputs like HDMI. The framework also supports status changes,\nallowing different parameter sets for states like HDR, managing active picture\nprofiles for ongoing processing, and handling ambient backlight features.\n\nThe Android team is working with our ecosystem partners to support Media Quality\nframework."]]