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

GI.GstVideo.Structs.VideoCropMeta

Description

Extra buffer metadata describing image cropping.

Synopsis

Exported types

newtype VideoCropMeta Source #

Memory-managed wrapper type.

Constructors

VideoCropMeta (ManagedPtr VideoCropMeta) 

Instances

Instances details
Eq VideoCropMeta Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoCropMeta

BoxedPtr VideoCropMeta Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoCropMeta

CallocPtr VideoCropMeta Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoCropMeta

ManagedPtrNewtype VideoCropMeta Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoCropMeta

Methods

toManagedPtr :: VideoCropMeta -> ManagedPtr VideoCropMeta

tag ~ 'AttrSet => Constructible VideoCropMeta tag Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoCropMeta

Methods

new :: MonadIO m => (ManagedPtr VideoCropMeta -> VideoCropMeta) -> [AttrOp VideoCropMeta tag] -> m VideoCropMeta

newZeroVideoCropMeta :: MonadIO m => m VideoCropMeta Source #

Construct a VideoCropMeta struct initialized to zero.

Methods

getInfo

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

No description available in the introspection data.

Properties

height

the cropped height

getVideoCropMetaHeight :: MonadIO m => VideoCropMeta -> m Word32 Source #

Get the value of the “height” field. When overloading is enabled, this is equivalent to

get videoCropMeta #height

setVideoCropMetaHeight :: MonadIO m => VideoCropMeta -> Word32 -> m () Source #

Set the value of the “height” field. When overloading is enabled, this is equivalent to

set videoCropMeta [ #height := value ]

meta

parent Meta

getVideoCropMetaMeta :: MonadIO m => VideoCropMeta -> m Meta Source #

Get the value of the “meta” field. When overloading is enabled, this is equivalent to

get videoCropMeta #meta

width

the cropped width

getVideoCropMetaWidth :: MonadIO m => VideoCropMeta -> m Word32 Source #

Get the value of the “width” field. When overloading is enabled, this is equivalent to

get videoCropMeta #width

setVideoCropMetaWidth :: MonadIO m => VideoCropMeta -> Word32 -> m () Source #

Set the value of the “width” field. When overloading is enabled, this is equivalent to

set videoCropMeta [ #width := value ]

x

the horizontal offset

getVideoCropMetaX :: MonadIO m => VideoCropMeta -> m Word32 Source #

Get the value of the “x” field. When overloading is enabled, this is equivalent to

get videoCropMeta #x

setVideoCropMetaX :: MonadIO m => VideoCropMeta -> Word32 -> m () Source #

Set the value of the “x” field. When overloading is enabled, this is equivalent to

set videoCropMeta [ #x := value ]

y

the vertical offset

getVideoCropMetaY :: MonadIO m => VideoCropMeta -> m Word32 Source #

Get the value of the “y” field. When overloading is enabled, this is equivalent to

get videoCropMeta #y

setVideoCropMetaY :: MonadIO m => VideoCropMeta -> Word32 -> m () Source #

Set the value of the “y” field. When overloading is enabled, this is equivalent to

set videoCropMeta [ #y := value ]