~/talk

Building a Realtime video processor with Swift and Metal

Talkat Mobius 2019 Moscow · 2019-12-07..12-08· [ios, computer-vision]
links:none on file
slides:none on file

An in-house realtime video renderer built for Halide and Spectre uses Swift + Metal with GPU shaders (compute and 3D pipelines), data‑oriented structs shared between CPU and shader headers, and async dispatch; it handles YUV vs RGB conversions, gamma and wide color (Display P3), and memory pressure: 12.5MP ≈ 50MB/frame with a 30 ms frame budget so double/triple buffering is required. Practical wins include downscaling before large blurs and arranging arrays for cache locality; the system ships and powers real apps.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Core rendering loop
  3. 4:18Compute vs 3D pipeline
  4. 11:42When to use each pipeline
  5. 13:27Swift and Metal integration
  6. 15:54Resource management
  7. 17:42Performance considerations
  8. 23:48Data oriented design
  9. 25:32Architecture implications
  10. 31:11Optimizing blur operations
  11. 33:00Displaying images on screen
  12. 33:42YUV color encoding
  13. 38:43Gamma and color precision
  14. 44:25Wide color spaces
  15. 47:16Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.