Re: [weston] gl-renderer: add support of WL_SHM_FORMAT_YUV420

2016-08-05 Thread Vincent ABRIOU
Hi Daniel, Coming back to the asymmetrical subsampling... I am now able too support NV12 SHM pixel format and you are right about the subsampling which is not assymmetrical at all :). I willl send a new series of patches to support both I420 and NV12 taking into account your comments. We can ab

Re: [weston] gl-renderer: add support of WL_SHM_FORMAT_YUV420

2016-08-04 Thread Vincent ABRIOU
Hi Daniel, On 08/04/2016 04:32 PM, Daniel Stone wrote: > Hi Vincent, > > On 4 August 2016 at 14:35, Vincent Abriou wrote: >> This patch allow weston to accept WL_SHM_FORMAT_YUV420 buffers. >> >> In a gstreamer pipeline, the support of the WL_SHM_FORMAT_YUV420 by >> weston avoid pixel conversion b

Re: [weston] gl-renderer: add support of WL_SHM_FORMAT_YUV420

2016-08-04 Thread Daniel Stone
Hi Vincent, On 4 August 2016 at 14:35, Vincent Abriou wrote: > This patch allow weston to accept WL_SHM_FORMAT_YUV420 buffers. > > In a gstreamer pipeline, the support of the WL_SHM_FORMAT_YUV420 by > weston avoid pixel conversion between software decoders and waylandsink. > Indeed, software deco

[weston] gl-renderer: add support of WL_SHM_FORMAT_YUV420

2016-08-04 Thread Vincent Abriou
This patch allow weston to accept WL_SHM_FORMAT_YUV420 buffers. In a gstreamer pipeline, the support of the WL_SHM_FORMAT_YUV420 by weston avoid pixel conversion between software decoders and waylandsink. Indeed, software decoders output I420 (YUV420 planar) that will match with WL_SHM_FORMAT_YUV4