gi-gstvideo-1.0.23: 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.Interfaces.VideoOrientation

Description

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

Synopsis

Exported types

newtype VideoOrientation Source #

Memory-managed wrapper type.

Constructors

VideoOrientation (ManagedPtr VideoOrientation) 

Instances

Instances details
Eq VideoOrientation Source # 
Instance details

Defined in GI.GstVideo.Interfaces.VideoOrientation

BoxedPtr VideoOrientation Source # 
Instance details

Defined in GI.GstVideo.Interfaces.VideoOrientation

ManagedPtrNewtype VideoOrientation Source # 
Instance details

Defined in GI.GstVideo.Interfaces.VideoOrientation

class (ManagedPtrNewtype o, IsDescendantOf VideoOrientation o) => IsVideoOrientation o Source #

Type class for types which implement VideoOrientation.

Instances

Instances details
(ManagedPtrNewtype o, IsDescendantOf VideoOrientation o) => IsVideoOrientation o Source # 
Instance details

Defined in GI.GstVideo.Interfaces.VideoOrientation

Methods

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