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 |
This meta is primarily for internal use in GStreamer elements to support VP8/VP9 transparent video stored into WebM or Matroska containers, or transparent static AV1 images. Nothing prevents you from using this meta for custom purposes, but it generally can't be used to easily to add support for alpha channels to CODECs or formats that don't support that out of the box.
Since: 1.20
Synopsis
- newtype VideoCodecAlphaMeta = VideoCodecAlphaMeta (ManagedPtr VideoCodecAlphaMeta)
- newZeroVideoCodecAlphaMeta :: MonadIO m => m VideoCodecAlphaMeta
- videoCodecAlphaMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo
- clearVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> m ()
- getVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> m (Maybe Buffer)
- setVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> Ptr Buffer -> m ()
- getVideoCodecAlphaMetaMeta :: MonadIO m => VideoCodecAlphaMeta -> m Meta
Exported types
newtype VideoCodecAlphaMeta Source #
Memory-managed wrapper type.
Instances
Eq VideoCodecAlphaMeta Source # | |
Defined in GI.GstVideo.Structs.VideoCodecAlphaMeta (==) :: VideoCodecAlphaMeta -> VideoCodecAlphaMeta -> Bool # (/=) :: VideoCodecAlphaMeta -> VideoCodecAlphaMeta -> Bool # | |
BoxedPtr VideoCodecAlphaMeta Source # | |
Defined in GI.GstVideo.Structs.VideoCodecAlphaMeta boxedPtrCopy :: VideoCodecAlphaMeta -> IO VideoCodecAlphaMeta # boxedPtrFree :: VideoCodecAlphaMeta -> IO () # | |
CallocPtr VideoCodecAlphaMeta Source # | |
Defined in GI.GstVideo.Structs.VideoCodecAlphaMeta | |
ManagedPtrNewtype VideoCodecAlphaMeta Source # | |
tag ~ 'AttrSet => Constructible VideoCodecAlphaMeta tag Source # | |
Defined in GI.GstVideo.Structs.VideoCodecAlphaMeta new :: MonadIO m => (ManagedPtr VideoCodecAlphaMeta -> VideoCodecAlphaMeta) -> [AttrOp VideoCodecAlphaMeta tag] -> m VideoCodecAlphaMeta # |
newZeroVideoCodecAlphaMeta :: MonadIO m => m VideoCodecAlphaMeta Source #
Construct a VideoCodecAlphaMeta
struct initialized to zero.
Methods
getInfo
videoCodecAlphaMetaGetInfo Source #
:: (HasCallStack, MonadIO m) | |
=> m MetaInfo | Returns: |
No description available in the introspection data.
Since: 1.20
Properties
buffer
the encoded alpha frame
clearVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> m () Source #
Set the value of the “buffer
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#buffer
getVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> m (Maybe Buffer) Source #
Get the value of the “buffer
” field.
When overloading is enabled, this is equivalent to
get
videoCodecAlphaMeta #buffer
setVideoCodecAlphaMetaBuffer :: MonadIO m => VideoCodecAlphaMeta -> Ptr Buffer -> m () Source #
Set the value of the “buffer
” field.
When overloading is enabled, this is equivalent to
set
videoCodecAlphaMeta [ #buffer:=
value ]
meta
parent Meta
getVideoCodecAlphaMetaMeta :: MonadIO m => VideoCodecAlphaMeta -> m Meta Source #
Get the value of the “meta
” field.
When overloading is enabled, this is equivalent to
get
videoCodecAlphaMeta #meta