gl-renderer: add support of WL_SHM_FORMAT_YUYV

Graphics / Wayland / Weston - Vincent ABRIOU [st.com] - 21 November 2016 11:47 UTC

This patch allow gl-renderer to accept WL_SHM_FORMAT_YUYV buffers. This is the pixel format supported by most of the USB webcams.

v2:- fix hsub Vs vsub inversion

e5732c7 gl-renderer: add support of WL_SHM_FORMAT_YUYV
libweston/gl-renderer.c | 56 ++++++++++++++++++++++++++++++++---------------
1 file changed, 38 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share