how to add the support for the odd number of pixels in tile pixel formats(synaptics videosmart)

Nicolas Dufresne nicolas at ndufresne.ca
Wed Nov 9 14:24:32 UTC 2022


Hi Hsia-Jun Li,

Le lundi 07 novembre 2022 à 20:07 -0500, Nicolas Dufresne a écrit :
> 
> 
> Le dim. 6 nov. 2022, 23 h 15, Hsia-Jun Li via gstreamer-devel
> <gstreamer-devel at lists.freedesktop.org> a écrit :
> > Hello
> > 
> > I am trying to add the tile pixel formats for synaptics platform, the 
> > pixel definition could be found:
> > https://lore.kernel.org/all/20221101100448.66712-2-randy.li@synaptics.com/
> > 
> > I think I can't use the tile_ws here, the tiles are in 1x4 or 3x4. The 
> > number is odd not even. Could I leave both tile_ws and tile_hs in 0 here?
> 
> Only power of two are supported. It seems like these should be opaque formats
> under the umbrella of the new dmabufs drm modifiers design. Helpers are yet to
> be implemented there, it's unlikely to make it for 1.22.

Second thought on these, if we want to keep software conversion, its mostly
useful for conformance testing, we should introduce a tiles_size on the format,
that would deprecate usage of tile_ws and tile_hs. The tile size should be per
plane for flexibility.

> 
> 
> > 
> > I wonder what I should do to apply this document?
> > https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-docs/markdown/additional/design/dmabuf.md
> > 
> > I think the current GstVideoFormatInfo struct didn't support this type 
> > of format. Any idea early stages I could try here?
> > 



More information about the gstreamer-devel mailing list