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.VideoCodecFrame

Contents

Description

A VideoCodecFrame represents a video frame both in raw and encoded form.

Synopsis

Exported types

newtype VideoCodecFrame Source #

Instances

BoxedObject VideoCodecFrame Source # 
(~) AttrOpTag tag AttrSet => Constructible VideoCodecFrame tag Source # 
((~) * info (ResolveVideoCodecFrameMethod t VideoCodecFrame), MethodInfo * info VideoCodecFrame p) => IsLabel t (VideoCodecFrame -> p) Source # 
((~) * info (ResolveVideoCodecFrameMethod t VideoCodecFrame), MethodInfo * info VideoCodecFrame p) => IsLabelProxy t (VideoCodecFrame -> p) Source # 
HasAttributeList * VideoCodecFrame Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * VideoCodecFrameUnrefMethodInfo VideoCodecFrame signature Source # 
((~) * signature (DestroyNotify -> m ()), MonadIO m) => MethodInfo * VideoCodecFrameSetUserDataMethodInfo VideoCodecFrame signature Source # 
((~) * signature (m VideoCodecFrame), MonadIO m) => MethodInfo * VideoCodecFrameRefMethodInfo VideoCodecFrame signature Source # 
((~) * signature (m (Ptr ())), MonadIO m) => MethodInfo * VideoCodecFrameGetUserDataMethodInfo VideoCodecFrame signature Source # 
type AttributeList VideoCodecFrame Source # 

newZeroVideoCodecFrame :: MonadIO m => m VideoCodecFrame Source #

Construct a VideoCodecFrame struct initialized to zero.

Methods

getUserData

videoCodecFrameGetUserData Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecFrame

frame: a VideoCodecFrame

-> m (Ptr ())

Returns: The previously set user_data

Gets private data set on the frame by the subclass via videoCodecFrameSetUserData previously.

ref

videoCodecFrameRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecFrame

frame: a VideoCodecFrame

-> m VideoCodecFrame

Returns: buf

Increases the refcount of the given frame by one.

setUserData

videoCodecFrameSetUserData Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecFrame

frame: a VideoCodecFrame

-> DestroyNotify

notify: a DestroyNotify

-> m () 

Sets userData on the frame and the DestroyNotify that will be called when the frame is freed. Allows to attach private data by the subclass to frames.

If a userData was previously set, then the previous set notify will be called before the userData is replaced.

unref

videoCodecFrameUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoCodecFrame

frame: a VideoCodecFrame

-> m () 

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

Properties

deadline

decodeFrameNumber

distanceFromSync

dts

duration

inputBuffer

outputBuffer

presentationFrameNumber

pts

systemFrameNumber