media decode and 2d composition daniel stone http
play

media decode and 2D composition Daniel Stone http://fooishbar.org - PowerPoint PPT Presentation

media decode and 2D composition Daniel Stone http://fooishbar.org not dmabuf ... presentation issues for media formats atomicity timing misc current video state of the art combine EGLImage and OpenMAX display with GLES, or X11's Xv EGL


  1. media decode and 2D composition Daniel Stone http://fooishbar.org

  2. not dmabuf ...

  3. presentation issues for media

  4. formats atomicity timing misc

  5. current video state of the art combine EGLImage and OpenMAX display with GLES, or X11's Xv

  6. EGL is a disaster image_external prevents useful scaling no timing information conversion/ fi ltering not as good as overlays

  7. let's use overlays everywhere (or planes, sprites, cursors) ... but how?

  8. format negotiation how hard can it be?

  9. GStreamer: MIME type and FourCC V4L: FourCC DRM: di ff erent FourCC

  10. Wayland formats are per-protocol e.g. wl_drm uses DRM FourCC

  11. esoteric tiled planar YUV YUV full vs. clamped range RGB colourspaces MIME type is really handy for these

  12. atomicity think: scrolling content with video

  13. Wayland supports this with subsurfaces 'lock' a surface tree for atomic updates

  14. KMS nuclear page fl ip implementation extant, not merged next steps unclear

  15. timing queuing / feedback / domains

  16. accuracy is crucial in media/broadcast one frame out every 24 hours

  17. queuing provide list of future fl ips & target times cancel queued fl ips (requires event) or supercede / revise?

  18. some hardware provides a 'carousel' automatic switching between slots every 16ms cannot reliably implement this w/o carousel frame miss penalty: jump backwards

  19. prior art: EGL_NV_present_video target timing ranges arbitrary range of 'video slots' only GLX/WGL

  20. nothing in Wayland or KMS for this (yet) nuclear page fl ip could be a good base?

  21. feedback assuming the worst: we will miss sometimes crucial to mitigate impact

  22. current DRM vblank events su ffi ce work underway in Wayland EGL has none at all (and no events)

  23. domains which time domain do we use? hardware time bases are useless w/o query light queryable timer required for A/V sync

  24. currently require CLOCK_MONOTONIC would be brilliant to get hw timers ...

  25. wildcard: colourkeying falling back when you open a menu sucks required for STB

  26. wildcard: interlaced video ?! perhaps nuclear page fl ip again?

  27. wildcard: sync/fences discussed tomorrow in Android Graphics need query/event to avoid blocking compositor

  28. wildcard: carousels strict 16ms switching between slots

  29. thanks

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend