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.VideoAlignment

Description

Extra alignment parameters for the memory of video buffers. This structure is usually used to configure the bufferpool if it supports the BUFFER_POOL_OPTION_VIDEO_ALIGNMENT.

Synopsis

Exported types

newtype VideoAlignment Source #

Memory-managed wrapper type.

Constructors

VideoAlignment (ManagedPtr VideoAlignment) 

Instances

Instances details
Eq VideoAlignment Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoAlignment

BoxedPtr VideoAlignment Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoAlignment

CallocPtr VideoAlignment Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoAlignment

ManagedPtrNewtype VideoAlignment Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoAlignment

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

Defined in GI.GstVideo.Structs.VideoAlignment

Methods

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

newZeroVideoAlignment :: MonadIO m => m VideoAlignment Source #

Construct a VideoAlignment struct initialized to zero.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

reset.

Getters

None.

Setters

None.

reset

videoAlignmentReset Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoAlignment

align: a VideoAlignment

-> m () 

Set align to its default values with no padding and no alignment.

Properties

paddingBottom

extra pixels on the bottom

getVideoAlignmentPaddingBottom :: MonadIO m => VideoAlignment -> m Word32 Source #

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

get videoAlignment #paddingBottom

setVideoAlignmentPaddingBottom :: MonadIO m => VideoAlignment -> Word32 -> m () Source #

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

set videoAlignment [ #paddingBottom := value ]

paddingLeft

extra pixels on the left side

getVideoAlignmentPaddingLeft :: MonadIO m => VideoAlignment -> m Word32 Source #

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

get videoAlignment #paddingLeft

setVideoAlignmentPaddingLeft :: MonadIO m => VideoAlignment -> Word32 -> m () Source #

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

set videoAlignment [ #paddingLeft := value ]

paddingRight

extra pixels on the right side

getVideoAlignmentPaddingRight :: MonadIO m => VideoAlignment -> m Word32 Source #

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

get videoAlignment #paddingRight

setVideoAlignmentPaddingRight :: MonadIO m => VideoAlignment -> Word32 -> m () Source #

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

set videoAlignment [ #paddingRight := value ]

paddingTop

extra pixels on the top

getVideoAlignmentPaddingTop :: MonadIO m => VideoAlignment -> m Word32 Source #

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

get videoAlignment #paddingTop

setVideoAlignmentPaddingTop :: MonadIO m => VideoAlignment -> Word32 -> m () Source #

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

set videoAlignment [ #paddingTop := value ]