Convert common X11 capture formats directly to I420
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- audio-video-rtc, performance
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 832
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Bump the quest flake input past kixel-ai/quest#1202 (Codex reviews use the config's gateway)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Mobile release verification reports missing build inputs with a custom Cargo target directoryAbiertobug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsotto/sotto-authenticator#139 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
registrystack/registry-stack#2924 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
foundry-rs/starknet-foundry#4733 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100