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

GI.GstVideo.Structs.VideoRegionOfInterestMeta

Description

Extra buffer metadata describing an image region of interest

Synopsis

Exported types

Methods

Overloaded methods

addParam

videoRegionOfInterestMetaAddParam Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoRegionOfInterestMeta

meta: a VideoRegionOfInterestMeta

-> Structure

s: a Structure

-> m () 

Attach element-specific parameters to meta meant to be used by downstream elements which may handle this ROI. The name of s is used to identify the element these parameters are meant for.

This is typically used to tell encoders how they should encode this specific region. For example, a structure named "roi/x264enc" could be used to give the QP offsets this encoder should use when encoding the region described in meta. Multiple parameters can be defined for the same meta so different encoders can be supported by cross platform applications).

Since: 1.14

getInfo

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

No description available in the introspection data.

getParam

videoRegionOfInterestMetaGetParam Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoRegionOfInterestMeta

meta: a VideoRegionOfInterestMeta

-> Text

name: a name.

-> m (Maybe Structure)

Returns: a Structure

Retrieve the parameter for meta having name as structure name, or Nothing if there is none.

Since: 1.14

Properties

h

bounding box height

getVideoRegionOfInterestMetaH :: MonadIO m => VideoRegionOfInterestMeta -> m Word32 Source #

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

get videoRegionOfInterestMeta #h

setVideoRegionOfInterestMetaH :: MonadIO m => VideoRegionOfInterestMeta -> Word32 -> m () Source #

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

set videoRegionOfInterestMeta [ #h := value ]

id

identifier of this particular ROI

getVideoRegionOfInterestMetaId :: MonadIO m => VideoRegionOfInterestMeta -> m Int32 Source #

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

get videoRegionOfInterestMeta #id

setVideoRegionOfInterestMetaId :: MonadIO m => VideoRegionOfInterestMeta -> Int32 -> m () Source #

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

set videoRegionOfInterestMeta [ #id := value ]

meta

parent Meta

getVideoRegionOfInterestMetaMeta :: MonadIO m => VideoRegionOfInterestMeta -> m Meta Source #

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

get videoRegionOfInterestMeta #meta

params

list of Structure containing element-specific params for downstream, see gst_video_region_of_interest_meta_add_params(). (Since: 1.14)

clearVideoRegionOfInterestMetaParams :: MonadIO m => VideoRegionOfInterestMeta -> m () Source #

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

clear #params

getVideoRegionOfInterestMetaParams :: MonadIO m => VideoRegionOfInterestMeta -> m [Ptr ()] Source #

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

get videoRegionOfInterestMeta #params

setVideoRegionOfInterestMetaParams :: MonadIO m => VideoRegionOfInterestMeta -> Ptr (GList (Ptr ())) -> m () Source #

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

set videoRegionOfInterestMeta [ #params := value ]

parentId

identifier of its parent ROI, used f.i. for ROI hierarchisation.

getVideoRegionOfInterestMetaParentId :: MonadIO m => VideoRegionOfInterestMeta -> m Int32 Source #

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

get videoRegionOfInterestMeta #parentId

setVideoRegionOfInterestMetaParentId :: MonadIO m => VideoRegionOfInterestMeta -> Int32 -> m () Source #

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

set videoRegionOfInterestMeta [ #parentId := value ]

roiType

GQuark describing the semantic of the Roi (f.i. a face, a pedestrian)

getVideoRegionOfInterestMetaRoiType :: MonadIO m => VideoRegionOfInterestMeta -> m Word32 Source #

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

get videoRegionOfInterestMeta #roiType

setVideoRegionOfInterestMetaRoiType :: MonadIO m => VideoRegionOfInterestMeta -> Word32 -> m () Source #

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

set videoRegionOfInterestMeta [ #roiType := value ]

w

bounding box width

getVideoRegionOfInterestMetaW :: MonadIO m => VideoRegionOfInterestMeta -> m Word32 Source #

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

get videoRegionOfInterestMeta #w

setVideoRegionOfInterestMetaW :: MonadIO m => VideoRegionOfInterestMeta -> Word32 -> m () Source #

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

set videoRegionOfInterestMeta [ #w := value ]

x

x component of upper-left corner

getVideoRegionOfInterestMetaX :: MonadIO m => VideoRegionOfInterestMeta -> m Word32 Source #

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

get videoRegionOfInterestMeta #x

setVideoRegionOfInterestMetaX :: MonadIO m => VideoRegionOfInterestMeta -> Word32 -> m () Source #

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

set videoRegionOfInterestMeta [ #x := value ]

y

y component of upper-left corner

getVideoRegionOfInterestMetaY :: MonadIO m => VideoRegionOfInterestMeta -> m Word32 Source #

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

get videoRegionOfInterestMeta #y

setVideoRegionOfInterestMetaY :: MonadIO m => VideoRegionOfInterestMeta -> Word32 -> m () Source #

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

set videoRegionOfInterestMeta [ #y := value ]