Convert common X11 capture formats directly to I420
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start with the X11 conversion in rs/moq-video/src/capture/x11.rs and the direct I420 converter in rs/moq-video/src/frame.rs; check how the converter is gated by the PipeWire feature. Compare the X11 input masks, byte order, and stride with the converter’s expected layout, then run just rs x11-bench-ci. Done means matching output for saturated colors and padded rows, with capture-to-I420 timings reported at each resolution for MIT-SHM and GetImage, including the capture-only build.
索引モデルが issue の本文から書いたものです。
説明
On the ARM64 Xvfb Nightly, unpacking 32 1080p frames into a reused RGB buffer took 390.4 ms, or 12.2 ms per frame. The previous run measured 389.5 ms. In a separate end-to-end test on the same runners, dynamic 1080p capture with MIT-SHM and the cursor hidden took 13.6 and 13.8 ms per frame at the median. A 60 fps source has 16.7 ms between frames. Allocating a fresh RGB buffer barely moved the conversion benchmark in either run. Nightly capture log · Previous Nightly · Benchmark definitions
X11 reconstructs each pixel from its bytes and scales three masked channels into packed RGB. A second pass converts that buffer to I420. PipeWire already passes compatible BGRx/BGRA input and its row stride to a direct I420 converter in the same crate. The helper currently builds only with the PipeWire feature. X11 conversion · Existing converter
Select the direct converter when the negotiated masks, byte order and stride match. Start with the hidden-cursor path and measure cursor compositing separately. Keep the generic conversion for the other TrueColor layouts. Compare the output against the current conversion using saturated colors and padded rows as well as the existing black-and-white pattern. Rerun just rs x11-bench-ci and report capture-to-I420 time at each resolution for MIT-SHM and GetImage, including the capture-only build.
(Written by GPT-6.2 Astra with xhigh)
- 主要言語
- Rust
- スター
- 1.6k
- フォーク
- 251
- 平均マージ
- 10時間 10分
- マージ済み PR(30日)
- 832
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
moq-dev/moq のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsotto/sotto-authenticator#139 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
registrystack/registry-stack#2924 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
foundry-rs/starknet-foundry#4733 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100