| 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.Objects.VideoAggregatorPad
Description
No description available in the introspection data.
Synopsis
- newtype VideoAggregatorPad = VideoAggregatorPad (ManagedPtr VideoAggregatorPad)
- class (GObject o, IsDescendantOf VideoAggregatorPad o) => IsVideoAggregatorPad o
- toVideoAggregatorPad :: (MonadIO m, IsVideoAggregatorPad o) => o -> m VideoAggregatorPad
- noVideoAggregatorPad :: Maybe VideoAggregatorPad
- videoAggregatorPadGetCurrentBuffer :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) => a -> m Buffer
- videoAggregatorPadGetPreparedFrame :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) => a -> m VideoFrame
- videoAggregatorPadHasCurrentBuffer :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) => a -> m Bool
- videoAggregatorPadSetNeedsAlpha :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) => a -> Bool -> m ()
- constructVideoAggregatorPadRepeatAfterEos :: IsVideoAggregatorPad o => Bool -> IO (GValueConstruct o)
- getVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> m Bool
- setVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> Bool -> m ()
- constructVideoAggregatorPadZorder :: IsVideoAggregatorPad o => Word32 -> IO (GValueConstruct o)
- getVideoAggregatorPadZorder :: (MonadIO m, IsVideoAggregatorPad o) => o -> m Word32
- setVideoAggregatorPadZorder :: (MonadIO m, IsVideoAggregatorPad o) => o -> Word32 -> m ()
Exported types
newtype VideoAggregatorPad Source #
Memory-managed wrapper type.
Constructors
| VideoAggregatorPad (ManagedPtr VideoAggregatorPad) |
Instances
| Eq VideoAggregatorPad Source # | |
Defined in GI.GstVideo.Objects.VideoAggregatorPad Methods (==) :: VideoAggregatorPad -> VideoAggregatorPad -> Bool # (/=) :: VideoAggregatorPad -> VideoAggregatorPad -> Bool # | |
| GObject VideoAggregatorPad Source # | |
Defined in GI.GstVideo.Objects.VideoAggregatorPad Methods gobjectType :: IO GType # | |
| IsGValue VideoAggregatorPad Source # | Convert |
Defined in GI.GstVideo.Objects.VideoAggregatorPad | |
| HasParentTypes VideoAggregatorPad Source # | |
Defined in GI.GstVideo.Objects.VideoAggregatorPad | |
| type ParentTypes VideoAggregatorPad Source # | |
Defined in GI.GstVideo.Objects.VideoAggregatorPad | |
class (GObject o, IsDescendantOf VideoAggregatorPad o) => IsVideoAggregatorPad o Source #
Type class for types which can be safely cast to VideoAggregatorPad, for instance with toVideoAggregatorPad.
Instances
| (GObject o, IsDescendantOf VideoAggregatorPad o) => IsVideoAggregatorPad o Source # | |
Defined in GI.GstVideo.Objects.VideoAggregatorPad | |
toVideoAggregatorPad :: (MonadIO m, IsVideoAggregatorPad o) => o -> m VideoAggregatorPad Source #
Cast to VideoAggregatorPad, for types for which this is known to be safe. For general casts, use castTo.
noVideoAggregatorPad :: Maybe VideoAggregatorPad Source #
A convenience alias for Nothing :: Maybe VideoAggregatorPad.
Methods
Overloaded methods
getCurrentBuffer
videoAggregatorPadGetCurrentBuffer Source #
Arguments
| :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) | |
| => a |
|
| -> m Buffer | Returns: The currently queued buffer |
Returns the currently queued buffer that is going to be used for the current output frame.
This must only be called from the aggregate_frames() virtual method,
or from the prepare_frame() virtual method of the aggregator pads.
The return value is only valid until aggregate_frames() or prepare_frames()
returns.
getPreparedFrame
videoAggregatorPadGetPreparedFrame Source #
Arguments
| :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) | |
| => a |
|
| -> m VideoFrame | Returns: The currently prepared video frame |
Returns the currently prepared video frame that has to be aggregated into the current output frame.
This must only be called from the aggregate_frames() virtual method,
or from the prepare_frame() virtual method of the aggregator pads.
The return value is only valid until aggregate_frames() or prepare_frames()
returns.
hasCurrentBuffer
videoAggregatorPadHasCurrentBuffer Source #
Arguments
| :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) | |
| => a |
|
| -> m Bool | Returns: |
Checks if the pad currently has a buffer queued that is going to be used for the current output frame.
This must only be called from the aggregate_frames() virtual method,
or from the prepare_frame() virtual method of the aggregator pads.
setNeedsAlpha
videoAggregatorPadSetNeedsAlpha Source #
Arguments
| :: (HasCallStack, MonadIO m, IsVideoAggregatorPad a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Allows selecting that this pad requires an output format with alpha
Properties
repeatAfterEos
No description available in the introspection data.
constructVideoAggregatorPadRepeatAfterEos :: IsVideoAggregatorPad o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “repeat-after-eos” property. This is rarely needed directly, but it is used by new.
getVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> m Bool Source #
Get the value of the “repeat-after-eos” property.
When overloading is enabled, this is equivalent to
get videoAggregatorPad #repeatAfterEos
setVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> Bool -> m () Source #
Set the value of the “repeat-after-eos” property.
When overloading is enabled, this is equivalent to
setvideoAggregatorPad [ #repeatAfterEos:=value ]
zorder
No description available in the introspection data.
constructVideoAggregatorPadZorder :: IsVideoAggregatorPad o => Word32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “zorder” property. This is rarely needed directly, but it is used by new.
getVideoAggregatorPadZorder :: (MonadIO m, IsVideoAggregatorPad o) => o -> m Word32 Source #
Get the value of the “zorder” property.
When overloading is enabled, this is equivalent to
get videoAggregatorPad #zorder
setVideoAggregatorPadZorder :: (MonadIO m, IsVideoAggregatorPad o) => o -> Word32 -> m () Source #
Set the value of the “zorder” property.
When overloading is enabled, this is equivalent to
setvideoAggregatorPad [ #zorder:=value ]