gi-gstvideo-1.0.22: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
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

newZeroVideoAlignment :: MonadIO m => m VideoAlignment Source #

Construct a VideoAlignment struct initialized to zero.

Methods

Overloaded methods

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 ]