| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| 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
- newtype VideoDirection = VideoDirection (ManagedPtr VideoDirection)
- noVideoDirection :: Maybe VideoDirection
- class GObject 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) |
noVideoDirection :: Maybe VideoDirection Source #
A convenience alias for Nothing :: Maybe VideoDirection.
class GObject o => IsVideoDirection o Source #
Type class for types which can be safely cast to VideoDirection, for instance with toVideoDirection.
Instances
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.
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
setvideoDirection [ #videoDirection:=value ]