gi-gstvideo-1.0.28: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoTileInfo

Description

Description of a tile. This structure allow to describe arbitrary tile dimensions and sizes.

Since: 1.22

Synopsis

Exported types

newtype VideoTileInfo Source #

Memory-managed wrapper type.

Constructors

VideoTileInfo (ManagedPtr VideoTileInfo) 

Instances

Instances details
Eq VideoTileInfo Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTileInfo

BoxedPtr VideoTileInfo Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTileInfo

CallocPtr VideoTileInfo Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTileInfo

ManagedPtrNewtype VideoTileInfo Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTileInfo

Methods

toManagedPtr :: VideoTileInfo -> ManagedPtr VideoTileInfo

tag ~ 'AttrSet => Constructible VideoTileInfo tag Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTileInfo

Methods

new :: MonadIO m => (ManagedPtr VideoTileInfo -> VideoTileInfo) -> [AttrOp VideoTileInfo tag] -> m VideoTileInfo

newZeroVideoTileInfo :: MonadIO m => m VideoTileInfo Source #

Construct a VideoTileInfo struct initialized to zero.

Methods

Properties

height

No description available in the introspection data.

getVideoTileInfoHeight :: MonadIO m => VideoTileInfo -> m Word32 Source #

Get the value of the “height” field. When overloading is enabled, this is equivalent to

get videoTileInfo #height

setVideoTileInfoHeight :: MonadIO m => VideoTileInfo -> Word32 -> m () Source #

Set the value of the “height” field. When overloading is enabled, this is equivalent to

set videoTileInfo [ #height := value ]

size

The size in bytes of a tile. This value must be divisible by VideoTileInfo.stride.

Since: 1.22

getVideoTileInfoSize :: MonadIO m => VideoTileInfo -> m Word32 Source #

Get the value of the “size” field. When overloading is enabled, this is equivalent to

get videoTileInfo #size

setVideoTileInfoSize :: MonadIO m => VideoTileInfo -> Word32 -> m () Source #

Set the value of the “size” field. When overloading is enabled, this is equivalent to

set videoTileInfo [ #size := value ]

stride

The stride (in bytes) of a tile line. Regardless if the tile have sub-tiles this stride multiplied by the height should be equal to VideoTileInfo.size. This value is used to translate into linear stride when older APIs are being used to expose this format.

Since: 1.22

getVideoTileInfoStride :: MonadIO m => VideoTileInfo -> m Word32 Source #

Get the value of the “stride” field. When overloading is enabled, this is equivalent to

get videoTileInfo #stride

setVideoTileInfoStride :: MonadIO m => VideoTileInfo -> Word32 -> m () Source #

Set the value of the “stride” field. When overloading is enabled, this is equivalent to

set videoTileInfo [ #stride := value ]

width

The width in pixels of a tile. This value can be zero if the number of pixels per line is not an integer value.

Since: 1.22

getVideoTileInfoWidth :: MonadIO m => VideoTileInfo -> m Word32 Source #

Get the value of the “width” field. When overloading is enabled, this is equivalent to

get videoTileInfo #width

setVideoTileInfoWidth :: MonadIO m => VideoTileInfo -> Word32 -> m () Source #

Set the value of the “width” field. When overloading is enabled, this is equivalent to

set videoTileInfo [ #width := value ]