Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype VideoAlignment = VideoAlignment (ManagedPtr VideoAlignment)
- newZeroVideoAlignment :: MonadIO m => m VideoAlignment
- videoAlignmentReset :: (HasCallStack, MonadIO m) => VideoAlignment -> m ()
- getVideoAlignmentPaddingBottom :: MonadIO m => VideoAlignment -> m Word32
- setVideoAlignmentPaddingBottom :: MonadIO m => VideoAlignment -> Word32 -> m ()
- getVideoAlignmentPaddingLeft :: MonadIO m => VideoAlignment -> m Word32
- setVideoAlignmentPaddingLeft :: MonadIO m => VideoAlignment -> Word32 -> m ()
- getVideoAlignmentPaddingRight :: MonadIO m => VideoAlignment -> m Word32
- setVideoAlignmentPaddingRight :: MonadIO m => VideoAlignment -> Word32 -> m ()
- getVideoAlignmentPaddingTop :: MonadIO m => VideoAlignment -> m Word32
- setVideoAlignmentPaddingTop :: MonadIO m => VideoAlignment -> Word32 -> m ()
Exported types
newtype VideoAlignment Source #
Memory-managed wrapper type.
VideoAlignment (ManagedPtr VideoAlignment) |
Instances
Eq VideoAlignment Source # | |
Defined in GI.GstVideo.Structs.VideoAlignment (==) :: VideoAlignment -> VideoAlignment -> Bool # (/=) :: VideoAlignment -> VideoAlignment -> Bool # | |
BoxedPtr VideoAlignment Source # | |
Defined in GI.GstVideo.Structs.VideoAlignment boxedPtrCopy :: VideoAlignment -> IO VideoAlignment boxedPtrFree :: VideoAlignment -> IO () | |
CallocPtr VideoAlignment Source # | |
Defined in GI.GstVideo.Structs.VideoAlignment | |
ManagedPtrNewtype VideoAlignment Source # | |
Defined in GI.GstVideo.Structs.VideoAlignment toManagedPtr :: VideoAlignment -> ManagedPtr VideoAlignment | |
tag ~ 'AttrSet => Constructible VideoAlignment tag Source # | |
Defined in GI.GstVideo.Structs.VideoAlignment 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
reset
:: (HasCallStack, MonadIO m) | |
=> 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 ]