Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.GstVideo.Interfaces.VideoDirection
Description
The interface allows unified access to control flipping and rotation operations of video-sources or operators.
Since: 1.10
Synopsis
- newtype VideoDirection = VideoDirection (ManagedPtr VideoDirection)
- noVideoDirection :: Maybe VideoDirection
- class (GObject o, IsDescendantOf VideoDirection o) => IsVideoDirection o
- toVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> m VideoDirection
- constructVideoDirectionVideoDirection :: IsVideoDirection o => VideoOrientationMethod -> IO (GValueConstruct o)
- getVideoDirectionVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> m VideoOrientationMethod
- setVideoDirectionVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> VideoOrientationMethod -> m ()
Exported types
newtype VideoDirection Source #
Memory-managed wrapper type.
Constructors
VideoDirection (ManagedPtr VideoDirection) |
Instances
Eq VideoDirection Source # | |
Defined in GI.GstVideo.Interfaces.VideoDirection Methods (==) :: VideoDirection -> VideoDirection -> Bool # (/=) :: VideoDirection -> VideoDirection -> Bool # | |
GObject VideoDirection Source # | |
Defined in GI.GstVideo.Interfaces.VideoDirection Methods gobjectType :: IO GType # | |
IsGValue VideoDirection Source # | Convert |
Defined in GI.GstVideo.Interfaces.VideoDirection | |
HasParentTypes VideoDirection Source # | |
Defined in GI.GstVideo.Interfaces.VideoDirection | |
type ParentTypes VideoDirection Source # | |
Defined in GI.GstVideo.Interfaces.VideoDirection |
noVideoDirection :: Maybe VideoDirection Source #
A convenience alias for Nothing
:: Maybe
VideoDirection
.
class (GObject o, IsDescendantOf VideoDirection o) => IsVideoDirection o Source #
Type class for types which can be safely cast to VideoDirection
, for instance with toVideoDirection
.
Instances
(GObject o, IsDescendantOf VideoDirection o) => IsVideoDirection o Source # | |
Defined in GI.GstVideo.Interfaces.VideoDirection |
toVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> m VideoDirection Source #
Cast to VideoDirection
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
Properties
videoDirection
No description available in the introspection data.
constructVideoDirectionVideoDirection :: IsVideoDirection o => VideoOrientationMethod -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “video-direction
” property. This is rarely needed directly, but it is used by new
.
getVideoDirectionVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> m VideoOrientationMethod Source #
Get the value of the “video-direction
” property.
When overloading is enabled, this is equivalent to
get
videoDirection #videoDirection
setVideoDirectionVideoDirection :: (MonadIO m, IsVideoDirection o) => o -> VideoOrientationMethod -> m () Source #
Set the value of the “video-direction
” property.
When overloading is enabled, this is equivalent to
set
videoDirection [ #videoDirection:=
value ]