gi-gstvideo-1.0.12: GStreamerVideo bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoCodecState

Contents

Description

Structure representing the state of an incoming or outgoing video stream for encoders and decoders.

Decoders and encoders will receive such a state through their respective setFormat vmethods.

Decoders and encoders can set the downstream state, by using the gstVideoDecoderSetOutputState() or gstVideoEncoderSetOutputState() methods.

Synopsis

Exported types

newZeroVideoCodecState :: MonadIO m => m VideoCodecState Source #

Construct a VideoCodecState struct initialized to zero.

Methods

ref

videoCodecStateRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecState

state: a VideoCodecState

-> m VideoCodecState

Returns: buf

Increases the refcount of the given state by one.

unref

videoCodecStateUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecState

state: a VideoCodecState

-> m () 

Decreases the refcount of the state. If the refcount reaches 0, the state will be freed.

Properties

allocationCaps

caps

codecData

info