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 |
Extra data passed to a "gst-copy" transform MetaTransformFunction
.
Synopsis
- newtype MetaTransformCopy = MetaTransformCopy (ManagedPtr MetaTransformCopy)
- newZeroMetaTransformCopy :: MonadIO m => m MetaTransformCopy
- getMetaTransformCopyOffset :: MonadIO m => MetaTransformCopy -> m Word64
- setMetaTransformCopyOffset :: MonadIO m => MetaTransformCopy -> Word64 -> m ()
- getMetaTransformCopyRegion :: MonadIO m => MetaTransformCopy -> m Bool
- setMetaTransformCopyRegion :: MonadIO m => MetaTransformCopy -> Bool -> m ()
- getMetaTransformCopySize :: MonadIO m => MetaTransformCopy -> m Word64
- setMetaTransformCopySize :: MonadIO m => MetaTransformCopy -> Word64 -> m ()
Exported types
newtype MetaTransformCopy Source #
Memory-managed wrapper type.
Instances
Eq MetaTransformCopy Source # | |
Defined in GI.Gst.Structs.MetaTransformCopy (==) :: MetaTransformCopy -> MetaTransformCopy -> Bool # (/=) :: MetaTransformCopy -> MetaTransformCopy -> Bool # | |
BoxedPtr MetaTransformCopy Source # | |
Defined in GI.Gst.Structs.MetaTransformCopy boxedPtrCopy :: MetaTransformCopy -> IO MetaTransformCopy # boxedPtrFree :: MetaTransformCopy -> IO () # | |
CallocPtr MetaTransformCopy Source # | |
Defined in GI.Gst.Structs.MetaTransformCopy | |
ManagedPtrNewtype MetaTransformCopy Source # | |
tag ~ 'AttrSet => Constructible MetaTransformCopy tag Source # | |
Defined in GI.Gst.Structs.MetaTransformCopy new :: MonadIO m => (ManagedPtr MetaTransformCopy -> MetaTransformCopy) -> [AttrOp MetaTransformCopy tag] -> m MetaTransformCopy # |
newZeroMetaTransformCopy :: MonadIO m => m MetaTransformCopy Source #
Construct a MetaTransformCopy
struct initialized to zero.
Methods
Properties
offset
the offset to copy, 0 if region
is False
, otherwise > 0
getMetaTransformCopyOffset :: MonadIO m => MetaTransformCopy -> m Word64 Source #
Get the value of the “offset
” field.
When overloading is enabled, this is equivalent to
get
metaTransformCopy #offset
setMetaTransformCopyOffset :: MonadIO m => MetaTransformCopy -> Word64 -> m () Source #
Set the value of the “offset
” field.
When overloading is enabled, this is equivalent to
set
metaTransformCopy [ #offset:=
value ]
region
True
if only region is copied
getMetaTransformCopyRegion :: MonadIO m => MetaTransformCopy -> m Bool Source #
Get the value of the “region
” field.
When overloading is enabled, this is equivalent to
get
metaTransformCopy #region
setMetaTransformCopyRegion :: MonadIO m => MetaTransformCopy -> Bool -> m () Source #
Set the value of the “region
” field.
When overloading is enabled, this is equivalent to
set
metaTransformCopy [ #region:=
value ]
size
the size to copy, -1 or the buffer size when region
is False
getMetaTransformCopySize :: MonadIO m => MetaTransformCopy -> m Word64 Source #
Get the value of the “size
” field.
When overloading is enabled, this is equivalent to
get
metaTransformCopy #size
setMetaTransformCopySize :: MonadIO m => MetaTransformCopy -> Word64 -> m () Source #
Set the value of the “size
” field.
When overloading is enabled, this is equivalent to
set
metaTransformCopy [ #size:=
value ]