gi-gstvideo-1.0.14: 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.VideoMeta

Contents

Description

Extra buffer metadata describing image properties

Synopsis

Exported types

newZeroVideoMeta :: MonadIO m => m VideoMeta Source #

Construct a VideoMeta struct initialized to zero.

Methods

getInfo

videoMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #

No description available in the introspection data.

map

videoMetaMap Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMeta

meta: a VideoMeta

-> Word32

plane: a plane

-> MapInfo

info: a MapInfo

-> Ptr ()

data: the data of plane

-> Int32

stride: the stride of plane

-> [MapFlags]

flags: gstMapFlags

-> m Bool

Returns: TRUE if the map operation was successful.

Map the video plane with index plane in meta and return a pointer to the first byte of the plane and the stride of the plane.

unmap

videoMetaUnmap Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMeta

meta: a VideoMeta

-> Word32

plane: a plane

-> MapInfo

info: a MapInfo

-> m Bool

Returns: TRUE if the memory was successfully unmapped.

Unmap a previously mapped plane with videoMetaMap.

Properties

buffer

flags

format

height

id

map

meta

nPlanes

unmap

width