gi-gstvideo-1.0.21: GStreamerVideo bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Interfaces.VideoOrientation

Contents

Description

The interface allows unified access to control flipping and autocenter operation of video-sources or operators.

Synopsis

Exported types

Methods

getHcenter

videoOrientationGetHcenter Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> m (Bool, Int32)

Returns: True in case the element supports centering

Get the horizontal centering offset from the given object.

getHflip

videoOrientationGetHflip Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> m (Bool, Bool)

Returns: True in case the element supports flipping

Get the horizontal flipping state (True for flipped) from the given object.

getVcenter

videoOrientationGetVcenter Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> m (Bool, Int32)

Returns: True in case the element supports centering

Get the vertical centering offset from the given object.

getVflip

videoOrientationGetVflip Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> m (Bool, Bool)

Returns: True in case the element supports flipping

Get the vertical flipping state (True for flipped) from the given object.

setHcenter

videoOrientationSetHcenter Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> Int32

center: centering offset

-> m Bool

Returns: True in case the element supports centering

Set the horizontal centering offset for the given object.

setHflip

videoOrientationSetHflip Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> Bool

flip: use flipping

-> m Bool

Returns: True in case the element supports flipping

Set the horizontal flipping state (True for flipped) for the given object.

setVcenter

videoOrientationSetVcenter Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> Int32

center: centering offset

-> m Bool

Returns: True in case the element supports centering

Set the vertical centering offset for the given object.

setVflip

videoOrientationSetVflip Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoOrientation a) 
=> a

videoOrientation: VideoOrientation interface of a Element

-> Bool

flip: use flipping

-> m Bool

Returns: True in case the element supports flipping

Set the vertical flipping state (True for flipped) for the given object.