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

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

Click to display all available methods, including inherited ones

Expand

Methods

None.

Getters

getHcenter, getHflip, getVcenter, getVflip.

Setters

setHcenter, setHflip, setVcenter, setVflip.

fromTag

videoOrientationFromTag Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TagList

taglist: A TagList

-> m (Bool, VideoOrientationMethod)

Returns: TRUE if there was a valid "image-orientation" tag in the taglist.

Parses the "image-orientation" tag and transforms it into the VideoOrientationMethod enum.

Since: 1.20

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.