macOS: pick the YCbCr matrix per buffer instead of hard-coding BT.709

已關閉
#1,420 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
72/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
electron, rust

研究方向

Start with crates/compositor/src/shaders.metal and trace how sample_yuv receives the buffer marker and applies its coefficients. Find where the buffer's YCbCr matrix attachment is available and how matrix selection is represented in the compositor. Done when buffers using BT.601 and BT.709 render with the matrix indicated by their attachment.

由索引模型根據 Issue 內容生成。

描述

On macOS, sample_yuv in crates/compositor/src/shaders.metal always applies BT.709 coefficients. The buffer marker only selects the range, so a BT.601 VideoToolbox buffer renders with slightly wrong hues. The matrix should come from each buffer's YCbCr matrix attachment.

Pre-existing; spotted by CodeRabbit while reviewing #1408. Refs #1408

主要語言
TypeScript
星號
3.7k
分支
231
平均合併
15 小時 55 分鐘
30 天內合併 PR
291

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getopenscreen/openscreen 的其他 Issue

查看 getopenscreen/openscreen 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。