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 |
No description available in the introspection data.
Since: 1.16
Synopsis
- newtype VideoAggregatorPad = VideoAggregatorPad (ManagedPtr VideoAggregatorPad)
- class (GObject o, IsDescendantOf VideoAggregatorPad o) => IsVideoAggregatorPad o
- toVideoAggregatorPad :: (MonadIO m, IsVideoAggregatorPad o) => o -> m 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, MonadIO m) => Bool -> m (GValueConstruct o)
- getVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> m Bool
- setVideoAggregatorPadRepeatAfterEos :: (MonadIO m, IsVideoAggregatorPad o) => o -> Bool -> m ()
- constructVideoAggregatorPadZorder :: (IsVideoAggregatorPad o, MonadIO m) => Word32 -> m (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.
VideoAggregatorPad (ManagedPtr VideoAggregatorPad) |
Instances
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
.
Methods
Overloaded methods
getCurrentBuffer
videoAggregatorPadGetCurrentBuffer Source #
:: (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 #
:: (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 #
:: (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 #
:: (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, MonadIO m) => Bool -> m (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
set
videoAggregatorPad [ #repeatAfterEos:=
value ]
zorder
No description available in the introspection data.
constructVideoAggregatorPadZorder :: (IsVideoAggregatorPad o, MonadIO m) => Word32 -> m (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
set
videoAggregatorPad [ #zorder:=
value ]