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

GI.GstVideo.Structs.VideoConverter

Description

No description available in the introspection data.

Synopsis

Exported types

newtype VideoConverter Source #

Memory-managed wrapper type.

Constructors

VideoConverter (ManagedPtr VideoConverter) 

Instances

Instances details
Eq VideoConverter Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoConverter

BoxedPtr VideoConverter Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoConverter

ManagedPtrNewtype VideoConverter Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoConverter

Methods

Click to display all available methods, including inherited ones

Expand

Methods

frame, free.

Getters

getConfig.

Setters

setConfig.

frame

videoConverterFrame Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoConverter

convert: a VideoConverter

-> VideoFrame

src: a VideoFrame

-> VideoFrame

dest: a VideoFrame

-> m () 

Convert the pixels of src into dest using convert.

Since: 1.6

free

videoConverterFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoConverter

convert: a VideoConverter

-> m () 

Free convert

Since: 1.6

getConfig

videoConverterGetConfig Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoConverter

convert: a VideoConverter

-> m Structure

Returns: a Structure that remains valid for as long as convert is valid or until videoConverterSetConfig is called.

Get the current configuration of convert.

setConfig

videoConverterSetConfig Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoConverter

convert: a VideoConverter

-> Structure

config: a Structure

-> m Bool

Returns: True when config could be set.

Set config as extra configuration for convert.

If the parameters in config can not be set exactly, this function returns False and will try to update as much state as possible. The new state can then be retrieved and refined with videoConverterGetConfig.

Look at the GST_VIDEO_CONVERTER_OPT_* fields to check valid configuration option and values.

Since: 1.6