videoTileGetIndex

fnuint videoTileGetIndex(gstvideo.types.VideoTileMode mode, int x, int y, int xTiles, int yTiles)

Get the tile index of the tile at coordinates x and y in the tiled image of x_tiles by y_tiles.

Use this method when mode is of type [gstvideo.types.VideoTileType.Indexed].

Parameters

modea #GstVideoTileMode
xx coordinate
yy coordinate
xTilesnumber of horizintal tiles
yTilesnumber of vertical tiles

Returns

the index of the tile at x and y in the tiled image of

x_tiles by y_tiles.