Files
go-gst/gst/video/gst_video_tile.go

25 lines
956 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package video
/*
#include <gst/video/video.h>
*/
import "C"
// TileMode is an enum value describing the available tiling modes.
type TileMode int
// Type castings
const (
TileModeUnknown TileMode = C.GST_VIDEO_TILE_MODE_UNKNOWN // (0) Unknown or unset tile mode
TileModeZFlipZ2X2 TileMode = C.GST_VIDEO_TILE_MODE_ZFLIPZ_2X2 // (65536) Every four adjacent blocks - two horizontally and two vertically are grouped together and are located in memory in Z or flipped Z order. In case of odd rows, the last row of blocks is arranged in linear order.
TileModeLinear TileMode = C.GST_VIDEO_TILE_MODE_LINEAR // (131072) Tiles are in row order.
)
// TileType is an enum value describing the most common tiling types.
type TileType int
// Type castings
const (
TileTypeIndexed TileType = C.GST_VIDEO_TILE_TYPE_INDEXED // (0) Tiles are indexed. Use gst_video_tile_get_index () to retrieve the tile at the requested coordinates.
)