feat(config): add useRgbData config to control RGB preview mode#505
Conversation
Add DConfig option "useRgbData" to control whether YUV frames are converted to RGB for preview rendering. Supports three modes: -1: auto (default, let system decide) 0: force disable 1: force enable 添加DConfig配置项"useRgbData",控制预览时是否将YUV帧数据转换为RGB格式。 支持三态:-1自动判断(默认)、0强制关闭、1强制开启。 Log: 添加RGB预览模式配置项 PMS: BUG-366739 Influence: 通过DConfig配置可强制控制预览RGB数据的使用,便于排查特定机型显示异常问题。
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 // 代码已经非常完善,无需修改。若追求极致性能,可将配置读取移至循环外,但当前实现已足够。 |
|
/merge |
Add DConfig option "useRgbData" to control whether YUV frames are converted to RGB for preview rendering. Supports three modes: -1: auto (default, let system decide)
0: force disable
1: force enable
添加DConfig配置项"useRgbData",控制预览时是否将YUV帧数据转换为RGB格式。
支持三态:-1自动判断(默认)、0强制关闭、1强制开启。
Log: 添加RGB预览模式配置项
PMS: BUG-366739
Influence: 通过DConfig配置可强制控制预览RGB数据的使用,便于排查特定机型显示异常问题。