Skip to content

[API] video: Add arbitrary tile dimensions support

In current tile representation, only tiles with power of two width and height in bytes are supported. This limitation prevents adding more complex tiles formats.

In this patch, we deprecate tile_ws and tile_hs from GstVideoFormatInfo and replace if with an array of GstVideoTileInfo. Each plane tiles are then described with their pixels width/height, line stride and total size. The helper gst_video_format_info_get_tile_sizes() that depends on the deprecated API is also being removed. This can simply be removed as it wasn't in any stable release yet.

NOTE: This change will not be possible passed 1.22 release, since it deprecated fundamental parameter needed by the gst_video_format_get_tile_size() helper function.

Merge request reports