gi-gstvideo-1.0.28: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoCodecAlphaMeta

Description

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

Exported types

newZeroVideoCodecAlphaMeta :: MonadIO m => m VideoCodecAlphaMeta Source #

Construct a VideoCodecAlphaMeta struct initialized to zero.

Methods

getInfo

videoCodecAlphaMetaGetInfo Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m MetaInfo

Returns: MetaInfo pointer that describes VideoCodecAlphaMeta.

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