gi-gstbase-1.0.13: GStreamerBase 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.GstBase.Callbacks

Contents

Description

 

Synopsis

Signals

CollectDataDestroyNotify

CollectPadsBufferFunction

dynamic_CollectPadsBufferFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsBufferFunction 
-> a

pads: the CollectPads that triggered the callback

-> CollectData

data: the CollectData of pad that has received the buffer

-> Buffer

buffer: the Buffer

-> Ptr ()

userData: user data passed to collectPadsSetBufferFunction

-> m FlowReturn

Returns: FlowReturnOk for success

CollectPadsClipFunction

dynamic_CollectPadsClipFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsClipFunction 
-> a

pads: a CollectPads

-> CollectData

data: a CollectData

-> Buffer

inbuffer: the input Buffer

-> Buffer

outbuffer: the output Buffer

-> Ptr ()

userData: user data

-> m FlowReturn

Returns: a FlowReturn that corresponds to the result of clipping.

CollectPadsCompareFunction

dynamic_CollectPadsCompareFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsCompareFunction 
-> a

pads: the CollectPads that is comparing the timestamps

-> CollectData

data1: the first CollectData

-> Word64

timestamp1: the first timestamp

-> CollectData

data2: the second CollectData

-> Word64

timestamp2: the second timestamp

-> Ptr ()

userData: user data passed to collectPadsSetCompareFunction

-> m Int32

Returns: Integer less than zero when first timestamp is deemed older than the second one. Zero if the timestamps are deemed equally old. Integer greater than zero when second timestamp is deemed older than the first one.

CollectPadsEventFunction

dynamic_CollectPadsEventFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsEventFunction 
-> a

pads: the CollectPads that triggered the callback

-> CollectData

pad: the Pad that received an event

-> Event

event: the Event received

-> Ptr ()

userData: user data passed to collectPadsSetEventFunction

-> m Bool

Returns: True if the pad could handle the event

CollectPadsFlushFunction

dynamic_CollectPadsFlushFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsFlushFunction 
-> a

pads: a CollectPads

-> Ptr ()

userData: user data

-> m () 

CollectPadsFunction

dynamic_CollectPadsFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsFunction 
-> a

pads: the CollectPads that triggered the callback

-> Ptr ()

userData: user data passed to collectPadsSetFunction

-> m FlowReturn

Returns: FlowReturnOk for success

CollectPadsQueryFunction

dynamic_CollectPadsQueryFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsCollectPads a) 
=> FunPtr C_CollectPadsQueryFunction 
-> a

pads: the CollectPads that triggered the callback

-> CollectData

pad: the Pad that received an event

-> Query

query: the Event received

-> Ptr ()

userData: user data passed to collectPadsSetQueryFunction

-> m Bool

Returns: True if the pad could handle the event

DataQueueEmptyCallback

DataQueueFullCallback

TypeFindHelperGetRangeFunction

dynamic_TypeFindHelperGetRangeFunction Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a, IsObject b) 
=> FunPtr C_TypeFindHelperGetRangeFunction 
-> a

obj: a Object that will handle the getrange request

-> Maybe b

parent: the parent of obj or Nothing

-> Word64

offset: the offset of the range

-> Word32

length: the length of the range

-> Buffer

buffer: a memory location to hold the result buffer

-> m FlowReturn

Returns: GST_FLOW_OK for success