Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The interface allows unified access to control flipping and autocenter operation of video-sources or operators.
Synopsis
- newtype VideoOrientation = VideoOrientation (ManagedPtr VideoOrientation)
- class (ManagedPtrNewtype o, IsDescendantOf VideoOrientation o) => IsVideoOrientation o
- videoOrientationGetHcenter :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> m (Bool, Int32)
- videoOrientationGetHflip :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> m (Bool, Bool)
- videoOrientationGetVcenter :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> m (Bool, Int32)
- videoOrientationGetVflip :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> m (Bool, Bool)
- videoOrientationSetHcenter :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> Int32 -> m Bool
- videoOrientationSetHflip :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> Bool -> m Bool
- videoOrientationSetVcenter :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> Int32 -> m Bool
- videoOrientationSetVflip :: (HasCallStack, MonadIO m, IsVideoOrientation a) => a -> Bool -> m Bool
Exported types
newtype VideoOrientation Source #
Memory-managed wrapper type.
Instances
Eq VideoOrientation Source # | |
Defined in GI.GstVideo.Interfaces.VideoOrientation (==) :: VideoOrientation -> VideoOrientation -> Bool # (/=) :: VideoOrientation -> VideoOrientation -> Bool # | |
BoxedPtr VideoOrientation Source # | |
Defined in GI.GstVideo.Interfaces.VideoOrientation boxedPtrCopy :: VideoOrientation -> IO VideoOrientation # boxedPtrFree :: VideoOrientation -> IO () # | |
ManagedPtrNewtype VideoOrientation Source # | |
class (ManagedPtrNewtype o, IsDescendantOf VideoOrientation o) => IsVideoOrientation o Source #
Type class for types which implement VideoOrientation
.
Instances
(ManagedPtrNewtype o, IsDescendantOf VideoOrientation o) => IsVideoOrientation o Source # | |
Defined in GI.GstVideo.Interfaces.VideoOrientation |
Methods
Click to display all available methods, including inherited ones
getHcenter
videoOrientationGetHcenter Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> m (Bool, Int32) | Returns: |
Get the horizontal centering offset from the given object.
getHflip
videoOrientationGetHflip Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> m (Bool, Bool) | Returns: |
Get the horizontal flipping state (True
for flipped) from the given object.
getVcenter
videoOrientationGetVcenter Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> m (Bool, Int32) | Returns: |
Get the vertical centering offset from the given object.
getVflip
videoOrientationGetVflip Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> m (Bool, Bool) | Returns: |
Get the vertical flipping state (True
for flipped) from the given object.
setHcenter
videoOrientationSetHcenter Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> Int32 |
|
-> m Bool | Returns: |
Set the horizontal centering offset for the given object.
setHflip
videoOrientationSetHflip Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> Bool |
|
-> m Bool | Returns: |
Set the horizontal flipping state (True
for flipped) for the given object.
setVcenter
videoOrientationSetVcenter Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> Int32 |
|
-> m Bool | Returns: |
Set the vertical centering offset for the given object.
setVflip
videoOrientationSetVflip Source #
:: (HasCallStack, MonadIO m, IsVideoOrientation a) | |
=> a |
|
-> Bool |
|
-> m Bool | Returns: |
Set the vertical flipping state (True
for flipped) for the given object.